Difference between revisions of "MediaWiki:Common.css"

From comp.tf
Jump to navigation Jump to search
(Adding infobox styles)
m (Moving centered to global styles)
Line 1: Line 1:
 
/* CSS placed here will be applied to all skins */
 
/* CSS placed here will be applied to all skins */
 +
 +
/* Global styles */
 +
.centered { text-align: center; }
  
 
/* Infobox styles */
 
/* Infobox styles */
 
.infobox { float: right; width: 25%; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px; }
 
.infobox { float: right; width: 25%; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px; }
 
.infobox th { background: #d9d9d9; font-size: small; }
 
.infobox th { background: #d9d9d9; font-size: small; }
.infobox td.centered { text-align: center; }
 
  
 
/* This CSS snippet applies to the Top Contributions extension tables only (installed on 31/07) */
 
/* This CSS snippet applies to the Top Contributions extension tables only (installed on 31/07) */

Revision as of 08:46, 31 July 2013

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

/* Global styles */
.centered { text-align: center; }

/* Infobox styles */
.infobox { float: right; width: 25%; font-size: 88%; background: #f9f9f9; border: 1px solid #ccc; margin: 5px; }
.infobox th { background: #d9d9d9; font-size: small; }

/* This CSS snippet applies to the Top Contributions extension tables only (installed on 31/07) */

.contributionscores-wrapper       {  }
.contributionscores-title         { background-color: #aaaaaa; margin-bottom: 0px; padding-left: .4em; }
.contributionscores .header { background-color: #cccccc; border-bottom: 1px solid #999999; font-weight: bold; }
.contributionscores .odd        { background-color: #eeeeee; }
.contributionscores .header td   { padding-left: .2em; padding-right: .2em; }
.contributionscores .content   { padding-left: .2em; padding-right: .2em; }