MediaWiki:Common.css

From SimsWiki
Revision as of 15:30, 10 April 2011 by Delphy (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
/*
<pre>
*/

.portlet { width: 160px; }

#disambig {
    border-top: 3px double #cccccc; 
    border-bottom: 3px double #cccccc;
    margin-top: 1em;
}

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

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

.subpages {
   font-size: 1.2em;
}

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

table.wikitable,
table.prettytable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}

table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
  border: 1px #aaaaaa 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;
}


.nicetable {
    background-color:#f5fffa;
    border-spacing:4px;
/*    margin: 1em auto 1em auto; */
}

.nicetable th {
    border:1px solid #407361;
    background-color: #c9e8e8;
    font-weight:bold;
    font-size:1.2em;
    padding: 3px;
}

.nicetable td {
    border:1px solid #b3decf;
    padding:3px;
    margin:3px;
    background-color:#f5fffa;
}

.nicetable .shaded {
    background-color:#d9f0f6;
}

.nicetable .normal {
    background-color:#f5fffa;
}



h1, h2, h3 {
background:transparent none repeat scroll 0 0;
border-bottom:1px solid #AAAAAA;
color:black;
font-weight:bold;
margin:0;
padding-bottom:0.17em;
padding-top:0.5em;
}

h4, h5, h6 {
background:transparent none repeat scroll 0 0;
color:black;
font-weight:bold;
margin:0;
padding-bottom:0.17em;
padding-top:0.5em;
}

h2              { font-size: 1.7em; }
h3              { font-size: 1.5em; }
h4              { font-size: 1.2em; }


/*Collapsibleness*/
table.collapsed tr.collapsable {
        display: none;
}
 
.collapseButton {                /* 'show'/'hide' buttons created dynamically by the               */
        float: right;               /* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
        font-weight: normal;        /* are styled here so they can be customised.               */
        text-align: right;
        width: auto;
        padding-left: 2em;
}

/*
</pre>
*/
Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox