User:Talonsin/darkangels-styles.css: Difference between revisions
From Eternum McEdition
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* __TEMPLATESTYLES__ */ | /* __TEMPLATESTYLES__ */ | ||
/* DARK THEME OVERRIDES */ | /* DARK ANGELS THEME - FULL FIX FOR MCE WIKI */ | ||
/* ===== GLOBAL OVERRIDES ===== */ | |||
.darkangels-theme, | .darkangels-theme, | ||
.darkangels-theme body, | .darkangels-theme body, | ||
.darkangels-theme #content, | .darkangels-theme #content, | ||
.darkangels-theme .mw-body { | .darkangels-theme .mw-body, | ||
.darkangels-theme #bodyContent { | |||
background: white !important; | background: white !important; | ||
color: #333 !important; | color: #333 !important; | ||
filter: none !important; | |||
} | } | ||
/* | /* Fix content width */ | ||
.darkangels-theme | .darkangels-theme #bodyContent { | ||
max-width: 1000px; | |||
margin: 0 auto; | |||
padding: 20px; | |||
} | } | ||
/* | /* ===== TYPOGRAPHY ===== */ | ||
.darkangels-theme | .darkangels-theme { | ||
font-family: | font-family: 'Segoe UI', Roboto, sans-serif; | ||
line-height: 1. | line-height: 1.6; | ||
} | } | ||
.darkangels-theme h1, | .darkangels-theme h1, | ||
.darkangels-theme h2, | .darkangels-theme h2, | ||
.darkangels-theme h3 { | .darkangels-theme h3 { | ||
color: #006341 !important; | color: #006341 !important; | ||
border-bottom: | border-bottom: 2px solid #e0e0e0; | ||
padding-bottom: | padding-bottom: 5px; | ||
font-weight: 700; | font-weight: 700; | ||
} | } | ||
/* | /* ===== ARMY RULES ===== */ | ||
.darkangels-theme .army-rules-container { | .darkangels-theme .army-rules-container { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 20px; | ||
margin: | margin: 25px 0; | ||
} | } | ||
.darkangels-theme .army-rule-box { | .darkangels-theme .army-rule-box { | ||
border: 1px solid #d0d0d0; | border: 1px solid #d0d0d0; | ||
border-radius: | border-radius: 5px; | ||
width: 100%; | width: 100%; | ||
max-width: 500px; | max-width: 500px; | ||
background: white; | background: white; | ||
overflow: hidden; | |||
} | } | ||
.darkangels-theme .army-rule-header { | .darkangels-theme .army-rule-header { | ||
background-color: #006341 !important; | background-color: #006341 !important; | ||
color: white !important; | color: white !important; | ||
padding: | padding: 10px 15px; | ||
font-weight: 700; | font-weight: 700; | ||
font-size: 16px; | font-size: 16px; | ||
filter: none !important; | |||
} | } | ||
.darkangels-theme .army-rule-content { | .darkangels-theme .army-rule-content { | ||
padding: | padding: 15px; | ||
font-size: 14px; | font-size: 14px; | ||
line-height: 1.5; | |||
} | } | ||
/* | /* ===== KEYWORDS ===== */ | ||
.darkangels-theme .keyword { | .darkangels-theme .keyword { | ||
font-weight: 700; | font-weight: 700; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
color: #555 !important; | color: #555 !important; | ||
letter-spacing: 0.5px; | |||
} | } | ||
/* | /* ===== TABLES ===== */ | ||
.darkangels-theme .wikitable { | .darkangels-theme .wikitable { | ||
width: 100%; | |||
margin: 20px 0; | |||
border-collapse: collapse; | |||
font-size: 13px; | font-size: 13px; | ||
background: white !important; | background: white !important; | ||
} | } | ||
.darkangels-theme .wikitable th { | .darkangels-theme .wikitable th { | ||
background-color: #006341 !important; | background-color: #006341 !important; | ||
color: white !important; | color: white !important; | ||
padding: | padding: 8px 12px; | ||
text-align: left; | |||
filter: none !important; | |||
} | } | ||
.darkangels-theme .wikitable td { | .darkangels-theme .wikitable td { | ||
padding: | padding: 8px 12px; | ||
border | border: 1px solid #e0e0e0; | ||
vertical-align: top; | |||
} | } | ||
.darkangels-theme .wikitable tr:nth-child(even) { | .darkangels-theme .wikitable tr:nth-child(even) { | ||
background-color: #f8f8f8 !important; | background-color: #f8f8f8 !important; | ||
} | |||
/* ===== SPECIAL CASES ===== */ | |||
/* Fix for dark theme links */ | |||
.darkangels-theme a { | |||
color: #006341 !important; | |||
text-decoration: underline; | |||
} | |||
/* Fix for code/pre blocks */ | |||
.darkangels-theme pre, | |||
.darkangels-theme code { | |||
background: #f5f5f5 !important; | |||
border: 1px solid #ddd !important; | |||
color: #333 !important; | |||
} | } | ||
Revision as of 19:57, 19 June 2025
/* __TEMPLATESTYLES__ */
/* DARK ANGELS THEME - FULL FIX FOR MCE WIKI */
/* ===== GLOBAL OVERRIDES ===== */
.darkangels-theme,
.darkangels-theme body,
.darkangels-theme #content,
.darkangels-theme .mw-body,
.darkangels-theme #bodyContent {
background: white !important;
color: #333 !important;
filter: none !important;
}
/* Fix content width */
.darkangels-theme #bodyContent {
max-width: 1000px;
margin: 0 auto;
padding: 20px;
}
/* ===== TYPOGRAPHY ===== */
.darkangels-theme {
font-family: 'Segoe UI', Roboto, sans-serif;
line-height: 1.6;
}
.darkangels-theme h1,
.darkangels-theme h2,
.darkangels-theme h3 {
color: #006341 !important;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 5px;
font-weight: 700;
}
/* ===== ARMY RULES ===== */
.darkangels-theme .army-rules-container {
display: flex;
flex-wrap: wrap;
gap: 20px;
margin: 25px 0;
}
.darkangels-theme .army-rule-box {
border: 1px solid #d0d0d0;
border-radius: 5px;
width: 100%;
max-width: 500px;
background: white;
overflow: hidden;
}
.darkangels-theme .army-rule-header {
background-color: #006341 !important;
color: white !important;
padding: 10px 15px;
font-weight: 700;
font-size: 16px;
filter: none !important;
}
.darkangels-theme .army-rule-content {
padding: 15px;
font-size: 14px;
line-height: 1.5;
}
/* ===== KEYWORDS ===== */
.darkangels-theme .keyword {
font-weight: 700;
text-transform: uppercase;
color: #555 !important;
letter-spacing: 0.5px;
}
/* ===== TABLES ===== */
.darkangels-theme .wikitable {
width: 100%;
margin: 20px 0;
border-collapse: collapse;
font-size: 13px;
background: white !important;
}
.darkangels-theme .wikitable th {
background-color: #006341 !important;
color: white !important;
padding: 8px 12px;
text-align: left;
filter: none !important;
}
.darkangels-theme .wikitable td {
padding: 8px 12px;
border: 1px solid #e0e0e0;
vertical-align: top;
}
.darkangels-theme .wikitable tr:nth-child(even) {
background-color: #f8f8f8 !important;
}
/* ===== SPECIAL CASES ===== */
/* Fix for dark theme links */
.darkangels-theme a {
color: #006341 !important;
text-decoration: underline;
}
/* Fix for code/pre blocks */
.darkangels-theme pre,
.darkangels-theme code {
background: #f5f5f5 !important;
border: 1px solid #ddd !important;
color: #333 !important;
}