MediaWiki:Gadget-site.css

From m204wiki
Revision as of 18:26, 7 January 2011 by Admin (talk | contribs)
Jump to navigation Jump to search

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* 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 {
	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;
}

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

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

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

var {
    color: #601010;
}

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

p var {
    color: #106010;
}

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