MediaWiki:Gadget-site.css: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (change default to make visited links the same color as non-visited)
m (Added "caption" style.)
Line 2: Line 2:


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


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


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


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


Line 95: Line 95:
.showVisit a.new:visited, #p-personal a.new:visited {
.showVisit a.new:visited, #p-personal a.new:visited {
     color: #a55858;
     color: #a55858;
}
.caption {
    font-style: italic;
    font-size: -1;
    text-align: left;
    color: #601010;
}
}

Revision as of 14:39, 13 January 2011

/* 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;
}

.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.7em;
    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;
}

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-style: italic;
    font-size: -1;
    text-align: left;
    color: #601010;
}