MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ─── FLAT | /* ─── FLAT BLACK THEME (NO LAYOUT SHIFT) ─── */ | ||
/* 1. Global base | /* 1. Global reset & base */ | ||
body, .mw-body, .mw-page-container, #content, #bodyContent { | * { | ||
background-color: # | margin: 0 !important; | ||
color: # | padding: 0 !important; | ||
border: none !important; | |||
background: none !important; | |||
box-shadow: none !important; | |||
box-sizing: border-box !important; | |||
} | |||
/* 2. Page background & text */ | |||
html, body, .mw-body, .mw-page-container, #content, #bodyContent { | |||
background-color: #000000 !important; | |||
color: #FFFFFF !important; | |||
font-family: Arial, sans-serif !important; | font-family: Arial, sans-serif !important; | ||
font-size: 15px !important; | |||
line-height: 1.6 !important; | |||
} | } | ||
/* | /* 3. Headings */ | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
color: # | color: #FFFFFF !important; | ||
border: none !important; | border: none !important; | ||
background: none !important; | |||
} | } | ||
/* | /* 4. Links in blue */ | ||
a, a:link, a:visited { | a, a:link, a:visited { | ||
color: # | color: #3399FF !important; | ||
text-decoration: none !important; | text-decoration: none !important; | ||
} | } | ||
a:hover { | a:hover { | ||
color: # | color: #66CCFF !important; | ||
text-decoration: underline !important; | text-decoration: underline !important; | ||
} | } | ||
/* | /* 5. Sidebar background */ | ||
#mw-panel { | #mw-panel, #p-navigation, #p-tb, .portal { | ||
background-color: # | background-color: #000000 !important; | ||
} | } | ||
/* 6. Sidebar headings & links */ | |||
#mw-panel .portal h3 { | #mw-panel .portal h3 { | ||
color: # | color: #3399FF !important; | ||
} | } | ||
#mw-panel .portal ul li a { | #mw-panel .portal ul li a { | ||
color: # | color: #FFFFFF !important; | ||
} | } | ||
/* | /* 7. Top action tabs (Read/Edit/History) */ | ||
.vector-menu-tabs, #p-views { | .vector-menu-tabs, #p-views { | ||
background-color: # | background-color: #000000 !important; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #000000 !important; | ||
} | } | ||
.vector-menu-tabs li a, #p-views li a { | .vector-menu-tabs li a, #p-views li a { | ||
color: # | color: #3399FF !important; | ||
background: transparent !important; | background: transparent !important; | ||
} | } | ||
.vector-menu-tabs li a:hover, #p-views li a:hover { | .vector-menu-tabs li a:hover, #p-views li a:hover { | ||
background: # | background-color: #000000 !important; | ||
color: # | color: #66CCFF !important; | ||
} | } | ||
/* | /* 8. Search box */ | ||
. | #searchInput, #searchButton, input, textarea, select, button { | ||
background: | background-color: #000000 !important; | ||
color: #FFFFFF !important; | |||
border: 1px solid #000000 !important; | |||
font-family: Arial, sans-serif !important; | |||
} | |||
/* 9. Tables, boxes, galleries */ | |||
table, th, td, .infobox, .navbox, .wikitable, | |||
.gallerybox, .gallery, .thumb, .thumbinner, .thumbcaption, | |||
.toc, .mw-parser-output .infobox, .metadata { | |||
background-color: #000000 !important; | |||
border: none !important; | border: none !important; | ||
box-shadow: none !important; | box-shadow: none !important; | ||
color: # | color: #FFFFFF !important; | ||
} | } | ||
/* | /* 10. Content container & wrapper */ | ||
.vector-body, .mw-page-container, #content, #bodyContent { | |||
background-color: # | background-color: #000000 !important; | ||
border: none !important; | |||
box-shadow: none !important; | |||
} | } | ||
/* | /* 11. Footer area */ | ||
#footer, #footer-info, #footer-icons { | #footer, #footer-info, #footer-icons { | ||
background: # | background-color: #000000 !important; | ||
color: # | color: #888888 !important; | ||
border: none !important; | |||
} | } | ||
#footer a { | #footer a { | ||
color: # | color: #3399FF !important; | ||
} | } | ||
#footer a:hover { | #footer a:hover { | ||
color: # | color: #66CCFF !important; | ||
} | } | ||
/* | /* 12. Hide default logos & icons */ | ||
#p-logo, .mw-wiki-logo, | #p-logo, .mw-wiki-logo, | ||
.mw-footer-logo, .printfooter, | .mw-footer-logo, .printfooter, | ||
.ccicons, .license, | .ccicons, .license, #footer-icons, .noprint { | ||
#footer-icons, .noprint { | |||
display: none !important; | display: none !important; | ||
} | } | ||
Revision as of 05:11, 2 July 2025
/* ─── FLAT BLACK THEME (NO LAYOUT SHIFT) ─── */
/* 1. Global reset & base */
* {
margin: 0 !important;
padding: 0 !important;
border: none !important;
background: none !important;
box-shadow: none !important;
box-sizing: border-box !important;
}
/* 2. Page background & text */
html, body, .mw-body, .mw-page-container, #content, #bodyContent {
background-color: #000000 !important;
color: #FFFFFF !important;
font-family: Arial, sans-serif !important;
font-size: 15px !important;
line-height: 1.6 !important;
}
/* 3. Headings */
h1, h2, h3, h4, h5, h6 {
color: #FFFFFF !important;
border: none !important;
background: none !important;
}
/* 4. Links in blue */
a, a:link, a:visited {
color: #3399FF !important;
text-decoration: none !important;
}
a:hover {
color: #66CCFF !important;
text-decoration: underline !important;
}
/* 5. Sidebar background */
#mw-panel, #p-navigation, #p-tb, .portal {
background-color: #000000 !important;
}
/* 6. Sidebar headings & links */
#mw-panel .portal h3 {
color: #3399FF !important;
}
#mw-panel .portal ul li a {
color: #FFFFFF !important;
}
/* 7. Top action tabs (Read/Edit/History) */
.vector-menu-tabs, #p-views {
background-color: #000000 !important;
border-bottom: 1px solid #000000 !important;
}
.vector-menu-tabs li a, #p-views li a {
color: #3399FF !important;
background: transparent !important;
}
.vector-menu-tabs li a:hover, #p-views li a:hover {
background-color: #000000 !important;
color: #66CCFF !important;
}
/* 8. Search box */
#searchInput, #searchButton, input, textarea, select, button {
background-color: #000000 !important;
color: #FFFFFF !important;
border: 1px solid #000000 !important;
font-family: Arial, sans-serif !important;
}
/* 9. Tables, boxes, galleries */
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .gallery, .thumb, .thumbinner, .thumbcaption,
.toc, .mw-parser-output .infobox, .metadata {
background-color: #000000 !important;
border: none !important;
box-shadow: none !important;
color: #FFFFFF !important;
}
/* 10. Content container & wrapper */
.vector-body, .mw-page-container, #content, #bodyContent {
background-color: #000000 !important;
border: none !important;
box-shadow: none !important;
}
/* 11. Footer area */
#footer, #footer-info, #footer-icons {
background-color: #000000 !important;
color: #888888 !important;
border: none !important;
}
#footer a {
color: #3399FF !important;
}
#footer a:hover {
color: #66CCFF !important;
}
/* 12. Hide default logos & icons */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license, #footer-icons, .noprint {
display: none !important;
}