Difference between revisions of "MediaWiki:Common.css"
esse quam videri
(replace old wikitable code with the one from wikipedia; it'll look nicer) |
(test edit to render the css like it does on wikipedia) |
||
Line 1: | Line 1: | ||
− | /* | + | /* |
+ | ATTENTION ADMINISTRATORS: | ||
+ | |||
+ | This is the CSS for all skins. Any major changes to this page or | ||
+ | [[MediaWiki:Monobook.css|Monobook.css]] should be first proposed. As for where that is, ask [[User:Jeff|Jeff]] or prod [[User:Akelly|AJ]] to figure it out. | ||
+ | |||
+ | Testing can be done on your own user Monobook.css. In [[Mozilla]] and | ||
+ | [[Opera (web browser)|Opera]], you can also test style changes dynamically | ||
+ | with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles] | ||
+ | bookmarklet from squarefree.com. It pops up a window for adding style rules, | ||
+ | and updates the page as you type. | ||
+ | |||
+ | Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service] | ||
+ | ([http://tinyurl.com/2g8bsk CVS version]) before and after any changes. | ||
+ | |||
+ | Thank you. | ||
+ | */ | ||
+ | |||
+ | /* <pre><nowiki> */ | ||
/* wikitable/prettytable class for skinning normal tables */ | /* wikitable/prettytable class for skinning normal tables */ | ||
Line 25: | Line 43: | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
+ | |||
+ | /* </nowiki></pre> */ |
Revision as of 16:31, 24 September 2008
/*
ATTENTION ADMINISTRATORS:
This is the CSS for all skins. Any major changes to this page or
[[MediaWiki:Monobook.css|Monobook.css]] should be first proposed. As for where that is, ask [[User:Jeff|Jeff]] or prod [[User:Akelly|AJ]] to figure it out.
Testing can be done on your own user Monobook.css. In [[Mozilla]] and
[[Opera (web browser)|Opera]], you can also test style changes dynamically
with the [http://www.squarefree.com/bookmarklets/webdevel.html test styles]
bookmarklet from squarefree.com. It pops up a window for adding style rules,
and updates the page as you type.
Always check with the [http://tinyurl.com/28y334 W3C CSS Validation Service]
([http://tinyurl.com/2g8bsk CVS version]) before and after any changes.
Thank you.
*/
/* <pre><nowiki> */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
.wikitable th,
.prettytable th {
background: #f2f2f2;
text-align: center;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* </nowiki></pre> */