Difference between revisions of "MediaWiki:Modern.css"

From SDA Knowledge Base

Jump to: navigation, search
(table and template styles)
 
m (table backgrounds, yes/no cell styles)
 
Line 4: Line 4:
 
  * Table styles
 
  * Table styles
 
  */
 
  */
 +
 +
table { background-color: #ffffff; }
  
 
table.wikitable {
 
table.wikitable {
Line 9: Line 11:
 
margin-bottom: .5em;
 
margin-bottom: .5em;
 
         border-collapse: collapse;
 
         border-collapse: collapse;
        background-color: #ffffff;
 
 
}
 
}
  
Line 47: Line 48:
 
border: 1px solid #3c78b5;
 
border: 1px solid #3c78b5;
 
background-color: #f0f0f0;
 
background-color: #f0f0f0;
 +
}
 +
 +
.yes-cell {
 +
        background-color: #b2d4b2 !important;
 +
}
 +
 +
.no-cell {
 +
        background-color: #d4b2b5 !important;
 
}
 
}

Latest revision as of 16:27, 31 July 2010

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

/*
 * Table styles
 */

table { background-color: #ffffff; }

table.wikitable {
	border: 1px solid #bbbbbb;
	margin-bottom: .5em;
        border-collapse: collapse;
}

table.wikitable th, table.wikitable td {
	vertical-align: top;
        padding: 2px;
}

table.wikitable td {
	border: 1px solid #bbbbbb;
        background-color: #f0f0f0;
}

table.wikitable th {
        border: none;
        border-bottom: 1px solid #3c78b5;
	text-align: center;
	font-weight:bold;
	background: #dddddd;
}

table.wikitable caption {
	margin-left: inherit;
	margin-right: inherit;
	font-weight: bold;
	font-size: 1.1em;
}

/*
 * Templates
 */

.contents {
	float: right;
	padding: 5px;
	margin: 0 0 .5em 1em;
	border: 1px solid #3c78b5;
	background-color: #f0f0f0;
}

.yes-cell {
        background-color: #b2d4b2 !important;
}

.no-cell {
        background-color: #d4b2b5 !important;
}
Personal tools