MediaWiki:Common.css

Revision as of 20:43, 26 November 2006 by Revanche (talk | contribs) (messagebox templates & checker background (per Xoid's request))

Note: 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.

/** CSS placed here will be applied to all skins */

a.topbar, a.topbar:link, a.topbar:active, a.topbar:visited, a.topbar:hover {
        font-family: Verdana, Tahoma;
        font-size: 11px;
        color:black;
        font-weight: bold;                                                                                                                                                        
 }

table.infobox {
        border:         1px solid #999999;
        margin:         10px;
        padding:        5px;
        float:          right;
        clear:          right;
        width:          250px;
        background:     white;
        border-collapse:collapse;
        line-height:    2em;
}
table.infobox tr {
        text-align:     center;
}
table.infobox tr td.infoboxname {
        text-align:     center;
        color:          black;
        background:     white;                                                                                                                                                    
        font-size:      larger;                                                                                                                                                   
}
table.infobox tr td.infoboxheading{
        text-align:     left;
        background:     #bdb;
}
table.infobox tr.infoboxrow {
        text-align:     left;                                                                                                                                                     
        spacing-top:    0px;
        spacing-bottom: 0px;
        vertical-align: middle;
        background:     #f0f0f0;
}
table.infobox tr td {   
        padding:        5px;
        background:     white;
}
table.infobox tr.infoboxrow td {
        border-top:     1px solid #999;
        border-bottom:  1px solid #999;                                                                                                                                           
        background:     #f0f0f0;
}

table.downloadbox {
        border:         1px solid #999999;
        margin:         10px;
        padding:        5px;
        float:          right;
        clear:          right;
        width:          250px;
        background:     white;
        border-collapse:collapse;
}
table.downloadbox tr {
        text-align:     left;                                                                                                                                                     
        spacing-top:    0px;
        spacing-bottom: 0px;
        vertical-align: middle;
        background:     #f0f0f0;
}
table.downloadbox tr td {   
        padding:        5px;
        border-top:     1px solid #999;
        border-bottom:  1px solid #999;                                                                                                                                           
        background:     #f0f0f0;
}
table.downloadbox tr td.downloadboxheading{
        background:     #bdb;
}

div.indent p { 
    text-indent: 1in; 
}

table.infobox tr.infoboxrow td.bot {

       border-bottom:  1px solid #999;
       border-top:     none;

} table.infobox tr.infoboxrow td.top {

       border-bottom:  none;
       border-top:     1px solid #999;

}
/* Messagebox templates */

.messagebox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   width: 80%;
   margin: 0 auto 1em auto;
   padding: .2em;
}

/* Put a checker background at the image description page only visible if the image has transparent background */

#file img {background: url("/images/5/5d/Checker-16x16.png") repeat;}

/* Puts a redirect indicator before redirects in Special:Allpages */
.allpagesredirect { font-style: italic; }
.allpagesredirect a { background: url("/images/5/5c/Allpagesredirect.gif") center left no-repeat; padding-left: 13px; }