Difference between revisions of "MediaWiki:Common.css"

From Nitbar
Jump to navigation Jump to search
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* general styling */
 +
 +
blockquote {
 +
  font-style: italic;
 +
}
 +
 +
blockquote em, blockquote i {
 +
  font-style: normal;
 +
}
  
 
/* suppress auto-header for some pages */
 
/* suppress auto-header for some pages */
 
body.page-Main_Page #firstHeading, body.page-Project_About #firstHeading {
 
body.page-Main_Page #firstHeading, body.page-Project_About #firstHeading {
   display:none;
+
   display: none;
 
}
 
}
  
Line 47: Line 57:
 
   padding: 14px;
 
   padding: 14px;
 
   width: 24em;
 
   width: 24em;
 +
}
 +
 +
div.play-sidebar h2 {
 +
  font-size: 1.3em;
 
}
 
}
  

Revision as of 22:28, 2 August 2016

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

/* general styling */

blockquote {
  font-style: italic;
}

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

/* suppress auto-header for some pages */
body.page-Main_Page #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 {
  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;
}

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

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

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

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