MediaWiki:Common.css

From GMOD
Revision as of 23:49, 7 September 2012 by Girlwithglasses (Talk | contribs)

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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/** CSS placed here will be applied to all skins */
 
/* Don't display Main Page on main page.  Code from the MediaWiki Manual FAQ. */
 
tt, pre, .enter {
    font-family: "Lucida Console", Monaco,"Courier New", Courier, monospace;
}
 
body.page-Main_Page h1.firstHeading { 
  display:none; 
}
 
 
/* Used in Site Guidelines page to highlight guidelines */
.guideline {
  background: #eeffee;  /* light green */
  font-weight: bold;
  border: 1px solid #9999ff;
  padding: 0.5em;
}
 
 
/* Adding wikitable and prettytable from wikipedia. */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
 
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
    border: 1px #aaa solid;
    padding: 0.2em 0.4em;
}
 
table.wikitable th,
table.prettytable th {
    background: #f2f2f2;
    text-align: center;
}
 
table.wikitable caption,
table.prettytable caption {
    margin-left: inherit;
    margin-right: inherit;
    font-weight: bold;
}
 
table.prettytable code,
table.wikitable code {
    background-color: transparent;
}
 
/* ======================================================= */
/* Special settings for Chado table descriptions, themselves
 * shown in mediawiki tables. */
 
table.chadotable {
    background: #ffddbb;
}
 
table.chadotable th {
    background: #ffccaa;
}
 
 
/* ======================================================= */
/* Highlight parts of shell script interactions */
 
/* Highlight text that needs to be typed by the user. */
div.enter {
padding: 1em;
border: 1px dashed #2F6FAB;
background-color: #F9F9F9;
line-height: 1.1em;
}
 
.enter {
    font-weight: bold;
    color: #004444;
}
 
/* Highlight commands that users should not do. */
.dont {
    background-color: #ffff77;
}
 
/* ========================================================= */
/* Tutorial Headers */
 
table.tutorialheader {
    font-size: 160%;
    margin: 0px auto; /* center it */
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
    vertical-align: middle;
}
 
table.tutorialheader td {
    padding: 1em;
}
 
 
/* ========================================================= */
/* Styles for the WikiCategoryTagCloud extension. */
 
.tagcloud {
        width: 98%;
        text-align: center;
        background-color: #FDFDFD;
        border: 1px solid #EEEEEE;
        padding: 15px 10px 15px 10px;
 }
.tagcloud a {
        color: #0052CB;
        margin-left: 10px;
        margin-right: 10px;
        /* font-weight: bold; */
 }
 
/* ========================================================== */
/* Indent a whole section, without any other emphasis. */
 
.indent {
    margin-left: 2em;
}
 
/* ========================================================== */
/* Emphasize a whole section
 * Details of this may change over time as other types of boxes are added.
 * For example, font size may be increased, or the border color changed.
 */
 
div.emphasisbox {
    margin: 2em 10%;
    padding: 1em;
    border: 2px #004040 solid;
    background-color: #ffffdd;
}
 
/* ========================================================== */
/* Quote box
 * Less emphasis than, well, an emphasis box!
 */
 
div.quotebox {
    margin: 1em;
    padding: 0.5em;
    border: 1px #cccccc solid;
    background-color: #dddddd;
}
 
/* ========================================================== */
/* Image cloud at bottom of home page (and maybe elsewhere?) 
 */
 
div.imagecloud img {
    padding-bottom: 0.5em;
    padding-right: 0.5em;
}
 
.zero {
padding: 0;
margin: 0;
border: 0;
}
 
/* ========================================================== */
/* Get rid of the default MediaWiki book. We are not an encyclopedia.  To restore it, comment out the body statement below.
*/
body { background: #9BAA9D url("/mediawiki/images/9/97/GreenFade.png") 0px 0px repeat-x; }
 
/* ========================================================== */
/* Floating links box on the component pages */
div.componentBox {
    float: right; 
    margin-left: 1em;
    margin-bottom: 1em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border: 1px solid #888888;
    color: #000;
    background-color: #fafafa;
    line-height: 100%;
    text-align: center;
    width: 150px;
}
 
div.componentBox li a { /* display: block; */ }
div.componentBox ul, div.componentBox ol { list-style-type: none; list-style-image: none; margin: 0 }
div.componentBox .compBoxHdr { margin-top: 0.5em; color: #000; background: #ADD8E6; padding: 0.5em; font-weight: bold; }
 
#toc {
margin: 1em 0;
}
 
.small {
font-size: 10px;
line-height: 19px; /* ugly! */
}
 
pre, .enter {
line-height: 19px; /* ugly!! */
}