MediaWiki:Common.css

From UO: Origins - Wiki
Revision as of 10:53, 12 May 2024 by Staff (talk | contribs) (Created page with "→‎* MediaWiki:Gadget-Blackskin.css ******* * Original by [[:it:Utente:Kormoran]] * Maintained by [[User:Dispenser]] for [[WP:WikiProject Accessibility]]: @media screen { →‎Selection highlight: ::selection { color: #FFA500; background: #500000; } →‎Color buttons, drop downs, and input boxes: fieldset { border-color: #500000; } legend { border: 1px solid #500000; } input[type="number"], input[type="text"], input:not([type]), select { background-...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Note: After publishing, 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: Press Ctrl-F5.
/** MediaWiki:Gadget-Blackskin.css *******
 * Original by [[:it:Utente:Kormoran]]
 * Maintained by [[User:Dispenser]] for [[WP:WikiProject Accessibility]]
 */
@media screen {
/* Selection highlight */
::selection      { color: #FFA500; background: #500000; }
/* Color buttons, drop downs, and input boxes */
fieldset {
    border-color: #500000;
}
legend {
    border: 1px solid #500000;
}
input[type="number"],
input[type="text"],
input:not([type]),
select {
    background-color: #500000;
    border-color: #800000;
    color: #FFD700;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    cursor: pointer;
}
/* Color background */
body, div#globalWrapper {
    background-color: #000000;
    background-image: none;
    color: #FFD700;
}
#mw-page-base{
    background:none;
}
#content, .mw-body {
    background-color: #000000;
    color: #FFD700;
    border-color: #800000;
}
.ns-0 #content {
    background: #000000;
}

/* Color the links */
a { color: #FFA500; }
a:visited { color: #CD853F; }
a:active, a.new { color: #FF6347; }
a.interwiki, a.external { color: #FFA07A; }
a.interwiki:visited, a.external:visited { color: #FFA07A; }

/* Color user links */
.mw-body-content .external {
    background-image: none;
}

/* Headings */
h1, #bodyContent h1,
h2, #bodyContent h2,
h3, #bodyContent h3,
h4, #bodyContent h4,
h5, #bodyContent h5,
h6, #bodyContent h6 {
    color: #FFD700;
    border-color: #800000;
}

/* Color Table of Contents */
#toc, .toc, .mw-warning, .toccolours { 
    background-color: #402000; 
    border-color: #800000; 
}

/* Images */
.mw-body img {
    border: 2px solid #800000;
    background-color: #000000;
}

/* Color code snippets */
code { 
    background-color: #AA5500; 
    color: Black; 
    border-color: #AA5500;
}

/* Color code blocks */
pre, .mw-code {
    border-style: dashed;
    border-color: #AA5500;
    color: White;
    background-color: #402000;
}

/* Table background colors */
table { 
    background-color: #000000!important;
    color: #FFD700!important;
}
table th {
    background-color: #301800!important;
    color: #FFD700!important;
}
table td {
    background-color: #000000!important;
    color: #FFD700!important; 
}

/* Tabular tables */
table.wikitable {
  border-color: #500000 !important;
  color: #FFD700!important;
}
table.wikitable th, table.wikitable td {
  border-color: #500000 !important;
}
table.wikitable th {
  background-color: #301800!important;
}
table.wikitable td {
  background-color: #000000!important;
}

/* thumbnails */
div.thumb {
    margin-bottom: .5em;
    border-style: solid;
    border-color: #402000;
}
div.thumb div {
    border-width: 1px;
    border-style: solid;
    border-color: #402000;
    background-color: #500000;
}
div.thumb div a img {
    background-color:#603000;
}
div.thumb div a img:hover {
    background-color:#EEE;
}
div.thumb div div.thumbcaption {
    border: none;
    padding: .3em 0 .1em 0;
}

/* Color category box */
.catlinks {
    border-color:#800000;
    background-color:#000000;
    color: #FFD700;
}

/* Visual Editor */
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
    background-color: #301800;
    color: #FFD700;
}

/* Color main search box - Monobook */
input#searchInput { 
    color: #FFD700; 
    background: #000000; 
}

/* Color footer */
#footer {
    background-color: Black;
    color: #FFD700;
    border-color: #FFA500;
}

/* #################################
 *          Interface Pages
 * #################################
 */
.mw-ui-input:focus {
    border-color: orange;
    box-shadow: inset 0 0 0 1px orange;
}
.mw-notification { /* top right bubble */
    background-color:#500000;
    background-color:rgba(80, 0, 0, 0.93);
    border-color:#800000;
}