MediaWiki:Common.css

From Team Fortress Wiki
Revision as of 16:50, 1 July 2010 by JeffLane (talk | contribs) (added Joe)
Jump to: navigation, search

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.
/*
ATTENTION ADMINISTRATORS:
 
This is the CSS for all skins. Any major changes to this page should be first proposed and discussed.

Thank you.
*/
 
/* <pre><nowiki> */

pre {
   overflow: auto;
}

table.infobox {
   border:1px solid #80704C;
   background-color:#FDFAF8;
   margin:0.5em;
   -moz-border-radius: 3px;
}

table.infobox th {
   font-size:1.2em;
   background-color:#FFAA00;
}

table.infobox tr,td {
   margin:0em;
}

table.infobox .image {
   text-align: center;
}

table.infobox .caption {
   color: black;
}

table.infobox .borderless {
   border:0px;
}

/* wikitable/prettytable class for skinning normal tables */

table.wikitable,
table.prettytable {
  background: #FDFAF8;
  border: 1px #80704C solid;
  -moz-border-radius: 3px;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
   background-color:#FDFAF8;
   white-space:inherit;
}

table.wikitable th,
table.prettytable th {
  text-align: center;
  white-space:inherit;
}

table.wikitable caption,
table.prettytable caption {
  margin-left: inherit;
  margin-right: inherit;
  font-weight: bold;
}

table.wikitable .subheader {
   font-size:1.2em;
   color: black;
   background-color:#ffd580;
   text-align: left;
}

table.wikitable .header {
   font-size:1.2em;
   color: black;
   background-color:#FFAA00;
}

table.wikitable .border {
  border: 1px #80704C solid;
}

table.wikitable .borderless {
   border:0px;
}

table.wikitable .borderless td {
   border:0px;
}

table.wikitable .borderless th {
   border:0px;
}

table.prettytable code,
table.wikitable code {
  background-color: transparent;
}

.grid {
  border: 1px #80704C solid;
  border-collapse: collapse;
  padding:0.4em;
}

.grid th{
  border: 1px #80704C solid;
  padding:0.1em 0.8em;
  white-space:inherit;
}

.grid td{
  border: 1px #80704C solid;
  padding:0.1em 0.8em;
  white-space:inherit;
}

.nopad {
  border-collapse: collapse;
  padding-left: 0em;
  padding-right: 0em;
  border: 0;
}

.nopad th {
  padding-left: 0em;
  padding-right: 0em;
  border: 0;
}

.nopad td {
  padding-left: 0em;
  padding-right: 0em;
  border: 0;
}

.transparent {
   background-color:transparent;
}

.nowrap {
   white-space: no-wrap;
}

a:link {
   color: #3F56AD;
}

a:visited  {
   color: #75735F;
}

.border {
   border:1px solid #80704C;
   -moz-border-radius: 3px;
}

.rounded {
   -moz-border-radius: 3px;
}

.whitespaceborder {
   background-color:white;
   margin-bottom: 0.5em;
   margin-left: 0.5em;
}

.nomargin {
   margin:0px;
}

/* Default skin for navigation boxes */
table.navbox {            /* Navbox container style */
  border: 1px solid #80704C;
  background-color:#FDFAF8;
  -moz-border-radius: 3px;
  width: 100%; 
  margin: auto;
  clear: both;
  font-size: 88%;
  text-align: center;
  padding: 1px;
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
  margin-top: -1px;            /* (doesn't work for IE6, but that's okay)       */
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
  text-align: center;      /* Title and above/below styles */
  padding-left: 1em;
  padding-right: 1em;
}
.navbox-group {            /* Group style */
  white-space: nowrap;
  text-align: right;
  font-weight: bold;
  padding-left: 1em;
  padding-right: 1em;
}
.navbox, .navbox-subgroup {
  background: #FDFAF8;     /* Background color */
}
.navbox-list {
  border-color: #FDFAF8;   /* Must match background color */
}
.navbox-title,
table.navbox th {
  background: #FFAA00;     /* Level 1 color */
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
  background: #FFDD99;     /* Level 2 color */
}
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
  background: #FFEECC;     /* Level 3 color */
}
.navbox tr {
   background-color:#FDFAF8;  /* Sandard cell background */
}
.navbox-even {
  background: #FBF6EA;     /* Even row striping */
}
.navbox-odd {
  background: transparent; /* Odd row striping */
}
 
.collapseButton {          /* 'show'/'hide' buttons created dynamically */
    float: right;          /* by the CollapsibleTables javascript in    */
    font-weight: normal;   /* [[MediaWiki:Common.js]]are styled here    */
    text-align: right;     /* so they can be customised.                */
    width: auto;
}
.navbox .collapseButton {  /* In navboxes, the show/hide button balances */
    width: 6em;            /* the vde links from [[Template:Tnavbar]],   */
}                          /* so they need to be the same width.         */
 

/* ambox class for skinning ambox's */

table.ambox {
  background: #FDFAF8;
  -moz-border-radius: 3px;
}

.ambox-notice {
  border: 1px solid #1e90ff;
  background: #FDFAF8;
  -moz-border-radius: 3px;
}
.ambox-delete,.ambox-serious {
  border: 1px solid #b22222;     /* Red */
  background: #FDFAF8;
  -moz-border-radius: 3px;
}

.ambox-content {
  border: 1px solid #f28500;     /* Orange */
  background: #FDFAF8;
  -moz-border-radius: 3px;
}

.ambox-style {
  border: 1px solid #ffcc00;     /* Yellow */
  background: #FDFAF8;
  -moz-border-radius: 3px;
}

