MediaWiki:Monobook.css
From Commandos Wiki
Jump to navigationJump to searchNote: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/***** Edit this file to customize the Monobook skin for the entire site. *****/
/* See also: [[MediaWiki:Common.css]] */
/*** Bold 'edit this page' link to encourage newcomers ***/
#ca-edit a {
font-weight: bold !important;
}
/* black skin begins */
/* infobox tweaks */
table.infobox tr th, table.infobox tr {
background-color: #000;
color: #fff;
}
/* Sitenotice */
#siteNotice {
padding-left: 4px;
font-style: italic;
font-weight: bold;
text-align: center;
color: #fff;
line-height: 85%;
}
/* Category links at the bottom of the page */
div#catlinks {
border: 1px solid #999;
background-color: #000;
color: inherit;
}
p.catlinks {
padding: 7px;
margin: 2px;
}
/* main content colors */
body {
background-image: none;
background-color: #3a3832;
}
div#bodyContent, div#content, div#footer {
background-color: #000;
color: #fff;
}
div#bodyContent {
background: none;
}
div#content {
background-color: #000;
}
div#globalWrapper {
background-image: none;
}
/* footer tweaks */
div#footer {
border-top: 1px solid #aaa;
border-bottom: 1px solid #aaa;
min-height: 39px;
z-index: 200;
}
div.pBody {
background-color: #000;
color: #fff;
}
#column-one {
padding-top: 155px !important;
}
/* Links and headers */
h1, h2, h3, h4, h5, h6 {
color: #fff;
}
a {
color: #999;
}
a:visited {
color: #888;
}
a:hover {
text-decoration: underline;
}
a.new {
color: #ff0000; /* red */
}
#bodyContent a.extiw, #bodyContent a.extiw:active {
color: #999;
}
#bodyContent a.extiw:visited {
color: #888;
}
#bodyContent a.external {
color: #999;
}
#bodyContent a.external:visited {
color: #888;
}
#bodyContent a.stub, #bodyContent a.stub:visited {
color: #ff5500;
}
h1 {
border-bottom: 1px solid #aaa;
}
#bodyContent a.extiw, #bodyContent a.extiw:active {
background: none;
padding: 0;
}
#bodyContent div.noicon a {
background: none;
padding: 0;
}
.selected {
background-color: #000;
color: #fff;
border-color: #ccc;
}
#p-cactions ul li a {
background-color: #000;
color: #fff;
}
#p-cactions ul li a:hover {
background-color: #000;
color: #808080; /* gray */
}
#p-cactions li.selected a {
background-color: #000 !important;
color: #ddd !important;
}
/* pre tag coloring */
pre {
background-color: transparent;
color: #fff;
border: none;
}
/* code tag coloring */
code {
background-color: transparent;
}
/* personal links area */
#p-personal {
background-color: transparent;
color: #999;
}
#p-personal a {
color: #999 !important;
background-color: transparent;
}
#p-personal a:hover {
background-color: transparent !important;
}
/* Special:Preferences */
#preferences {
background-color: transparent;
color: #fff;
}
#preferences legend {
background-color: transparent;
border: 1px solid #ccc;
font-weight: bold;
color: #fff;
}
#preferences table {
background-color: transparent;
color: #fff;
}
.prefsection table, .prefsection legend {
color: inherit;
background: inherit;
}
#preftoc li {
background-color: transparent;
border: 0;
}
#preftoc li a {
color: #999;
}
#preftoc li.selected {
border: 1px;
background-color: #2a2a2a;
}
/* Page histories & diff rendering */
#pagehistory li {
border: 1px solid #000;
}
#pagehistory li.selected {
background-color: #222;
border: 1px dashed #aaa;
}
#pagehistory li.selected span.comment,
#pagehistory li.selected .history-size,
#pagehistory li.selected .mw-history-histlinks {
color: #fff;
}
table.diff {
background: #222;
}
td.diff-otitle {
background: #282828;
}
td.diff-ntitle {
background: #282828;
}
td.diff-addedline {
font-size: smaller;
background-color: #000033;
}
td.diff-deletedline {
font-size: smaller;
background-color: #330000;
}
td.diff-context {
background: #282828;
color: #fff;
font-size: smaller;
}
.diff-addedline .diffchange,
.diff-deletedline .diffchange {
background: none;
}
/* Tables etc. */
th {
text-align: left;
color: #fff;
background-color: transparent;
font-size: 106.25%;
}
table.grey, table.wiki-sidebar, table.browser {
border: 1px inset #999;
background-color: #2a2a2a;
color: inherit;
}
table.grey td {
border: 1px outset #2a2a2a;
}
table.grey tr th, table.grey thead tr th {
color: inherit;
background-color: #660000;
border: 1px outset #660000;
text-align: left;
font-weight: bold;
}
td.odd {
background-color: #222;
border: 1px outset #222;
}
td.even {
border: 1px outset #000;
background-color: #000;
}
table.wiki-sidebar {
float: right;
margin-left: 5px;
width: 200px;
}
table.wiki-sidebar td {
line-height: 130%;
}
table.wiki-sidebar td.odd {
width: 35%;
font-weight: bold;
text-align: right;
}
table.browser {
width: 100%;
clear: both;
}
table.browser td {
text-align: center;
width: 33%;
background: #2a2a2a;
border: 1px outset #2a2a2a;
line-height: 130%;
}
table.browser td.topic {
background-color: #222;
border: 1px outset #222;
}
span.diffchange {
color: #ff0000; /* red */
}
tr[bgcolor] td {
color: #000;
}
#siteSub {
display: none;
}
#contentSub {
color: #aaa;
}
table.mainpage {
width: 100%;
background-color: #282828;
border: 1px inset #666;
}
table.mainpage tr td, table.mainpage tr th {
padding: 4px;
width: 33%;
}
table.mainpage tr th {
background: #660000;
text-align: center;
font-size: 1.2em;
}
caption {
color: #fff;
font-size: 1.2em;
text-decoration: underline;
}
div.header-notice, div.warning {
width: 85%;
margin: 1.0em auto 0.5em auto;
padding: 5px;
text-align: left;
border: 1px inset #999;
background-color: #2a2a2a;
color: #fff;
line-height: 120%;
}
div.warning {
color: #ff0000 !important; /* red */
font-weight: bold;
}
div.notice, div.usermessage {
width: 65%;
margin: 1.0em auto 0.5em auto;
padding: 5px;
text-align: center;
border-style: dashed;
border-width: 2px;
border-color: #ff0000; /* red */
background-color: #2a2a2a;
color: #fff;
line-height: 120%;
}
div.header-notice#fa {
width: auto;
font-size: inherit !important;
}
div.notice p,
div.header-notice p,
div.warning p {
line-height: 120% !important;
}
.floatright,
.floatright span,
.floatright a.image,
.floatleft,
.floatleft span,
.floatleft a.image {
background-color: transparent !important;
border-color: transparent !important;
}
.thumb, .tright, .tleft {
border: 1px inset #999 !important;
background-color: #2a2a2a !important;
}
div.thumb div a img {
border: none;
}
div.thumb div {
background-color: #2a2a2a !important;
}
table, td, tr {
background-color: transparent;
color: #fff;
}
td, th {
vertical-align: top;
}
div.fullImage {
text-align: center;
}
/* Table of Contents */
#toc {
background-color: #2a2a2a;
border: 1px inset #999;
}
#toc #toctitle {
background-color: transparent;
}
legend {
background-color: #2a2a2a;
border: 1px solid #2f6fab;
color: #fff;
}
fieldset {
background-color: #2a2a2a;
}
ol ol {
list-style-type: lower-latin;
}
ol ol ol {
list-style-type: lower-roman;
}
li#pt-userpage {
background-repeat: no-repeat;
background-color: transparent !important;
padding-left: 20px;
text-transform: none;
}
/* gallery coloring */
table.gallery {
border: none;
background-color: transparent;
}
table.gallery td {
background-color: transparent;
border: none;
}
div.gallerytext {
background-color: #222;
border: 1px outset #222;
}
div.gallerybox div.thumb {
border: none;
}
/* Special:SpecialPages */
h4.mw-specialpagesgroup {
background-color: #808080; /* gray */
}
/* TablePager fixes */
.TablePager th {
color: #000;
}
.TablePager tr:hover td {
background-color: transparent;
}
/* Hilighted CSS source code */
.source-css .kw1 {
color: #fff !important;
}
/* Fixes for Special:Interwiki */
body.page-Special_Interwiki table.mw-interwikitable.intro,
body.page-Special_Interwiki table.mw-interwikitable.body,
body.page-Special_Interwiki .TablePager td,
body.page-Special_Interwiki table,
body.page-Special_Interwiki td,
body.page-Special_Interwiki th {
color: #000 !important;
}
body.page-Special_Interwiki code {
background-color: #f9f9f9 !important;
}
/* Make login and signup pages readable */
div#userloginForm,
div#userloginForm form, /* login page */
div#userloginForm form table,
div#userloginForm .captcha,
/* signup page */
div#userlogin,
div#userlogin form#userlogin2,
div#userlogin .captcha,
div#userlogin form#userlogin2 table {
background-color: transparent;
}
abbr {
color: #fff;
}
/* ShoutWiki's NewsBox */
#p-ShoutWiki_messages h5 {
text-transform: none;
}
/* Make wikitables, including (but most certaily not limited to) the one used by Special:Version, readable */
table.wikitable,
table.wikitable > tr > th,
table.wikitable > tr > td,
table.wikitable > * > tr > th,
table.wikitable > * > tr > td,
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: transparent;
color: #fff;
}
/* "Table of contents" on File: pages */
ul#filetoc {
background-color: transparent;
}
/* History table on File: pages */
div#mw-imagepage-section-filehistory > table.filehistory {
background-color: transparent;
}
/* History table on File: pages, part 2 -- make table contents readable, black on black isn't readable w/o highlighting it */
div#mw-imagepage-section-filehistory > table td {
color: #fff;
}
/* The things on the edit page, below the actual page content (edit summary, copyright info, etc.) */
div.editOptions {
background-color: transparent;
color: #fff;
}
/* Make braces on SyntaxHighlighted pages (e.g. this very page, [[MediaWiki:Monobook.css]]) visible */
div.mw-highlight span.p {
color: #000;
}