MediaWiki:Gadget-site.css

From m204wiki
Revision as of 00:22, 26 March 2011 by Admin (talk | contribs)
Jump to navigation Jump to 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.
/* CSS placed here will be applied to all skins */

pre {
    overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
    overflow-y: hidden; /* overflow-x above messes up Chrome, this is the fix. Sigh */ 
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */ /*
    width: 99%; */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}

p.pre, p.code, p.output, p.syntax, p.pre pre.syntax {
    color: #000;
    background-color: #f9f9f9;
    padding: 5px 5px 5px 10px;
    border: 1px dashed #4169E1;
    font-family: monospace;
    font-size: 12.7px;
    line-height: 13.97px;
    vertical-align: baseline;
    white-space: pre; }

span.squareb {
    font-weight: bold;
    color: blue;
}

span.literal {
    font-style: italic;
    color: #601010;
}

span.boldGreen {
    font-weight: bold;
    color: green;
}


.pageBreak { page-break-before: always; }

/* syntaxTable class for skinning normal syntax term tables */
table, table.syntaxTable, table.list {
    margin: 1em 1em 1em 0;
    background: #f9f9f9;
    border: 1px #aaa solid;
    border-collapse: collapse;
}
th, td, .syntaxTable th, .syntaxTable td, .list th, .list td {
    border: 1px #aaa solid;
    padding: 0.7em;
    text-align: left;
    vertical-align: top;
}
.syntaxTable th, .list th {
    background: #f2f2f2;
}

.syntaxTable th var {
    color: #000;
}

table.optionTable {
    margin: 0;
    border: none;
    border-collapse: collapse;
}

table.syntaxTable table.optionTable td {
    border: none;
    height:5px;
    vertical-align: top;
}


code, code.output {
    background-color: #F0F0F9;
}

var {
    color: #601010;
    text-transform: capitalize;
}

var.syntax, var.product {
    color: black;
}

var.term {
    text-transform: none;
}

pre var {
    font-weight: bold;
}

.pageSubtitle {
    font-size:120%;
    color:black;
    font-weight: bold;
}

a:visited {
    color: #002bb8;
}

.showVisit a:link {
    color: #002bb8;
}
.showVisit a:visited {
    color: #5a3696;
}
.showVisit a:hover {
    text-decoration: underline;
}
.showVisit a:active {
    color: #faa700;
}
.showVisit a.new, #p-personal a.new {
    color: #ba0000;
}
.showVisit a.new:visited, #p-personal a.new:visited {
    color: #a55858;
}

.caption {
    font-size: 11px;
    color: #601010;
    text-align: center;
    line-height: 100%;
    margin-left: 15em;
    margin-right: 15em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.warning {
    color: #990000;
    font-style: italic;
}

.smallAndTightList {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    font-style: italic;
    line-height: 1em;
    color: #00CC33;
    background-color: #eeeed3;
    text-indent: 50px;
    list-style-position: inside;
    list-style-type: square;
    padding: 6px;
    margin: 2px;
}

ul.nobul li {
list-style-type: none; 
list-style-image: none; 
margin-left: 0;
}

td p.listof {
    font-size: 1em;
    line-height: 1.6;
    padding: 0em 0px .5em 0px;
}