MediaWiki:Monobook.css

From A KoL Wiki
Revision as of 02:00, 15 May 2009 by imported>Flargen (recipe table needs to be not quite so close to the section line, I think)

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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/*<pre>*/
/* For positioning icons at top-right */

div.topicon {
  position:absolute; 
  z-index:120; 
  top:20px;
  display: block !important;
}

/* Infobox template style */

.infobox {
   border: 1px solid #aaaaaa;
   background-color: #f9f9f9;
   color: black;
   margin-bottom: 0.5em;
   margin-left: 1em;
   padding: 0.2em;
   float: right;
   clear: right;
}
.infobox td,
.infobox th {
   vertical-align: top;
}
.infobox caption {
   font-size: larger;
   margin-left: inherit;
}
.infobox.bordered {
   border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
   border: 1px solid #aaaaaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
   border: 0;
}

.infobox.sisterproject {
   width: 20em;
   font-size: 90%;
}

/* Recipe table formatting */

table.recipe { 
   text-align: center;
   border-collapse: collapse;
   margin-top: 1em;
}
table.recipe th {
   border: 2px solid black;
   background-color: #FFFFFF;
   padding: 3px;
}
table.recipe td {
   border: 2px solid black;
   padding: 3px;
}
table.recipe tr.row1 {
   background-color: #FFFFFF;
}
table.recipe tr.row2 {
   background-color: #EEEEEE;
}
table.recipe tr.row3 {
   background-color: #DDDDDD;
}
table.recipe tr.row4 {
   background-color: #CCCCCC;
}
table.recipe tr.row5 {
   background-color: #BBBBBB;
}
table.recipe tr.row6 {
   background-color: #AAAAAA;
}
table.recipe tr.row7 {
   background-color: #999999;
}
table.recipe tr.row8 {
   background-color: #888888;
}
table.recipe tr.row9 {
   background-color: #777777;
}

/*</pre>*/