Difference between revisions of "MediaWiki:Common.css"

From Second Life Wiki
Jump to navigation Jump to search
(Undo revision 1070193 by Torley Linden (Talk))
Line 100: Line 100:




/* SEARCH box emphasis, formerly "Languages styling from Zai Lynch and Kuraiko Yoshikawa" */
/* Languages styling from Zai Lynch and Kuraiko Yoshikawa */
#p-search {
#p-lang {
   background-color: rgb(254,255,204);
   background-color: rgb(254,255,204);


Line 109: Line 109:
}
}


#p-search .pBody, #p-search h5{  
#p-lang .pBody, #p-lang h5{  
   background-color: rgb(254,255,204);
   background-color: rgb(254,255,204);
}
}

Revision as of 10:37, 21 October 2010

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

/* 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; color: #404040; font-style:italic;} 
#bodyContent h5 { font-size: 16px; color: #606060; }
#bodyContent h6 { font-size: 14px; font-style:italic;}

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

pre { font-size: 12px; border-style: solid; border-color: #cccccc; background-color: #eeeeee }


/* Languages styling from Zai Lynch and Kuraiko Yoshikawa */
#p-lang {
  background-color: rgb(254,255,204);

  border: 1px solid #AAAAAA;
  margin-bottom: 10px;
  margin-left: 2.5px;
}

#p-lang .pBody, #p-lang h5{ 
  background-color: rgb(254,255,204);
}


/* Thumbnail hover fix */
html .thumbimage {
border: 0px;
}


/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }