MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Blanked the page Tags: Blanking Manual revert |
No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* ─── Finalized Flat Dark Theme (Stable Layout) ─── */ | |||
/* 1) General background and text */ | |||
body, .mw-body, .mw-page-container { | |||
background-color: #111 !important; | |||
color: #eaeaea !important; | |||
font-family: Arial, sans-serif !important; | |||
} | |||
/* 2) Link colors: standard blue only */ | |||
a, a:link, a:visited { | |||
color: #3399ff !important; | |||
text-decoration: none !important; | |||
} | |||
a:hover { | |||
color: #66ccff !important; | |||
text-decoration: underline !important; | |||
} | |||
/* 3) Sidebar */ | |||
#mw-panel { | |||
background-color: #181818 !important; | |||
} | |||
#mw-panel .portal h3 { | |||
color: #3399ff !important; | |||
border-bottom: 1px solid #222 !important; | |||
} | |||
#mw-panel .portal ul li a { | |||
color: #eaeaea !important; | |||
} | |||
/* 4) Top tab bar */ | |||
.vector-menu-tabs, #p-views { | |||
background-color: #1a1a1a !important; | |||
border-bottom: 1px solid #222 !important; | |||
} | |||
.vector-menu-tabs li a, | |||
#p-views li a { | |||
color: #3399ff !important; | |||
} | |||
.vector-menu-tabs li a:hover, | |||
#p-views li a:hover { | |||
background-color: #222 !important; | |||
color: #66ccff !important; | |||
} | |||
/* 5) Page headings */ | |||
h1, h2, h3, h4, h5, h6 { | |||
color: #fff !important; | |||
border: none !important; | |||
} | |||
/* 6) Boxes, galleries, tables – remove or darken borders */ | |||
table, th, td, .infobox, .navbox, .wikitable, | |||
.gallerybox, .gallery, hr, .thumbinner { | |||
background: transparent !important; | |||
border: 1px solid #111 !important; /* instead of white */ | |||
color: #eaeaea !important; | |||
} | |||
/* Remove horizontal lines (HR) */ | |||
hr { | |||
border: none !important; | |||
height: 0 !important; | |||
} | |||
/* 7) Search form */ | |||
#searchInput { | |||
background: #222 !important; | |||
color: #fff !important; | |||
border: 1px solid #444 !important; | |||
} | |||
#searchButton { | |||
background: #333 !important; | |||
color: #fff !important; | |||
border: 1px solid #444 !important; | |||
} | |||
/* 8) Forms and inputs */ | |||
input, textarea, select, button { | |||
background-color: #1e1e1e !important; | |||
color: #fff !important; | |||
border: 1px solid #444 !important; | |||
font-family: Arial, sans-serif !important; | |||
} | |||
/* 9) Hide logos and powered-by */ | |||
#p-logo, .mw-wiki-logo, | |||
.mw-footer-logo, .printfooter, | |||
.ccicons, .license, | |||
#footer-icons, .noprint { | |||
display: none !important; | |||
} | |||
/* 10) Footer background fix */ | |||
#footer, #footer-info, #footer-icons { | |||
background: #111 !important; | |||
color: #aaa !important; | |||
} | |||
#footer a { | |||
color: #3399ff !important; | |||
} | |||
#footer a:hover { | |||
color: #66ccff !important; | |||
} | |||
Revision as of 20:36, 1 July 2025
/* ─── Finalized Flat Dark Theme (Stable Layout) ─── */
/* 1) General background and text */
body, .mw-body, .mw-page-container {
background-color: #111 !important;
color: #eaeaea !important;
font-family: Arial, sans-serif !important;
}
/* 2) Link colors: standard blue only */
a, a:link, a:visited {
color: #3399ff !important;
text-decoration: none !important;
}
a:hover {
color: #66ccff !important;
text-decoration: underline !important;
}
/* 3) Sidebar */
#mw-panel {
background-color: #181818 !important;
}
#mw-panel .portal h3 {
color: #3399ff !important;
border-bottom: 1px solid #222 !important;
}
#mw-panel .portal ul li a {
color: #eaeaea !important;
}
/* 4) Top tab bar */
.vector-menu-tabs, #p-views {
background-color: #1a1a1a !important;
border-bottom: 1px solid #222 !important;
}
.vector-menu-tabs li a,
#p-views li a {
color: #3399ff !important;
}
.vector-menu-tabs li a:hover,
#p-views li a:hover {
background-color: #222 !important;
color: #66ccff !important;
}
/* 5) Page headings */
h1, h2, h3, h4, h5, h6 {
color: #fff !important;
border: none !important;
}
/* 6) Boxes, galleries, tables – remove or darken borders */
table, th, td, .infobox, .navbox, .wikitable,
.gallerybox, .gallery, hr, .thumbinner {
background: transparent !important;
border: 1px solid #111 !important; /* instead of white */
color: #eaeaea !important;
}
/* Remove horizontal lines (HR) */
hr {
border: none !important;
height: 0 !important;
}
/* 7) Search form */
#searchInput {
background: #222 !important;
color: #fff !important;
border: 1px solid #444 !important;
}
#searchButton {
background: #333 !important;
color: #fff !important;
border: 1px solid #444 !important;
}
/* 8) Forms and inputs */
input, textarea, select, button {
background-color: #1e1e1e !important;
color: #fff !important;
border: 1px solid #444 !important;
font-family: Arial, sans-serif !important;
}
/* 9) Hide logos and powered-by */
#p-logo, .mw-wiki-logo,
.mw-footer-logo, .printfooter,
.ccicons, .license,
#footer-icons, .noprint {
display: none !important;
}
/* 10) Footer background fix */
#footer, #footer-info, #footer-icons {
background: #111 !important;
color: #aaa !important;
}
#footer a {
color: #3399ff !important;
}
#footer a:hover {
color: #66ccff !important;
}