Difference between revisions of "MediaWiki:Common.css"

From Nitbar
Jump to navigation Jump to search
Line 58: Line 58:
  
 
/* embedded map boxes */
 
/* embedded map boxes */
div.map-left-s {
+
div.embed-map.small-map {
 +
  width: 300px;
 +
}
 +
div.embed-map.left {
 
   float: left;
 
   float: left;
  width: 300px;
 
 
   margin-right: 20px;
 
   margin-right: 20px;
 
}
 
}

Revision as of 19:11, 3 August 2016

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

/* general styling */

div#content {
  font-family: Georgia, Palatino, serif;
}

div#catlinks {
  font-family: sans-serif;
  font-size: 95%;
}

blockquote {
  font-style: italic;
}

blockquote em, blockquote i {
  font-style: normal;
}

a.mw-magiclink-isbn {
  font-size: 85%;
}

.mw-body h3 {
  font-size: 1.1em;
}

/* suppress auto-header for some pages */
body.page-Home #firstHeading, body.page-Project_About #firstHeading {
  display: none;
}

/* suppress auto-numbering in table of contents */
.tocnumber { display: none; }

/* suppress most MW metadata links by default */
#left-navigation, #p-views, #n-help, #t-specialpages {
  display: none;
}

/* suppress some unused footer links */
#footer-places-privacy, #footer-places-disclaimer {
  display: none;
}

/* styling for external links (including interwiki links) */
a.external, a.extiw {
  border-bottom: 1px dotted #66f !important;
  padding-right: 0 !important;
  background: none !important;
  text-decoration: none !important;
}
a.external:hover, a.extiw:hover, a.external:active, a.extiw:active {
  color: #88f !important;
}

/* embedded map boxes */
div.embed-map.small-map {
  width: 300px;
}
div.embed-map.left {
  float: left;
  margin-right: 20px;
}

/* home page table */
table.home-table tr {
  vertical-align: top;
}
table.home-table td {
  padding-left: 50px;
}

/* styling for 334 pages */
body.cat-334,
body.cat-334 #mw-page-base,
body.cat-334 #mw-head-base {
  background: #edece2;
}
body.cat-334 #content {
  background: #f0efe5;
}
body.cat-334 .toc, body.cat-334 #catlinks {
  background: #f1f0ee !important;
}

/* styling for Camp Concentration pages */
body.cat-Camp_Concentration,
body.cat-Camp_Concentration #mw-page-base,
body.cat-Camp_Concentration #mw-head-base {
  background: #d0e0e0;
}
body.cat-Camp_Concentration #content {
  background: #f4f9f1;
}
body.cat-Camp_Concentration .toc, body.cat-Camp_Concentration #catlinks {
  background: #f7fcf3 !important;
}

/* styling for Wallace Shawn pages */
body.cat-Wallace_Shawn,
body.cat-Wallace_Shawn #mw-page-base,
body.cat-Wallace_Shawn #mw-head-base {
  background: #ccbbee;
}
body.cat-Wallace_Shawn #content {
  background: #ddd0ee;
}
body.cat-Wallace_Shawn .toc, body.cat-Wallace_Shawn #catlinks {
  background: #edddf0 !important;
}

/* sidebars */
div.sidebar, div.play-sidebar {
  border: 1px solid #ccc;
  float: right;
  margin: 8px 0 8px 30px;
  padding: 14px;
  width: 24em;
}

div.sidebar h2, div.play-sidebar h2 {
  font-size: 1.3em;
}

div.sidebar h2:first-child, div.play-sidebar h2:first-child {
  margin-top: 0;
}