MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* ==== Global Reset ==== */ | ||
* { | |||
margin: 0; | |||
padding: 0; | |||
box-sizing: border-box; | |||
} | |||
/* ==== Base Styling ==== */ | |||
body, | |||
#content, | |||
#bodyContent, | |||
.mw-body, | |||
.mw-body-content, | |||
#mw-content-text { | |||
background-color: #0e0e0e !important; | |||
color: #e0e0e0 !important; | |||
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |||
line-height: 1.6; | |||
font-size: 16px; | |||
} | |||
/* ==== Headings ==== */ | |||
h1, h2, h3, h4, h5, h6 { | |||
color: #ffffff !important; | |||
font-weight: 600; | |||
margin-bottom: 0.5rem; | |||
border-bottom: 1px solid #333; | |||
padding-bottom: 0.2rem; | |||
} | |||
/* ==== Links ==== */ | |||
a { | |||
color: #66ccff !important; /* Light blue */ | |||
text-decoration: underline; | |||
transition: color 0.2s ease-in-out; | |||
} | |||
a:hover { | |||
color: #99e0ff !important; /* Brighter on hover */ | |||
} | |||
/* ==== Sidebar ==== */ | |||
#mw-panel, | |||
.portal, | |||
.vector-menu-content, | |||
.vector-menu-content-list { | |||
background-color: #111 !important; | |||
color: #ddd !important; | |||
} |
Revision as of 20:07, 4 July 2025
/* CSS placed here will be applied to all skins */ /* ==== Global Reset ==== */ * { margin: 0; padding: 0; box-sizing: border-box; } /* ==== Base Styling ==== */ body, #content, #bodyContent, .mw-body, .mw-body-content, #mw-content-text { background-color: #0e0e0e !important; color: #e0e0e0 !important; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; font-size: 16px; } /* ==== Headings ==== */ h1, h2, h3, h4, h5, h6 { color: #ffffff !important; font-weight: 600; margin-bottom: 0.5rem; border-bottom: 1px solid #333; padding-bottom: 0.2rem; } /* ==== Links ==== */ a { color: #66ccff !important; /* Light blue */ text-decoration: underline; transition: color 0.2s ease-in-out; } a:hover { color: #99e0ff !important; /* Brighter on hover */ } /* ==== Sidebar ==== */ #mw-panel, .portal, .vector-menu-content, .vector-menu-content-list { background-color: #111 !important; color: #ddd !important; }