MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
/* ====================================================== | /* ====================================================== | ||
TREEVERSE DARK | TREEVERSE DARK ARTICLE LAYOUT | ||
====================================================== */ | ====================================================== */ | ||
/* | /* Page background (keeps artwork visible on sides) */ | ||
body { | body { | ||
background-color: #0b0b0b; | background-color: #0b0b0b; | ||
| Line 16: | Line 13: | ||
/* | /* Main article container */ | ||
.mw-parser-output { | .mw-parser-output { | ||
background: | background: #0f1115; | ||
color: #e6e6e6; | color: #e6e6e6; | ||
max-width: | max-width: 950px; | ||
margin: auto; | margin: auto; | ||
padding: | padding: 24px; | ||
border-radius: 10px; | |||
border | |||
} | } | ||
/* | /* Fix readability of headings */ | ||
.mw-parser-output h1, | .mw-parser-output h1, | ||
.mw-parser-output h2, | .mw-parser-output h2, | ||
| Line 74: | Line 30: | ||
.mw-parser-output h4 { | .mw-parser-output h4 { | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
/* | /* Improve paragraph readability */ | ||
.mw-parser-output p { | .mw-parser-output p { | ||
font-size: 1.05rem; | font-size: 1.05rem; | ||
| Line 89: | Line 40: | ||
/* | /* Links */ | ||
a { | |||
color: #7fd3ff; | |||
} | |||
a:visited { | |||
color: #c49cff; | |||
} | } | ||
/* | /* ========================= | ||
Tables | Tables | ||
========================= */ | |||
.wikitable { | .wikitable { | ||
background: # | background: #161a22; | ||
border: 1px solid # | border: 1px solid #2a2f38; | ||
border-radius: | border-radius: 8px; | ||
} | } | ||
.wikitable th { | .wikitable th { | ||
background: # | background: #1f2430; | ||
color: #ffffff; | color: #ffffff; | ||
} | } | ||
.wikitable td { | .wikitable td { | ||
background: # | background: #161a22; | ||
} | } | ||
/* | /* ========================= | ||
Infobox | Infobox | ||
========================= */ | |||
.infobox { | .infobox { | ||
background: # | background: #161a22; | ||
border: 1px solid # | border: 1px solid #2a2f38; | ||
border-radius: | border-radius: 8px; | ||
} | } | ||
.infobox th { | .infobox th { | ||
background: # | background: #1f2430; | ||
} | } | ||
. | |||
/* ========================= | |||
Images | |||
========================= */ | |||
.mw-parser-output img { | |||
max-width: 100%; | |||
height: auto; | |||
} | } | ||
/* | /* ========================= | ||
Code blocks | Code blocks | ||
========================= */ | |||
pre, | pre, | ||
| Line 150: | Line 104: | ||
color: #e6e6e6; | color: #e6e6e6; | ||
overflow-x: auto; | overflow-x: auto; | ||
} | } | ||
| Line 179: | Line 113: | ||
@media (max-width: 720px) { | @media (max-width: 720px) { | ||
.mw-parser-output { | .mw-parser-output { | ||
padding | padding: 16px; | ||
} | } | ||
/* | /* tables scroll on mobile instead of breaking */ | ||
.mw-parser-output table { | .mw-parser-output table { | ||
display: block; | display: block; | ||
overflow-x: auto; | overflow-x: auto; | ||
} | } | ||
.mw-parser-output table td, | .mw-parser-output table td, | ||
.mw-parser-output table th { | .mw-parser-output table th { | ||
| Line 198: | Line 128: | ||
} | } | ||
.infobox { | .infobox { | ||
float: none; | float: none; | ||
| Line 211: | Line 134: | ||
} | } | ||
} | } | ||