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'); | ||
body { | |||
/* —————————————————————————————————————————— | |||
Base & Background | |||
—————————————————————————————————————————— */ | |||
html, body { | |||
font-family: 'Cinzel', Georgia, serif; | |||
background: url('/images/wiki_background.png') center center fixed no-repeat; | |||
background-size: cover; | |||
color: #eee; | |||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
#mw-head, # | Header (top bar) | ||
—————————————————————————————————————————— */ | |||
#mw-head { | |||
background: #4B0082; | |||
border-bottom: 3px solid #F28C28; | |||
padding: 0.5em 2em; | |||
} | |||
#p-personal, #p-search { /* user links & search */ | |||
background: rgba(255,255,255,0.9); | |||
border-radius: 6px; | |||
padding: 0.4em 0.8em; | |||
margin: 0.5em; | |||
} | |||
#p-personal a, #p-search a { | |||
color: #4B0082 !important; | |||
text-decoration: none; | |||
} | |||
#p-personal a:hover, #p-search a:hover { | |||
color: #E67E22 !important; | |||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
Sidebar | |||
—————————————————————————————————————————— */ | |||
#mw-panel { | #mw-panel { | ||
background: rgba(255,255,255,0.9); | |||
border-radius: 10px; | |||
box-shadow: 0 2px 8px rgba(0,0,0,0.2); | |||
margin: 1em; | |||
padding: 1em; | |||
} | } | ||
/* add spacing between sidebar and content */ | |||
#mw- | #mw-body { | ||
display: flex; | |||
} | } | ||
#mw-content-text { | |||
#mw- | margin-left: 1em; | ||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
Content box | |||
—————————————————————————————————————————— */ | |||
#content { | #content { | ||
background: rgba(255,255,255,0.95); | |||
border-radius: 10px; | |||
padding: 2em; | |||
box-shadow: 0 2px 12px rgba(0,0,0,0.1); | |||
margin-bottom: 2em; | |||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
Headings & Links | |||
—————————————————————————————————————————— */ | |||
h1, h2, h3 { | |||
color: #C0392B; | |||
} | } | ||
a { | a { | ||
color: #229C88; | |||
} | } | ||
a:hover { | a:hover { | ||
color: #D645B1; | |||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
Tables | |||
—————————————————————————————————————————— */ | |||
table.wikitable { | table.wikitable { | ||
width: 100%; | |||
border-collapse: collapse; | |||
background: transparent; | |||
margin-bottom: 2em; | |||
} | } | ||
table.wikitable caption { | table.wikitable caption { | ||
background: #4B0082; | |||
color: #fff; | |||
padding: 0.5em; | |||
font-weight: bold; | |||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background: #E0D6F9; | |||
color: #222; | |||
border: 1px solid #ccc; | |||
padding: 0.6em; | |||
} | } | ||
table.wikitable td { | table.wikitable td { | ||
background: transparent; | |||
border: 1px solid #ccc; | |||
padding: 0.6em; | |||
} | } | ||
/* | /* —————————————————————————————————————————— | ||
Footer | |||
—————————————————————————————————————————— */ | |||
#footer { | |||
background: #4B0082; | |||
color: #ccc; | |||
padding: 1em; | |||
text-align: center; | |||
border-top: 2px solid #D645B1; | |||
} | } | ||
#footer a { | |||
color: #eee !important; | |||
} | } | ||
#footer a:hover { | |||
color: #fff !important; | |||
text-decoration: underline; | |||
} | } |
Revision as of 14:50, 19 April 2025
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap');
/* ——————————————————————————————————————————
Base & Background
—————————————————————————————————————————— */
html, body {
font-family: 'Cinzel', Georgia, serif;
background: url('/images/wiki_background.png') center center fixed no-repeat;
background-size: cover;
color: #eee;
}
/* ——————————————————————————————————————————
Header (top bar)
—————————————————————————————————————————— */
#mw-head {
background: #4B0082;
border-bottom: 3px solid #F28C28;
padding: 0.5em 2em;
}
#p-personal, #p-search { /* user links & search */
background: rgba(255,255,255,0.9);
border-radius: 6px;
padding: 0.4em 0.8em;
margin: 0.5em;
}
#p-personal a, #p-search a {
color: #4B0082 !important;
text-decoration: none;
}
#p-personal a:hover, #p-search a:hover {
color: #E67E22 !important;
}
/* ——————————————————————————————————————————
Sidebar
—————————————————————————————————————————— */
#mw-panel {
background: rgba(255,255,255,0.9);
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.2);
margin: 1em;
padding: 1em;
}
/* add spacing between sidebar and content */
#mw-body {
display: flex;
}
#mw-content-text {
margin-left: 1em;
}
/* ——————————————————————————————————————————
Content box
—————————————————————————————————————————— */
#content {
background: rgba(255,255,255,0.95);
border-radius: 10px;
padding: 2em;
box-shadow: 0 2px 12px rgba(0,0,0,0.1);
margin-bottom: 2em;
}
/* ——————————————————————————————————————————
Headings & Links
—————————————————————————————————————————— */
h1, h2, h3 {
color: #C0392B;
}
a {
color: #229C88;
}
a:hover {
color: #D645B1;
}
/* ——————————————————————————————————————————
Tables
—————————————————————————————————————————— */
table.wikitable {
width: 100%;
border-collapse: collapse;
background: transparent;
margin-bottom: 2em;
}
table.wikitable caption {
background: #4B0082;
color: #fff;
padding: 0.5em;
font-weight: bold;
}
table.wikitable th {
background: #E0D6F9;
color: #222;
border: 1px solid #ccc;
padding: 0.6em;
}
table.wikitable td {
background: transparent;
border: 1px solid #ccc;
padding: 0.6em;
}
/* ——————————————————————————————————————————
Footer
—————————————————————————————————————————— */
#footer {
background: #4B0082;
color: #ccc;
padding: 1em;
text-align: center;
border-top: 2px solid #D645B1;
}
#footer a {
color: #eee !important;
}
#footer a:hover {
color: #fff !important;
text-decoration: underline;
}