Difference between revisions of "MediaWiki:Monobook.css"

From TMB Wiki
Jump to: navigation, search
m (wikitable class formating)
(Whoops, a little over zealous there! CSS for tables reverted)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
/* edit this file to customize the monobook skin for the entire site */
 
/* edit this file to customize the monobook skin for the entire site */
 
/* stop wiki links changing orange when you click on them */
 
 
a:active {
 
color: #002bb8;
 
}
 
  
 
/* wikitable class for skinning normal tables */
 
/* wikitable class for skinning normal tables */
 
 
table.wikitable {
 
table.wikitable {
margin: 1em 1em 1em 0;
 
 
background: #f9f9f9;
 
background: #f9f9f9;
 
border: 1px #aaaaaa solid;
 
border: 1px #aaaaaa solid;
 
border-collapse: collapse;
 
border-collapse: collapse;
 +
margin-top: 0.2em;
 +
margin-bottom: 0.2em;
 
}
 
}
 
 
table.wikitable th, table.wikitable td {
 
table.wikitable th, table.wikitable td {
 
border: 1px #aaaaaa solid;
 
border: 1px #aaaaaa solid;
 
padding: 0.2em;
 
padding: 0.2em;
 
}
 
}
 
 
table.wikitable th {
 
table.wikitable th {
 
background: #f2f2f2;
 
background: #f2f2f2;
text-align: center;
 
 
}
 
}
 
 
table.wikitable caption {
 
table.wikitable caption {
margin-left: inherit;
 
margin-right: inherit;
 
margin-bottom: 0.2em;
 
padding-bottom: 0;
 
 
font-weight: bold;
 
font-weight: bold;
 +
padding-bottom: 0.2em;
 
}
 
}

Latest revision as of 21:39, 23 December 2008

/* edit this file to customize the monobook skin for the entire site */

/* wikitable class for skinning normal tables */
table.wikitable {
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
margin-top: 0.2em;
margin-bottom: 0.2em;
}
table.wikitable th, table.wikitable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th {
background: #f2f2f2;
}
table.wikitable caption {
font-weight: bold;
padding-bottom: 0.2em;
}