MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
WikiMeister (talk | contribs) (New page: →* CSS placed here will be applied to all skins: →**** ** Table formatting ****: table.wikitable, table.prettytable { margin:1em 1em 1em 0; background:#000033; ...) |
mNo edit summary |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
/** | dfn { | ||
font-style: inherit; /* Reset default styling for <dfn> */ | |||
} | |||
sup, sub { | |||
line-height: 1em; /* Reduce line-height for <sup> and <sub> */ | |||
} | |||
/ | /* | ||
<pre> | |||
**** | *//*OLD CSS*//* | ||
table.wikitable, | table.wikitable, | ||
table.prettytable { | table.prettytable { | ||
| Line 14: | Line 19: | ||
table.wikitable th, table.wikitable td, | table.wikitable th, table.wikitable td, | ||
table.prettytable th, table.prettytable td { | table.prettytable th, table.prettytable td { | ||
border: | border:2px #330099 solid; | ||
padding:0.2em; | padding:0.2em; | ||
} | } | ||
| Line 29: | Line 34: | ||
margin-right:inherit; | margin-right:inherit; | ||
} | } | ||
*//* | |||
</pre> | |||
*/ | |||
Latest revision as of 19:59, 21 March 2013
dfn {
font-style: inherit; /* Reset default styling for <dfn> */
}
sup, sub {
line-height: 1em; /* Reduce line-height for <sup> and <sub> */
}
/*
<pre>
*//*OLD CSS*//*
table.wikitable,
table.prettytable {
margin:1em 1em 1em 0;
background:#000033;
border:1px #330099 solid;
border-collapse:collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border:2px #330099 solid;
padding:0.2em;
}
table.wikitable th,
table.prettytable th {
background:#000033;
text-align:center;
}
table.wikitable caption,
table.prettytable caption {
margin-left:inherit;
margin-right:inherit;
}
*//*
</pre>
*/