Difference between revisions of "MediaWiki:Common.css"

From Second Life Wiki
Jump to navigation Jump to search
Line 100: Line 100:
code { font-size: 12px; background-color: #ffffcc; }
code { font-size: 12px; background-color: #ffffcc; }


pre { font-size: 24px; }
pre { font-size: 12px; }

Revision as of 13:47, 5 October 2009

/** CSS placed here will be applied to all skins */

#navbox, .navbox
{
    border: 1px solid rgb(170, 170, 170);
    background-color: rgb(249, 249, 249);
    padding: 5px 5px 5px 5px;
    font-size: 95%;
}

div.imagemap-inline div { display: inline; }

.signature p {
    font: 10pt courier; 
    padding: 0 5px 0 25px;
    text-indent: -20px;
    white-space: pre;
}

.apitable {
    margin: 1em 1em 1em 0; 
    border: solid 1px #AAAAAA; 
    border-collapse: collapse; 
    background-color: #F9F9F9; 
    font-size: 90%; 
    empty-cells:show;
}

.apitable td {
    padding: 5px;
    line-height: 120%;
}

.api-constructor p {
    border:solid 1px #AAAAAA; 
    font: 10pt courier; 
    white-space: pre; 
    color: black; 
    background: #F9F9F9; 
    padding: 10px 0 10px 30px; 
    text-indent: -20px
}

.lltable {
    margin: 1em 1em 1em 0; 
    border: 1px solid black; 
    border-collapse: collapse; 
    background-color: #F9F9F9; 
    font-size: 95%; 
    empty-cells:show;
}
 
.lltable td, .lltable th {
    padding: 7px;
    line-height: 120%;
    vertical-align: top;
}
 
.lltable tr th {
    background-color: #A7C1F2;
    font-size: 110%;
}

code {
    font-size: 120%;
}

/* This hides the Main Page title */
body.page-Main_Page h1.firstHeading { display:none; }

/* Readability tweaks:
     - Changed body text to black for better contrast
     - Optimized header sizes AND edit links
     - Made code blocks elegant, with subtle highlight
*/
#bodyContent, .firstHeading, h1 { color: black; }

#bodyContent h1, #bodyContent h2, #bodyContent h3, #bodyContent h4, #bodyContent h5, #bodyContent h6 {
     padding: 0px 0px 4px 0px;
     margin: 20px 0px 0px 0px;
     font-family: Arial, Helvetica, Sans-Serif;
     font-weight: bold;
     color: black; }

h1 .editsection, h2 .editsection , h3 .editsection , h4 .editsection , h5 .editsection , h6 .editsection {
     padding: 0px;
     margin: 0px;
     font-family: Arial, Helvetica, Sans-Serif;
     font-size: 14px;
     font-weight: bold;
     color: black; }

#bodyContent h1, firstHeading { font-size: 24px; }
#bodyContent h2 { font-size: 22px; }
#bodyContent h3 { font-size: 20px; }
#bodyContent h4 { font-size: 18px; }
#bodyContent h5 { font-size: 16px; }
#bodyContent h6 { font-size: 14px; }

code { font-size: 12px; background-color: #ffffcc; }

pre { font-size: 12px; }