MediaWiki:Common.css

From GearKnob Wiki
Revision as of 11:34, 8 November 2021 by AlexGRFan97 (talk | contribs) (Replaced with common.css from TGFW, seeing if this'll work.)
Jump to navigationJump to 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.
/* CSS placed here will be applied to all skins. See also: [[MediaWiki:Monobook.css]] and [[MediaWiki:Monaco.css]] */

@import "/load.php?articles=MediaWiki:Common.css|MediaWiki:Common.css/hilite.css&only=styles&mode=articles";

/* Poll autoformatting */
.ajax-poll {
    width: auto !important;  /*inline style override for poll extension*/
}

/* Default style for Main Page elements - override as necessary in individual skin CSS */

.maincomplete {
    width: 100%;
    border: 1px solid #ccc;
    text-align: center;
}

td.mainpage {
    border: 1px solid;
    padding: 5px;
}

div.mainpage {
    border: 1px solid;
    padding-left: 5px;
    line-height: 100%;
    text-align: center;
}

td#aotm {
    width: 70%;
    border-color: #cef2e0;
}

div#aotm {
    border-color: #f5fffa;
    background-color: #cef2e0;
}

td#fimg {
    width: 30%;
    border-color: #cef2e0;
}

div#fimg {
    border-color: #f5fffa;
    background-color: #cef2e0;
}

td#today {
    vertical-align: top;
    border-color: #ddcef2;
}

div#today {
    border-color: #faf5ff;
    background-color: #d8e9fc;
    margin-bottom: 5px;
}

div#rstoday {
    font-size: 85%; 
    margin-top: 5px;
}

div#cti {
    padding-bottom: 10px; 
    text-align: center; 
    font-size: 110%; 
    font-weight: bold;
}

div#onthisday {
    background: #e2e5fd; 
    text-align: center; 
    font-size: 110%; 
    font-weight: bold;
}

td#popular {
    text-align: left;
    vertical-align: top;
    border-color: #ddcef2;
}

div#popular {
    border-color: #faf5ff;
    background-color: #ddcef2;
    margin-bottom: 5px;
}

td#updates {
    border-color: #c6c9ff;
}

div#updates {
    border-color: #eeeeff;
    background-color: #c6c9ff;
}

td#news {
    border-color: #eee8aa;
}

div#news {
    border-color: #ffffe0;
    background-color: #ffddaa;
}

td#uotm {
    border-color: #ffe4e1;
}

div#uotm {
    border-color: #fff0f5;
    background-color: #ffcccc;
}

td#categories {
    width: 50%;
    border-color: #cccccc;
}

div#categories {
    border-color: #efefef;
    background-color: #cccccc;
}

/* Small reference list */
ol.references {
    font-size: 100%;
}
 
.references-small { 
    font-size: 90%;
}
 a
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
    font-size: 90%;
    -moz-column-count:2;
    column-count:2;
}

/* Messagebox templates */
 
.messagebox {
    border: 1px solid #aaa;
    background-color: #F9F9F9;
    width: 80%;
    margin: 0 auto 1em auto;
    padding: .2em;
}
.messagebox.merge {
    border: 1px solid #C0B8CC;
    background-color: #f0e5ff;
    text-align: center;
}
.messagebox.cleanup {
    border: 1px solid #9f9fff;
    background-color: #efefff;
    text-align: center;
}
.messagebox.standard-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
}
.messagebox.nested-talk {
    border: 1px solid #c0c090;
    background-color: #f8eaba;
    width: 100%;
    margin: 2px 4px 2px 4px;
}
.messagebox.small {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
}
.messagebox.small-talk {
    width: 238px;
    font-size: 85%;
    float: right;
    clear: both;
    margin: 0 0 1em 1em;
    line-height: 1.25em; 
    background: #F8EABA;
}

/* Standard Navigationsleisten, aka box hiding thingy from .de.  Documentation at [[Wikipedia:NavFrame]]. */

div.Boxmerge,
div.NavFrame {
    margin: 0px;
    padding: 4px;
    border: 1px solid #aaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
}
div.Boxmerge div.NavFrame {
    border-style: none;
    border-style: hidden;
}
div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
}
div.NavPic {
    background-color: #fff;
    margin: 0px;
    padding: 2px;
    float: left;
}
div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    background-color: #ccccff;
    position:relative;
}
div.NavFrame p {
    font-size: 100%;
}
div.NavFrame div.NavContent {
    font-size: 100%;
}
div.NavFrame div.NavContent p {
    font-size: 100%;
}
div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
}
a.NavToggle {
    position:absolute;
    top:0px;
    right:3px;
    font-weight:normal;
    font-size:smaller;
}

/* Light gray highlight on focus for search forms */
#p-search input:focus {
    background:#F9F9F9;
}

/* Colour the number of characters added/removed in the recent changes/ */
.mw-plusminus-pos {
    color: #006500;
}

.mw-plusminus-neg {
    color: #8B0000;
}

/* Display text below main article header, located at MediaWiki:tagline */
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}

/* Bold 'edit this page' link to encourage newcomers */
#ca-edit a {
    font-weight: bold !important;
}

/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a {
    color: #888;
    font-style: italic;
}
.watchlistredir a {
    color: #888;
    font-style: italic;
}
.nowraplinks a { white-space: nowrap; }

/* Make MediaWiki:Newarticletext appear */
.mw-newarticletext {
    display: block !important;
}