MediaWiki:Common.css: Difference between revisions
No edit summary |
(Added a class for auto-numbering rows in tables.) |
||
Line 64: | Line 64: | ||
background-color: #D0D0D0; | background-color: #D0D0D0; | ||
} | } | ||
/* Auto-number rows in tables */ | |||
table.numbered { counter-reset: row; } | |||
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; } |
Revision as of 16:06, 3 November 2008
/** CSS placed here will be applied to all skins */
.summary {
width: 300px;
border-width: 1px;
border-spacing: ;
border-style: ridge;
border-color: gray;
border-collapse: collapse;
background-color: #F0F0F0;
}
.summary th {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
.summary td {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
th.summary-header {
background-color: #D0D0D0;
}
.quest-summary {
width: 300px;
border-width: 1px;
border-spacing: ;
border-style: ridge;
border-color: gray;
border-collapse: collapse;
background-color: #F0F0F0;
}
.quest-summary th {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
.quest-summary td {
border-width: 2px;
padding: 3px;
border-style: ridge;
border-color: gray;
background-color: #F0F0F0;
-moz-border-radius: ;
}
th.quest-summary-header {
background-color: #D0D0D0;
}
/* Auto-number rows in tables */
table.numbered { counter-reset: row; }
table.numbered td:first-child:before { counter-increment: row; content: counter(row) ". "; }