MediaWiki:Common.css: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
(Gah, I forgot to set the width! But the spacing is quite good now...)
imported>Dinoguy1000
No edit summary
Line 1: Line 1:
/*
/*
After editing, you can see changes by bypassing your browser's cache:
* '''Internet Explorer''': Press ''Ctrl-F5''
* '''Mozilla/Safari''': Hold ''Shift'' and click ''Reload'' (or press ''Ctrl-Shift-R'')
* '''Opera/Konqueror''': Press ''F5''
You may also want to have a look at Wikipedia's [[wikipedia:MediaWiki:Common.css|MediaWiki:Common.css]] for inspiration, or [[wikipedia:Wikipedia:Catalogue of CSS classes|Wikipedia:Catalogue of CSS classes]] for reference material (not sure how applicable it is here, though...).


Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwiki.xentax.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=1&profile=css21&usermedium=all CSS Validation Service] after any changes.
Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwiki.xentax.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=1&profile=css21&usermedium=all CSS Validation Service] after any changes.


<pre><nowiki>*/
<pre><nowiki> */


/* style rules for the GRAF tables */
/* style rules for the GRAF tables */
Line 21: Line 28:
table.graf th, table.graf td {
table.graf th, table.graf td {
  padding: 0.2em;
  padding: 0.2em;
}</nowiki></pre>
}/* </nowiki></pre> */

Revision as of 19:13, 3 August 2007

/*

After editing, you can see changes by bypassing your browser's cache:
* '''Internet Explorer''': Press ''Ctrl-F5''
* '''Mozilla/Safari''': Hold ''Shift'' and click ''Reload'' (or press ''Ctrl-Shift-R'')
* '''Opera/Konqueror''': Press ''F5''

You may also want to have a look at Wikipedia's [[wikipedia:MediaWiki:Common.css|MediaWiki:Common.css]] for inspiration, or [[wikipedia:Wikipedia:Catalogue of CSS classes|Wikipedia:Catalogue of CSS classes]] for reference material (not sure how applicable it is here, though...).

Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwiki.xentax.com%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=1&profile=css21&usermedium=all CSS Validation Service] after any changes.

<pre><nowiki> */

/* style rules for the GRAF tables */

table.graf {
 width: 100%
}

table.graf, table.graf th, table.graf td {
 margin: 1em 1em 1em 0;
 border-style: solid;
 border-color: black;
 border-width: 1px;
 border-collapse: collapse;
}

table.graf th, table.graf td {
 padding: 0.2em;
}/* </nowiki></pre> */