Difference between revisions of "MediaWiki:Common.css"
Jump to navigation
Jump to search
(Created page with "→CSS placed here will be applied to all skins: body { background-color: #0e0e0e; →this assumes that your wiki is installed at '/w' in the web root: ; colo...") |
|||
Line 6: | Line 6: | ||
/* this assumes that your wiki is installed at '/w' in the web root */; | /* this assumes that your wiki is installed at '/w' in the web root */; | ||
color: #ded7d7; | color: #ded7d7; | ||
+ | } | ||
+ | |||
+ | #mw-page-base { | ||
+ | background-image: none; | ||
+ | background-color: transparent; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { | ||
+ | background-image: none; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: 1px 100%; | ||
+ | } | ||
+ | bodyContent { background-color: #0e0e0e; } | ||
+ | firstHeading { background-color: #0e0e0e; color: #000000;} | ||
+ | mw-head-base { background-color: #0e0e0e; } | ||
+ | p-logo { background-color: #0e0e0e; } | ||
+ | p-tb { background-color: #0e0e0e; } | ||
+ | p-tb .body { background-color: #0e0e0e; } | ||
+ | footer { background-color: #0e0e0e; } | ||
+ | content { background-color: #0e0e0e; } | ||
+ | bodyContent { background-color: #0e0e0e; } | ||
+ | content h1 { color: #0e0e0e; } | ||
+ | element { color: #0e0e0e; } | ||
+ | .mw-body, .parsoid-body { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | direction: ltr; | ||
+ | padding: 1em; | ||
+ | } | ||
+ | |||
+ | pre, code, .mw-code { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | border: 1px solid #eaecf0; | ||
+ | } | ||
+ | |||
+ | .mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { | ||
+ | margin-bottom: 0.25em; | ||
+ | padding: 0; | ||
+ | color: #ded7d7; | ||
+ | font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif; | ||
+ | line-height: 1.375; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { | ||
+ | background-image: none; | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | background-repeat: no-repeat; | ||
+ | background-size: 1px 100%; | ||
+ | } | ||
+ | |||
+ | .wikitable { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | margin: 1em 0; | ||
+ | border: 1px solid #ded7d7; | ||
+ | border-collapse: collapse; | ||
+ | } | ||
+ | |||
+ | .wikitable > tr > th, .wikitable > * > tr > th { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | text-align: center; | ||
+ | } | ||
+ | |||
+ | .toc, .toccolours { | ||
+ | background-color: #0e0e0e; | ||
+ | border: 1px solid #a2a9b1; | ||
+ | padding: 5px; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | |||
+ | .catlinks { | ||
+ | background-color: #0e0e0e; | ||
+ | margin-top: 1em; | ||
+ | border: 1px solid #a2a9b1; | ||
+ | padding: 5px; | ||
+ | clear: both; | ||
+ | } | ||
+ | |||
+ | .ext-WikiEditor-realtimepreview-textbox#wpTextbox1, .mw-editform .ext-WikiEditor-realtimepreview-textbox#wpTextbox1 { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | resize: none; | ||
+ | height: 100%; | ||
+ | min-height: auto; | ||
+ | max-height: none; | ||
+ | } | ||
+ | |||
+ | .wikiEditor-ui-toolbar { | ||
+ | background-color: #808080; | ||
+ | color: #ded7d7; | ||
+ | box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.1); | ||
+ | } | ||
+ | |||
+ | .editOptions { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #ded7d7; | ||
+ | border: 1px solid #c8ccd1; | ||
+ | border-top: 0; | ||
+ | padding: 1em 1em 1.5em 1em; | ||
+ | margin-bottom: 2em; | ||
+ | } | ||
+ | |||
+ | a { | ||
+ | text-decoration: none; | ||
+ | color: #1390ef ; | ||
+ | background: none; | ||
+ | } | ||
+ | |||
+ | a:visited { | ||
+ | color: #2189ca; | ||
+ | } | ||
+ | |||
+ | a.new { | ||
+ | color: #ca2921; | ||
+ | } | ||
+ | |||
+ | a.new:visited { | ||
+ | color: #ca2921; | ||
+ | } | ||
+ | |||
+ | .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a { | ||
+ | color: #1390ef ; | ||
+ | } | ||
+ | |||
+ | |||
+ | |||
+ | .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited { | ||
+ | color: #2189ca; | ||
+ | } | ||
+ | |||
+ | .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:new { | ||
+ | color: #ca2921; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited { | ||
+ | color: #2189ca; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited { | ||
+ | color: #ca2921; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs-legacy li a { | ||
+ | color: #1390ef ; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs-legacy li a:new { | ||
+ | color: #ca2921; | ||
+ | } | ||
+ | |||
+ | .vector-menu-tabs-legacy li a:visited { | ||
+ | color: #2189ca; | ||
+ | } | ||
+ | |||
+ | .vector-menu-dropdown .mw-list-item a { | ||
+ | cursor: pointer; | ||
+ | display: block; | ||
+ | white-space: nowrap; | ||
+ | padding: 0.625em; | ||
+ | color: #1390ef ; | ||
+ | } | ||
+ | |||
+ | .vector-menu-dropdown .mw-list-item a:not(.vector-icon) { | ||
+ | background-color: #0e0e0e; | ||
+ | color: #1390ef ; | ||
+ | font-size: 0.8125em; | ||
+ | } | ||
+ | |||
+ | .vector-menu-dropdown .mw-list-item.selected a, .vector-menu-dropdown .mw-list-item.selected a:visited { | ||
+ | color: #2189ca; | ||
+ | text-decoration: none; | ||
+ | } | ||
+ | |||
+ | figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption { | ||
+ | color: #0e0e0e; | ||
+ | } | ||
+ | |||
+ | .mw-heading, h1, h2, h3, h4, h5, h6 { | ||
+ | color: #ded7d7; | ||
+ | font-weight: bold; | ||
+ | margin: 0; | ||
+ | padding-top: 0.5em; | ||
+ | padding-bottom: 0.17em; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | |||
+ | .mw-footer li { | ||
+ | color: #ded7d7; | ||
+ | margin: 0; | ||
+ | padding: 0.5em 0; | ||
+ | font-size: 0.75em; | ||
} | } |
Latest revision as of 16:22, 10 November 2024
/* CSS placed here will be applied to all skins */
body {
background-color: #0e0e0e;
/* this assumes that your wiki is installed at '/w' in the web root */;
color: #ded7d7;
}
#mw-page-base {
background-image: none;
background-color: transparent;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none;
background-repeat: no-repeat;
background-size: 1px 100%;
}
bodyContent { background-color: #0e0e0e; }
firstHeading { background-color: #0e0e0e; color: #000000;}
mw-head-base { background-color: #0e0e0e; }
p-logo { background-color: #0e0e0e; }
p-tb { background-color: #0e0e0e; }
p-tb .body { background-color: #0e0e0e; }
footer { background-color: #0e0e0e; }
content { background-color: #0e0e0e; }
bodyContent { background-color: #0e0e0e; }
content h1 { color: #0e0e0e; }
element { color: #0e0e0e; }
.mw-body, .parsoid-body {
background-color: #0e0e0e;
color: #ded7d7;
direction: ltr;
padding: 1em;
}
pre, code, .mw-code {
background-color: #0e0e0e;
color: #ded7d7;
border: 1px solid #eaecf0;
}
.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 {
margin-bottom: 0.25em;
padding: 0;
color: #ded7d7;
font-family: 'Linux Libertine', 'Georgia', 'Times', 'Source Serif Pro', serif;
line-height: 1.375;
}
.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none;
background-color: #0e0e0e;
color: #ded7d7;
background-repeat: no-repeat;
background-size: 1px 100%;
}
.wikitable {
background-color: #0e0e0e;
color: #ded7d7;
margin: 1em 0;
border: 1px solid #ded7d7;
border-collapse: collapse;
}
.wikitable > tr > th, .wikitable > * > tr > th {
background-color: #0e0e0e;
color: #ded7d7;
text-align: center;
}
.toc, .toccolours {
background-color: #0e0e0e;
border: 1px solid #a2a9b1;
padding: 5px;
font-size: 95%;
}
.catlinks {
background-color: #0e0e0e;
margin-top: 1em;
border: 1px solid #a2a9b1;
padding: 5px;
clear: both;
}
.ext-WikiEditor-realtimepreview-textbox#wpTextbox1, .mw-editform .ext-WikiEditor-realtimepreview-textbox#wpTextbox1 {
background-color: #0e0e0e;
color: #ded7d7;
resize: none;
height: 100%;
min-height: auto;
max-height: none;
}
.wikiEditor-ui-toolbar {
background-color: #808080;
color: #ded7d7;
box-shadow: 0 2px 1px 0 rgba(0, 0, 0, 0.1);
}
.editOptions {
background-color: #0e0e0e;
color: #ded7d7;
border: 1px solid #c8ccd1;
border-top: 0;
padding: 1em 1em 1.5em 1em;
margin-bottom: 2em;
}
a {
text-decoration: none;
color: #1390ef ;
background: none;
}
a:visited {
color: #2189ca;
}
a.new {
color: #ca2921;
}
a.new:visited {
color: #ca2921;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
color: #1390ef ;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
color: #2189ca;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:new {
color: #ca2921;
}
.vector-menu-tabs-legacy .selected a, .vector-menu-tabs-legacy .selected a:visited {
color: #2189ca;
text-decoration: none;
}
.vector-menu-tabs-legacy .new a, .vector-menu-tabs-legacy .new a:visited {
color: #ca2921;
}
.vector-menu-tabs-legacy li a {
color: #1390ef ;
}
.vector-menu-tabs-legacy li a:new {
color: #ca2921;
}
.vector-menu-tabs-legacy li a:visited {
color: #2189ca;
}
.vector-menu-dropdown .mw-list-item a {
cursor: pointer;
display: block;
white-space: nowrap;
padding: 0.625em;
color: #1390ef ;
}
.vector-menu-dropdown .mw-list-item a:not(.vector-icon) {
background-color: #0e0e0e;
color: #1390ef ;
font-size: 0.8125em;
}
.vector-menu-dropdown .mw-list-item.selected a, .vector-menu-dropdown .mw-list-item.selected a:visited {
color: #2189ca;
text-decoration: none;
}
figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
color: #0e0e0e;
}
.mw-heading, h1, h2, h3, h4, h5, h6 {
color: #ded7d7;
font-weight: bold;
margin: 0;
padding-top: 0.5em;
padding-bottom: 0.17em;
overflow: hidden;
}
.mw-footer li {
color: #ded7d7;
margin: 0;
padding: 0.5em 0;
font-size: 0.75em;
}