MediaWiki

Difference between revisions of "Common.css"

From LRDE

Line 29: Line 29:
 
float: right;
 
float: right;
 
clear: right;
 
clear: right;
border: 1px solid gray;
+
border: 5px solid gray;
 
padding: 0.3em;
 
padding: 0.3em;
 
width: 200px;
 
width: 200px;

Revision as of 18:49, 24 February 2014

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

/* Add border to block of code (syntaxhighlight) */
div.mw-geshi {
  padding: 1em; 
  margin: 1em 0; 
  border: 1px dashed #2f6fab;
  background-color: #f9f9f9;
}

/* Remove Home title */
body.page-Home h1.firstHeading {
  display:none;
}

table.people {
  padding-left: 10px;
}
table.people td {
  border-bottom: 1px grey dashed;
  padding-top: 4px;
  padding-left: 4px;
  padding-right: 4px;
  padding-bottom: 0px;
}

.sideBox {
    position: relative;
    float: right;
    clear: right;
    border: 5px solid gray;
    padding: 0.3em;
    width: 200px;
    background: white;
    margin-left: 1em;
    overflow: hidden;
}

/**
 * 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.
 * Used in [[Template:TOC]]
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
	display: none;
}