MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
/* === | /* === Global Reset === */ | ||
* { | |||
box-shadow: none !important; | |||
border: none !important; | |||
border-radius: 0 !important; | |||
} | |||
/* === General Layout === */ | |||
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th { | body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th { | ||
background-color: #121212 !important; | background-color: #121212 !important; | ||
| Line 5: | Line 12: | ||
font-family: Arial, sans-serif !important; | font-family: Arial, sans-serif !important; | ||
font-size: 15px; | font-size: 15px; | ||
} | } | ||
/* === | /* === Space for header (top margin) === */ | ||
body { | |||
color: | padding-top: 20px !important; | ||
} | |||
/* === Sidebar (full height, flat black) === */ | |||
#mw-panel { | |||
background-color: #000000 !important; | |||
position: fixed !important; | |||
top: 0; | |||
bottom: 0; | |||
left: 0; | |||
width: 160px; | |||
overflow-y: auto; | |||
padding-top: 60px; | |||
} | } | ||
#mw-head, #p-personal { | |||
margin-left: 160px !important; | |||
} | } | ||
.mw-body { | |||
margin-left: 170px !important; | |||
} | } | ||
/* === | /* === Sidebar section headers === */ | ||
.portal h3 { | |||
color: #bbbbbb !important; | |||
border-bottom: 1px solid #222 !important; | |||
margin-bottom: 6px; | |||
font-weight: 500; | |||
} | } | ||
/* === | /* === Tabs (Read / Edit / History etc.) === */ | ||
.vector-menu-tabs li a { | .vector-menu-tabs li a { | ||
background-color: #1e1e1e !important; | background-color: #1e1e1e !important; | ||
| Line 50: | Line 59: | ||
} | } | ||
/* === | /* === Headings === */ | ||
h1, h2, h3, h4, h5, h6 { | |||
color: #ffffff !important; | |||
font-weight: 600; | |||
border-bottom: 1px solid #1a1a1a !important; | |||
padding-bottom: 4px; | |||
} | |||
/* === Section underlines (Gallery, References etc.) === */ | |||
#toc, .mw-headline, .gallerybox, .references, .navbox { | |||
border-bottom: 0 !important; | |||
} | |||
/* === Forms and Inputs === */ | |||
input, textarea, select, button { | input, textarea, select, button { | ||
background-color: #1e1e1e !important; | background-color: #1e1e1e !important; | ||
color: #ffffff !important; | color: #ffffff !important; | ||
border: 1px solid #444 !important; | border: 1px solid #444 !important; | ||
padding: 6px 8px !important; | padding: 6px 8px !important; | ||
} | } | ||
/* === | /* === Links === */ | ||
a, a:link, a:visited { | |||
color: rgb(0, 122, 255) !important; | |||
text-decoration: none !important; | |||
color: | |||
} | } | ||
a:hover { | |||
color: #66bfff !important; | |||
text-decoration: underline !important; | |||
color: # | |||
} | } | ||
/* === | /* === Footer and Logos – Hide all === */ | ||
# | #footer, #footer-info, #footer-icons, .mw-footer-logo, .printfooter, #p-logo, .mw-wiki-logo, .ccicons, .license { | ||
#footer-icons | |||
# | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* === | /* === Gallery styling === */ | ||
.gallerybox { | |||
background-color: | background-color: transparent !important; | ||
border: none !important; | border: none !important; | ||
} | } | ||
Revision as of 11:33, 1 July 2025
/* === Global Reset === */
* {
box-shadow: none !important;
border: none !important;
border-radius: 0 !important;
}
/* === General Layout === */
body, .mw-body, .mw-page-container, #content, #mw-content-text, div, p, li, td, th {
background-color: #121212 !important;
color: #ffffff !important;
font-family: Arial, sans-serif !important;
font-size: 15px;
}
/* === Space for header (top margin) === */
body {
padding-top: 20px !important;
}
/* === Sidebar (full height, flat black) === */
#mw-panel {
background-color: #000000 !important;
position: fixed !important;
top: 0;
bottom: 0;
left: 0;
width: 160px;
overflow-y: auto;
padding-top: 60px;
}
#mw-head, #p-personal {
margin-left: 160px !important;
}
.mw-body {
margin-left: 170px !important;
}
/* === Sidebar section headers === */
.portal h3 {
color: #bbbbbb !important;
border-bottom: 1px solid #222 !important;
margin-bottom: 6px;
font-weight: 500;
}
/* === Tabs (Read / Edit / History etc.) === */
.vector-menu-tabs li a {
background-color: #1e1e1e !important;
color: rgb(0, 122, 255) !important;
border: 1px solid #2a2a2a !important;
border-bottom: none !important;
padding: 6px 10px !important;
}
.vector-menu-tabs li a:hover {
background-color: #2a2a2a !important;
}
/* === Headings === */
h1, h2, h3, h4, h5, h6 {
color: #ffffff !important;
font-weight: 600;
border-bottom: 1px solid #1a1a1a !important;
padding-bottom: 4px;
}
/* === Section underlines (Gallery, References etc.) === */
#toc, .mw-headline, .gallerybox, .references, .navbox {
border-bottom: 0 !important;
}
/* === Forms and Inputs === */
input, textarea, select, button {
background-color: #1e1e1e !important;
color: #ffffff !important;
border: 1px solid #444 !important;
padding: 6px 8px !important;
}
/* === Links === */
a, a:link, a:visited {
color: rgb(0, 122, 255) !important;
text-decoration: none !important;
}
a:hover {
color: #66bfff !important;
text-decoration: underline !important;
}
/* === Footer and Logos – Hide all === */
#footer, #footer-info, #footer-icons, .mw-footer-logo, .printfooter, #p-logo, .mw-wiki-logo, .ccicons, .license {
display: none !important;
}
/* === Gallery styling === */
.gallerybox {
background-color: transparent !important;
border: none !important;
}