.ambox-noticeline {
   background-color: #1e90ff;
}
.ambox-deleteline,
.ambox-seriousline {
    background-color: #b22222;     /* Red */
}
.ambox-contentline {
    background-color: #f28500;     /* Orange */
}
.ambox-styleline {
    background-color: #ffcc00;     /* Yellow */
}

/* For positioning icons at top-right, used in Templates
   "Featured Article" */
div.topicon {
    position:absolute; 
    z-index:100; 
    top:10px;
    display: block !important;
}

/* common font settings */

.bold {
   font-weight:bold;
}
.large {
   font-size:110%;
}
.larger {
   font-size:1.2em;
}
.xlarge {
   font-size:150%;
}
.largest {
   font-size:180%;
}
.small {
   font-size:90%;
}
.smaller {
   font-size:80%;
}
.xsmall {
   font-size:75%;
}
.smallest {
   font-size:50%;
}

.divstyleorangesmoke {
    background-color:#FDFAF8;
	border:1px solid #80704C;
	-moz-border-radius: 3px;
	padding: 0.5em;
}

/* Main Page title removal fix */
body.page-Main_Page h1.firstHeading { display:none; }


/* Language template */
 
.LanguageLinks {
    margin-top: 0.5em;
}
 
.LanguageLinks table {
    clear: both;
    border: 1px solid #aaaaaa;
    border-collapse: collapse;
    padding: 0.2em;
    font-size: 85%;
    margin-top: 0.5em;
}
 
.LanguageLinks span {
    white-space: nowrap;
}

/* Bureaucrats */
a[class="mw-userlink"][title="User:Pilk"],
a[class="mw-userlink"][title="User:En Ex"],
a[class="mw-userlink"][title="User:Smashman"],
a[class="mw-userlink"][title="User:Wilsonator"] {
    color:#507D2A;
}

/* Administrators */
a[class="mw-userlink"][title="User:OluapPlayer"],
a[class="mw-userlink"][title="User:Infi^"],
a[class="mw-userlink"][title="User:G-Mang"],
a[class="mw-userlink"][title="User:Aurora101"] {
    color:#7EB6FF;
}

/* Other */
a[class="mw-userlink"][title="User:"] {
    color:#A50F79;
}

/* English Moderators */
a[class="mw-userlink"][title="User:Darkman 4"], 
a[class="mw-userlink"][title="User:Firestorm"],
a[class="mw-userlink"][title="User:Hackett"],
a[class="mw-userlink"][title="User:The Neotank"],
a[class="mw-userlink"][title="User:Vi3trice"],
a[class="mw-userlink"][title="User:WindPower"],
a[class="mw-userlink"][title="User:Shugo"],
a[class="mw-userlink"][title="User:Markd"],
a[class="mw-userlink"][title="User:Shine"] {
    color:#7D26CD;
}

/* Localisation Staff */
/* Language */
a[class="mw-userlink"][title="User:DaimoN"] {
    color:#FF8C00;
}

/* Localisation Editors */
/* Language */
a[class="mw-userlink"][title="User:Parseus"],
a[class="mw-userlink"][title="User:Banana Split"] {
    color:#5C3317;
}

/* Bots */
a[class="mw-userlink"][title="User:PilkBOT"],
a[class="mw-userlink"][title="User:SmashBOT"] {
    color:#FE48AA;
}
 
/* Valve */
a[class="mw-userlink"][title="User:Bryn"],
a[class="mw-userlink"][title="User:JeffLane"],
a[class="mw-userlink"][title="User:Joe"],
a[class="mw-userlink"][title="User:RobinWalker"], {
    font-weight: bold !important;
    background-color: #DFDFDF !important;
    margin: 0 2px 0 2px;
    padding: 0 3px 0 2px;
}

/* Edit notices */
.enmain {
    background-color: #FFFAF5;
    border: 1px solid #F2E0CE;
}
.entalk {
    background-color: #F2E0CE;
    border: 1px solid #BFB1A3;
}
.enuser {
    background-color: #FFFFF5;
    border: 1px solid #F2F2CE;
}
.enuser_talk {
    background-color: #F2F2CE;
    border: 1px solid #BFBFA3;
}
.enteam_fortress_wiki {
    background-color: #F7FFF5;
    border: 1px solid #D4F2CE;
}
.enteam_fortress_wiki_talk {
    background-color: #D4F2CE;
    border: 1px solid #A7BFA3;
}
.enfile {
    background-color: #F5FFFC;
    border: 1px solid #CEF2E6;
}
.enfile_talk {
    background-color: #CEF2E6;
    border: 1px solid #A7BFA3;
}
.enmediawiki {
    background-color: #FFFFFF;
    border: 1px solid #F2F2F2;
}
.enmediawiki_talk {
    background-color: #F2F2F2;
    border: 1px solid #BFBFBF;
}
.entemplate {
    background-color: #F5FAFF;
    border: 1px solid #CEE0F2;
}
.entemplate_talk {
    background-color: #CEE0F2;
    border: 1px solid #A3B1BF;
}
.enhelp {
    background-color: #FAF5FF;
    border: 1px solid #E0CEF2;
}
.enhelp_talk {
    background-color: #E0CEF2;
    border: 1px solid #B1A3BF;
}
.encategory {
    background-color: #FFF5FD;
    border: 1px solid #F2CEEC;
}
.encategory_talk {
    background-color: #F2CEEC;
    border: 1px solid #BFA3BA;
}
.enerror {
    background-color: #FFDBDB;
    border: 1px solid #BB7070;
}
.eninfo {
    background-color: #E6F2FF;
    border: 1px solid #B8C7D9;
}

/** </nowiki></pre> */