Difference between revisions of "MediaWiki:Monobook.css"

From GreenVulcano Wiki
Jump to: navigation, search
Line 73: Line 73:
 
}
 
}
  
div.mainbox {
+
div#content .mainbox {
 
   border: 1px solid #693;
 
   border: 1px solid #693;
 
   padding: 0.5em;
 
   padding: 0.5em;
Line 79: Line 79:
 
}
 
}
  
div.mainbox h2 {
+
div#content .mainbox h2 {
 
   background-color: #693;
 
   background-color: #693;
 
   color: white;
 
   color: white;

Revision as of 15:49, 9 February 2012

/* CSS placed here will affect users of the Monobook skin */

div.pBody {
  border-bottom: 1px solid #693;
  margin-left: .25em;
}

div.portlet h5 {
  background-color: #693;
  border:none;
  color: white;
  display: block;
  padding-bottom: 0.5em;
  margin-left: .5em;
  margin-right: 2em;
}

div#content h1, div#content h2, div#content h3, div#content h4, div#content h5, div#content h6 {
  border-bottom: 1px solid #693;
  color: #333;
}

div#content code {
  background-color: #efb;
  padding-left: .5em;
  padding-right: .5em;
}

div#content pre {
  border: 1px dashed #693;
}

div#content table.gvtable {
  margin: 1em 1em 1em 0;
  border: 2px #999 solid;
  border-collapse: collapse;
  color: black;
}
.gvtable th, .gvtable td {
  border: 2px #999 solid;
  padding: 0.2em;
  vertical-align: top;
}
.gvtable th {
  background: #693;
  color: white;
  text-align: center;
}
.gvtable td {
  font-size: 90%;
  background: white;
}
.gvtable caption {
  font-weight: bold;
}

.gvprodname {
  color: #693;
  font-weight: bold;
}

div#content table.note {
  margin: 1em 16em 1em 4em;
  padding: 0.5em;
  border: none;
  border-collapse: collapse;
  color: black;
  background-color: #ffff99;
}
.note th, .note td {
  padding: 1em;
  vertical-align: top;
}

div#content .mainbox {
  border: 1px solid #693;
  padding: 0.5em;
  margin: 1em;
}

div#content .mainbox h2 {
  background-color: #693;
  color: white;
  font-weight: bold;
  padding: 0em;
  margin: 0em;
}