Difference between revisions of "MediaWiki:Common.css"

From Persona MUSH Wiki
Jump to: navigation, search
m
 
(26 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* wikitable/prettytable class for skinning normal tables */
+
table.dpl3columns {
table.wikitable,
+
width:100%;
table.prettytable {
+
    margin: 1em 1em 1em 0;
+
    background: #f9f9f9;
+
    border: 1px #aaa solid;
+
    border-collapse: collapse;
+
 
}
 
}
  
table.wikitable th, table.wikitable td,
+
table.dpl3columns td {
table.prettytable th, table.prettytable td {
+
width:33%;
    border: 1px #aaa solid;
+
    padding: 0.2em;
+
 
}
 
}
  
table.wikitable th,
+
table.abils td:nth-child(1) {
table.prettytable th {
+
width: 115px;
    background: #f2f2f2;
+
text-align: center;
    text-align: center;
+
}
 +
 
 +
table.abils td:nth-child(2) {  
 +
width: 25px;  
 +
text-align: right;
 +
}
 +
 
 +
table.abils td:nth-child(3) {
 +
width: 50px;
 +
text-align: right;
 
}
 
}
  
table.wikitable caption,
+
table.abils td:nth-child(4) {  
table.prettytable caption {
+
width: 50px;  
    margin-left: inherit;
+
text-align: center;
    margin-right: inherit;
+
    font-weight: bold;
+
 
}
 
}
  
table.prettytable code,
+
table.abils td:nth-child(5) {  
table.wikitable code {
+
width: 65px;
    background-color: transparent;
+
text-align: center;
 
}
 
}
  

Latest revision as of 22:43, 14 July 2012

table.dpl3columns {
width:100%;
}

table.dpl3columns td {
width:33%;
}

table.abils td:nth-child(1) { 
width: 115px; 
text-align: center;
} 

table.abils td:nth-child(2) { 
width: 25px; 
text-align: right;
}

table.abils td:nth-child(3) { 
width: 50px; 
text-align: right;
}

table.abils td:nth-child(4) { 
width: 50px; 
text-align: center;
}

table.abils td:nth-child(5) { 
width: 65px; 
text-align: center;
}

.collapseButton {		/* 'show'/'hide' buttons created dynamically by the		*/
	float: right;		/* CollapsibleTables JavaScript in [[MediaWiki:Common.js]] */
	font-weight: normal;	/* are styled here so they can be customised.		  */
	text-align: right;
	width: auto;
}
Personal tools
Namespaces

Variants
Actions
Navigation
Wiki Tools
Toolbox