Difference between revisions of "User:Iduan/monobook.css"
Jump to navigation
Jump to search
(sigh) |
(cp and past) |
||
| Line 1: | Line 1: | ||
/* | /* | ||
| − | <pre><nowiki> | + | '''Common [[Cascading Style Sheets|CSS]] for all skins''' |
| + | |||
| + | '''Notice to Administrators!''' | ||
| + | |||
| + | <!-- | ||
| + | '''<span style="color: #f00;">Please note that due to caching effects any April Fools' joke placed here can last for several days! So will any block resulting from such actions.</span>''' | ||
| + | --> | ||
| + | |||
| + | Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Wikipedia:Village Pump]]. | ||
| + | |||
| + | Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] ([http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=2&profile=css3&usermedium=all CVS version]) after any changes. | ||
| + | |||
| + | Thank you. | ||
| + | |||
| + | (In [[Mozilla]] and [[Opera (web browser)|Opera]], you can 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.) | ||
| + | |||
| + | See also the [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]]. | ||
| + | {{interwiki-all}} | ||
| + | <pre><nowiki>*/ | ||
/* Style for horizontal UL lists */ | /* Style for horizontal UL lists */ | ||
| − | + | .horizontal ul { | |
| − | .horizontal ul { | ||
padding: 0; | padding: 0; | ||
margin: 0; | margin: 0; | ||
} | } | ||
| − | + | ||
.horizontal li { | .horizontal li { | ||
padding: 0 0.6em 0 0.4em; | padding: 0 0.6em 0 0.4em; | ||
| Line 14: | Line 31: | ||
border-right: 1px solid; | border-right: 1px solid; | ||
} | } | ||
| − | + | ||
.horizontal li:last-child { | .horizontal li:last-child { | ||
border-right: none; | border-right: none; | ||
padding-right: 0; | padding-right: 0; | ||
} | } | ||
| − | |||
Revision as of 14:41, August 15, 2007
/*
'''Common [[Cascading Style Sheets|CSS]] for all skins'''
'''Notice to Administrators!'''
<!--
'''<span style="color: #f00;">Please note that due to caching effects any April Fools' joke placed here can last for several days! So will any block resulting from such actions.</span>'''
-->
Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Wikipedia:Village Pump]].
Always check with the [http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&usermedium=all W3C CSS Validation Service] ([http://qa-dev.w3.org:8001/css-validator/validator?uri=http%3A%2F%2Fen.wikipedia.org%2Fw%2Findex.php%3Ftitle%3DMediaWiki%3ACommon.css%26action%3Draw%26ctype%3Dtext%2Fcss&warning=2&profile=css3&usermedium=all CVS version]) after any changes.
Thank you.
(In [[Mozilla]] and [[Opera (web browser)|Opera]], you can 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.)
See also the [[Wikipedia:Catalogue of CSS classes|catalogue of CSS classes]].
{{interwiki-all}}
<pre><nowiki>*/
/* Style for horizontal UL lists */
.horizontal ul {
padding: 0;
margin: 0;
}
.horizontal li {
padding: 0 0.6em 0 0.4em;
display: inline;
border-right: 1px solid;
}
.horizontal li:last-child {
border-right: none;
padding-right: 0;
}