/* __TEMPLATESTYLES__ */
/* ===== WAHAPEDIA DARK ANGELS STYLE ===== */
/* Import Roboto (Wahapedia's font) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
/* === BASE STYLES === */
body.darkangels-theme #content {
font-family: 'Roboto', sans-serif;
line-height: 1.5;
color: #333;
}
/* Headers */
body.darkangels-theme h1,
body.darkangels-theme h2,
body.darkangels-theme h3 {
color: #006341; /* Dark Angels green */
border-bottom: 1px solid #e0e0e0;
padding-bottom: 3px;
font-weight: 700;
}
/* === ARMY RULES SECTION === */
.darkangels-theme .army-rules-container {
display: flex;
flex-wrap: wrap;
gap: 15px;
margin: 20px 0;
}
.darkangels-theme .army-rule-box {
border: 1px solid #d0d0d0;
border-radius: 4px;
width: 100%;
max-width: 500px;
overflow: hidden;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
background: white;
}
.darkangels-theme .army-rule-header {
background-color: #006341; /* DA Green */
color: white;
padding: 8px 12px;
font-weight: 700;
font-size: 16px;
letter-spacing: 0.3px;
}
.darkangels-theme .army-rule-content {
padding: 12px;
font-size: 14px;
}
/* Keyword styling (like FACTION KEYWORD) */
.darkangels-theme .keyword {
font-weight: 700;
text-transform: uppercase;
color: #555;
}
/* === WAHAPEDIA-STYLE TABLES === */
.darkangels-theme .wikitable {
font-size: 13px;
border-collapse: collapse;
width: 100%;
margin: 15px 0;
}
.darkangels-theme .wikitable th {
background-color: #006341;
color: white;
font-weight: 500;
padding: 6px 10px;
text-align: left;
}
.darkangels-theme .wikitable td {
padding: 6px 10px;
border-bottom: 1px solid #e0e0e0;
}
.darkangels-theme .wikitable tr:nth-child(even) {
background-color: #f8f8f8;
}
/* === ABILITY ICONS === */
.darkangels-theme .ability-icon {
width: 20px;
height: 20px;
vertical-align: middle;
margin-right: 5px;
}
/* === COLLAPSIBLE SECTIONS === */
.darkangels-theme .mw-collapsible .army-rule-header {
cursor: pointer;
position: relative;
padding-right: 30px;
}
.darkangels-theme .mw-collapsible .army-rule-header:after {
content: "▼";
position: absolute;
right: 12px;
font-size: 12px;
transition: transform 0.2s;
}
.darkangels-theme .mw-collapsible.mw-collapsed .army-rule-header:after {
transform: rotate(-90deg);
}