MediaWiki:Common.css: Difference between revisions
Evobi admin (talk | contribs) No edit summary Tags: Manual revert Reverted |
Evobi admin (talk | contribs) No edit summary Tag: Reverted |
||
| Line 1: | Line 1: | ||
/* Force Vector theme styles on all users */ | |||
body { | |||
font-family: sans-serif; | |||
background-color: #f8f9fa; /* Light gray background */ | |||
color: #202122; | |||
margin: 0; | |||
} | |||
/* Main content styling */ | |||
#content, #mw-content-text { | |||
max-width: 960px; | |||
margin: auto; | |||
background: white; | |||
padding: 20px; | |||
line-height: 1.6; | |||
} | |||
/* Header (top bar) styling */ | |||
#mw-head, #p-personal { | |||
background-color: #ffffff; | |||
border-bottom: 1px solid #a2a9b1; | |||
padding: 5px; | |||
} | |||
/* Navigation sidebar */ | |||
#mw-panel { | |||
background: #f8f9fa; | |||
border-right: 1px solid #a2a9b1; | |||
padding: 10px; | |||
} | |||
/* Sidebar links */ | |||
#mw-panel a { | |||
color: #0645ad; | |||
font-weight: bold; | |||
text-decoration: none; | |||
} | |||
#mw-panel a:hover { | |||
text-decoration: underline; | |||
} | |||
/* Page title */ | |||
#firstHeading { | |||
font-size: 1.8em; | |||
font-weight: bold; | |||
color: #202122; | |||
} | |||
/* Footer */ | |||
#footer { | |||
background-color: #ffffff; | |||
color: #72777d; | |||
padding: 10px; | |||
border-top: 1px solid #a2a9b1; | |||
} | |||
/* Hide elements from other skins */ | |||
.skin-monobook #p-cactions, .skin-timeless .mw-wiki-logo { | |||
display: none; | |||
} | |||
/* Tabs styling (Edit, History, etc.) */ | |||
#p-cactions ul { | |||
background-color: #f8f9fa; | |||
border: 1px solid #a2a9b1; | |||
padding: 5px; | |||
border-radius: 4px; | |||
} | |||
/* Ensure Vector-like spacing */ | |||
.mw-body { | |||
padding: 20px; | |||
} | |||
/* Restore button appearance */ | |||
input, button { | |||
font-size: 14px; | |||
padding: 5px; | |||
border: 1px solid #a2a9b1; | |||
background-color: white; | |||
} | |||
Revision as of 16:31, 24 February 2025
/* Force Vector theme styles on all users */
body {
font-family: sans-serif;
background-color: #f8f9fa; /* Light gray background */
color: #202122;
margin: 0;
}
/* Main content styling */
#content, #mw-content-text {
max-width: 960px;
margin: auto;
background: white;
padding: 20px;
line-height: 1.6;
}
/* Header (top bar) styling */
#mw-head, #p-personal {
background-color: #ffffff;
border-bottom: 1px solid #a2a9b1;
padding: 5px;
}
/* Navigation sidebar */
#mw-panel {
background: #f8f9fa;
border-right: 1px solid #a2a9b1;
padding: 10px;
}
/* Sidebar links */
#mw-panel a {
color: #0645ad;
font-weight: bold;
text-decoration: none;
}
#mw-panel a:hover {
text-decoration: underline;
}
/* Page title */
#firstHeading {
font-size: 1.8em;
font-weight: bold;
color: #202122;
}
/* Footer */
#footer {
background-color: #ffffff;
color: #72777d;
padding: 10px;
border-top: 1px solid #a2a9b1;
}
/* Hide elements from other skins */
.skin-monobook #p-cactions, .skin-timeless .mw-wiki-logo {
display: none;
}
/* Tabs styling (Edit, History, etc.) */
#p-cactions ul {
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 5px;
border-radius: 4px;
}
/* Ensure Vector-like spacing */
.mw-body {
padding: 20px;
}
/* Restore button appearance */
input, button {
font-size: 14px;
padding: 5px;
border: 1px solid #a2a9b1;
background-color: white;
}