From WikiTemp, the GBAtemp wiki
m
m
Line 410: Line 410:
 
}
 
}
  
.allmessages-customised .am_title, .allmessages-customised am_default {
+
.allmessages-customised .am_title, .allmessages-customised .am_default {
 
     background: #FDD;
 
     background: #FDD;
 
}
 
}

Revision as of 10:53, 14 May 2011

/*<pre>*/
/** CSS placed here will be applied to all skins */
 
/*****
** Wikitable table class
*****/
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;
}
 
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;
}
 
 
/*****
** Compatibility list table class
*****/
table.compatibilitytable,
table.compattable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px black solid;
}
 
table.compatibilitytable th, table.compatibilitytable td,
table.compattable th, table.compattable td {
  padding: 0.1em;
}
 
table.compatibilitytable th,
table.compattable th {
  border: 1px #aaa solid;
  background: #f2f2f2;
  text-align: center;
}
 
.allpagesredirect {
  font-style:italic;
}
 
/*****
** Experimental browser specific styles to make preformatted text wrap
*****/
pre { 
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
}
 
/* default skin for navigation boxes */
table.navbox {
    background-color: #f9f9f9;
    border: 1px solid #aaa;
    clear: both;
    font-size: 90%;
    margin: 1em 0em 0em;
    padding: 2px;
    text-align: center;
    width: 100%;
}
 
table.navbox th {
    background-color: #ccf;
    padding-left: 1em;
    padding-right: 1em;
}
 
table.navbox tr:not(:first-child) th {
    background-color: #ddf;
}
 
@media print {
    .navbox {
        display: none;
    }
}
 
/*****
** 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;
        background-color :white;
}
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;
        padding-top:3px;
}
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:3px;
        right:3px;
        font-weight:normal;
        font-size:smaller;
}
 
/*****
** Default skin for navigation boxes 
*****/
table.navbox {            /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%; 
    margin: auto;
    clear: both;
    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 {
    padding-top:3px;
    padding-bottom:3px;
    padding-left:7em;
    color:#222;
    font-size:11px;
    text-align:center;
}
 
.navbox-abovebelow,
table.navbox th {
    text-align: center;      /* Title and above/below styles */
    padding:3px;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
 
.navbox-group {              /* Group style */
    white-space: nowrap;
    text-align: right;
    font-weight: bold;
    padding:3px;
    padding-left: 1em;
    padding-right: 1em;
    width:1px;
    min-width:100px;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
.navbox, .navbox-subgroup {
    background: #fdfdfd;     /* Background color */
}
.navbox-list {
    border-color: #FFF;   /* Must match background color */
    padding:3px;
    padding-left:5px;
    text-align:left;
    background: #F8F8FA;
}
.navbox-title, .navbox th {
    background:#CCF !important;        /* Level 1 color */
}
 
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: #DDF;        /* Level 2 color */
}
 
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
    background: #e6e6ff;     /* Level 3 color */
}
.navbox-even {
    background: #f7f7f7;     /* 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:Navbar]],   */
}                          /* so they need to be the same width.         */
 
/*****
** Infobox Styles
*****/
.infobox {
    border:#AAA 1px solid;
    background: #F9F9F9; width:25em;
    text-align: left; float:right;
    margin: 0.5em 0 0.5em 1em;
    padding: 0.2em; border-radius:5px;
    -moz-border-radius:5px;
}
 
.infobox-title {
    font-size:16px;
    text-align:center;
    background: #CCF;
    font-weight:bold;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
 
.infobox-header {
    font-weight:bold;
    text-align:center;
    background: #CCF;
    padding-top:4px;
    padding-bottom:4px;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
 
.infobox-label {
    background: #DDF;
    font-weight:bold;
    padding:4px;
    width:50%;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
 
.infobox-below {
    text-align:center;
    background: #DDF;
    padding-top:4px;
    padding-bottom:4px;
    background-image:url('http://wiki.gbatemp.net/w/images/5/5e/TableFX.png') !important;
    background-repeat:repeat-x;
}
 
/*****
** Recent Changes
*****/
.mw-plusminus-pos {
    color:green;
}
 
.mw-plusminus-neg {
    color:#800;
}
 
/*****
** External Link Icons
*****/
/*FileTrip*/
#bodyContent a[href^="http://filetrip.net"], .link-filetrip {
background: url(http://wiki.gbatemp.net/w/images/8/83/FTExt.png) center right no-repeat;
padding-right: 16px;
}
 
/*ShopTemp*/
#bodyContent a[href^="http://shoptemp.com"], #bodyContent a[href^="http://shoptemp.fr"],
#bodyContent a[href^="http://shoptemp.net"], .link-shoptemp {
background: url(http://wiki.gbatemp.net/w/images/8/82/STExt.png) center right no-repeat;
padding-right: 16px;
}
 
/*GBAtemp*/
#bodyContent a[href^="http://gbatemp.net"] {
background: url(http://wiki.gbatemp.net/w/skins/GBAtemp_v3/gbatemp_icon.gif) center right no-repeat;
padding-right: 16px !important;
}
 
 
/*****
** Header Underlines
*****/
h1, h2 {
    overflow-x:auto;
    overflow-y:hidden;
}
 
 
/*****
** Special Pages
*****/
.mw-specialpagesgroup {
    background:#DFDFDF;
    padding:7px;
    margin-top:1em;
}
 
/**************************/
/** BUGFIXES FROM UPDATE **/
/**    DON'T EDIT THIS   **/
/**************************/
#mw-normal-catlinks {
    border:1px solid #AAA;
    background-color:#F9F9F9;
    padding:10px;
    margin-top:1em;
    margin-bottom:1em;
    clear:both;
}
 
#catlinks {
    border:none !important;
    background:transparent !important;
    margin:0 !important;
    padding:0 !important;
}
 
.previewnote {
    text-indent:0px !important;
}
 
.previewnote p {
    text-indent:3em;
}
 
.previewnote hr {
    display:none !important;
}
 
.diff-otitle, .diff-ntitle {
    text-align:center;
    width:50% !important;
}
 
table.diff {
    width:98% !important;
}
 
ins.diffchange, del.diffchange, .unpatrolled {
    text-decoration:none !important;
    color:red !important;
    font-weight:bold !important;
}
 
abbr {
    border:none !important;
    font-weight:bold;
}
 
#prefcontrol {
    padding-top:0px !important;
}
 
td.mw-enhanced-rc {
    width:96px;
    text-align:right;
}
 
td.mw-enhanced-rc span {
    float:left;
}
 
.allmessages-customised .am_title, .allmessages-customised .am_default {
    background: #FDD;
}
 
.allmessages-customised .am_actual {
    background: #DFD;
}
/*</pre>*/