MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Gridcaster (talk | contribs) No edit summary |
Gridcaster (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap'); | ||
/*───────────────────────────────────────────────────────── | /* ───────────────────────────────────────────────────────── | ||
Base & Background | |||
─────────────────────────────────────────────────────────*/ | ───────────────────────────────────────────────────────── */ | ||
html, body { | html, body { | ||
margin: 0; padding: 0; | margin: 0; padding: 0; | ||
Line 12: | Line 12: | ||
} | } | ||
/*───────────────────────────────────────────────────────── | /* ───────────────────────────────────────────────────────── | ||
Header Bar Colors | |||
───────────────────────────────────────────────────────── | ───────────────────────────────────────────────────────── */ | ||
#mw-head { | #mw-head { | ||
background: #4B0082 !important; | |||
background: #4B0082; | border-bottom: 3px solid #F28C28 !important; | ||
border-bottom: 3px solid #F28C28 | |||
} | } | ||
/* | /* Style each portlet in the header (namespaces/tabs, search, personal) */ | ||
#p-namespaces, #p-cactions | #p-namespaces .body, | ||
#p-cactions .body, | |||
#p-search .body, | |||
#p-personal .body { | |||
#p- | background: rgba(255,255,255,0.9) !important; | ||
background: | |||
border-radius: 4px !important; | border-radius: 4px !important; | ||
padding: 0 !important; | padding: 0.2em 0.6em !important; | ||
margin: 0.5em !important; | |||
} | } | ||
/* Link colors in those header boxes */ | |||
#p-namespaces a, | |||
#p-cactions a { | |||
#p-namespaces a, #p-cactions a { | |||
color: #229C88 !important; | color: #229C88 !important; | ||
} | } | ||
#p-namespaces .selected a, | #p-namespaces .selected a, | ||
#p-cactions .selected a { | #p-cactions .selected a { | ||
background: #E0D6F9 !important; | background: #E0D6F9 !important; | ||
color: #4B0082 !important; | |||
} | |||
#p-search input, | |||
#p-search button, | |||
#p-personal a { | |||
color: #4B0082 !important; | color: #4B0082 !important; | ||
} | } | ||
/* | /* ───────────────────────────────────────────────────────── | ||
# | Sidebar & Content Skinning Only | ||
───────────────────────────────────────────────────────── */ | |||
#mw-panel { | |||
background: rgba(255,255,255,0.95) !important; | |||
border-radius: 8px !important; | |||
padding: 1em !important; | |||
} | } | ||
# | #content { | ||
background: rgba(255,255,255,0. | background: rgba(255,255,255,0.95) !important; | ||
border-radius: | border-radius: 8px !important; | ||
padding: | padding: 2em !important; | ||
} | } | ||
/* | /* ───────────────────────────────────────────────────────── | ||
Headings & Links | |||
───────────────────────────────────────────────────────── */ | |||
h1, h2, h3, h4 { | |||
color: #C0392B !important; | |||
} | } | ||
a { | |||
color: #229C88 !important; | |||
color: # | |||
} | } | ||
a:hover { | |||
color: # | color: #D645B1 !important; | ||
} | } | ||
/* | /* ───────────────────────────────────────────────────────── | ||
Tables | |||
───────────────────────────────────────────────────────── */ | |||
table.wikitable caption { | |||
background: #4B0082 !important; | |||
color: #fff !important; | |||
} | } | ||
table.wikitable th { | |||
background: #E0D6F9 !important; | |||
background: | |||
} | } | ||
/* ───────────────────────────────────────────────────────── | |||
Footer Bar | |||
───────────────────────────────────────────────────────── */ | |||
/*───────────────────────────────────────────────────────── | |||
─────────────────────────────────────────────────────────*/ | |||
#footer { | #footer { | ||
background: #4B0082 !important; | |||
background: #4B0082 | border-top: 2px solid #D645B1 !important; | ||
color: #eee !important; | |||
border-radius: 0 0 8px 8px !important; | |||
border-top: 2px solid #D645B1; | |||
border-radius: 0 0 8px 8px | |||
} | } | ||
#footer a { | #footer a { | ||
color: #ddd !important; | color: #ddd !important; | ||
} | } | ||
#footer a:hover { | #footer a:hover { | ||
color: #fff !important; | color: #fff !important; | ||
} | } |
Revision as of 15:14, 19 April 2025
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
/* ─────────────────────────────────────────────────────────
Base & Background
───────────────────────────────────────────────────────── */
html, body {
margin: 0; padding: 0;
font-family: 'Cinzel', Georgia, serif;
background: url('/images/wiki_background.png') center center fixed no-repeat;
background-size: cover;
color: #333;
}
/* ─────────────────────────────────────────────────────────
Header Bar Colors
───────────────────────────────────────────────────────── */
#mw-head {
background: #4B0082 !important;
border-bottom: 3px solid #F28C28 !important;
}
/* Style each portlet in the header (namespaces/tabs, search, personal) */
#p-namespaces .body,
#p-cactions .body,
#p-search .body,
#p-personal .body {
background: rgba(255,255,255,0.9) !important;
border-radius: 4px !important;
padding: 0.2em 0.6em !important;
margin: 0.5em !important;
}
/* Link colors in those header boxes */
#p-namespaces a,
#p-cactions a {
color: #229C88 !important;
}
#p-namespaces .selected a,
#p-cactions .selected a {
background: #E0D6F9 !important;
color: #4B0082 !important;
}
#p-search input,
#p-search button,
#p-personal a {
color: #4B0082 !important;
}
/* ─────────────────────────────────────────────────────────
Sidebar & Content Skinning Only
───────────────────────────────────────────────────────── */
#mw-panel {
background: rgba(255,255,255,0.95) !important;
border-radius: 8px !important;
padding: 1em !important;
}
#content {
background: rgba(255,255,255,0.95) !important;
border-radius: 8px !important;
padding: 2em !important;
}
/* ─────────────────────────────────────────────────────────
Headings & Links
───────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
color: #C0392B !important;
}
a {
color: #229C88 !important;
}
a:hover {
color: #D645B1 !important;
}
/* ─────────────────────────────────────────────────────────
Tables
───────────────────────────────────────────────────────── */
table.wikitable caption {
background: #4B0082 !important;
color: #fff !important;
}
table.wikitable th {
background: #E0D6F9 !important;
}
/* ─────────────────────────────────────────────────────────
Footer Bar
───────────────────────────────────────────────────────── */
#footer {
background: #4B0082 !important;
border-top: 2px solid #D645B1 !important;
color: #eee !important;
border-radius: 0 0 8px 8px !important;
}
#footer a {
color: #ddd !important;
}
#footer a:hover {
color: #fff !important;
}