Difference between revisions of "MediaWiki:Monobook.css"

From TMB Wiki
Jump to: navigation, search
m (table class formating)
(hack to style after upgrade to 1.9.3)
Line 2: Line 2:
  
 
/* stop wiki links changing orange when you click on them */
 
/* stop wiki links changing orange when you click on them */
 
 
a:active {
 
a:active {
 
color: #002bb8;
 
color: #002bb8;
 +
}
 +
 +
/* hack to remove background colour and border from tabs (appeared after upgrade to 1.9.3) */
 +
#p-cactions .pBody {
 +
background-color: inherit;
 +
border: inherit;
 
}
 
}
  
 
/* wikitable class for skinning normal tables */
 
/* wikitable class for skinning normal tables */
 
 
table.wikitable {
 
table.wikitable {
 
background: #f9f9f9;
 
background: #f9f9f9;
Line 16: Line 20:
 
margin-bottom: 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;
 
}
 
}
 
 
table.wikitable caption {
 
table.wikitable caption {
 
font-weight: bold;
 
font-weight: bold;
 
padding-bottom: 0.2em;
 
padding-bottom: 0.2em;
 
}
 
}

Revision as of 23:11, 19 March 2007

/* 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;
}

/* hack to remove background colour and border from tabs (appeared after upgrade to 1.9.3) */
#p-cactions .pBody {
background-color: inherit;
border: inherit;
}

/* 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;
}