Line 7: |
Line 7: |
| Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Centiare:Village Pump]]. | | Any changes to [[Mediawiki:Monobook.css|Monobook.css]] or [[MediaWiki:Common.css|Common.css]] should be first proposed to [[Centiare: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] after any changes. | + | 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. | + | 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.) | | (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]]. | + | See also the [[Centiare:Catalogue of CSS classes|catalogue of CSS classes]]. |
| {{interwiki-all}} | | {{interwiki-all}} |
| <pre><nowiki>*/ | | <pre><nowiki>*/ |
Line 42: |
Line 42: |
| margin: 1em 1em 1em 0; | | margin: 1em 1em 1em 0; |
| background: #f9f9f9; | | background: #f9f9f9; |
− | border: 1px #aaaaaa solid; | + | border: 1px #aaa solid; |
| border-collapse: collapse; | | border-collapse: collapse; |
| } | | } |
Line 48: |
Line 48: |
| 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: 1px #aaaaaa solid; | + | border: 1px #aaa solid; |
| padding: 0.2em; | | padding: 0.2em; |
| } | | } |
Line 68: |
Line 68: |
| table.navbox { | | table.navbox { |
| background-color: #f9f9f9; | | background-color: #f9f9f9; |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| clear: both; | | clear: both; |
| font-size: 90%; | | font-size: 90%; |
Line 78: |
Line 78: |
| | | |
| table.navbox th { | | table.navbox th { |
− | background-color: #ccccff; | + | background-color: #ccf; |
| padding-left: 1em; | | padding-left: 1em; |
| padding-right: 1em; | | padding-right: 1em; |
Line 84: |
Line 84: |
| | | |
| table.navbox tr:not(:first-child) th { | | table.navbox tr:not(:first-child) th { |
− | background-color: #ddddff; | + | background-color: #ddf; |
| } | | } |
| | | |
Line 96: |
Line 96: |
| | | |
| .infobox { | | .infobox { |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| background-color: #f9f9f9; | | background-color: #f9f9f9; |
| color: black; | | color: black; |
Line 118: |
Line 118: |
| .infobox.bordered td, | | .infobox.bordered td, |
| .infobox.bordered th { | | .infobox.bordered th { |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| } | | } |
| .infobox.bordered .borderless td, | | .infobox.bordered .borderless td, |
Line 128: |
Line 128: |
| width: 20em; | | width: 20em; |
| font-size: 90%; | | font-size: 90%; |
| + | } |
| + | |
| + | @media print { |
| + | .infobox.sisterproject { |
| + | display: none; |
| + | } |
| } | | } |
| | | |
Line 134: |
Line 140: |
| .infobox.bordered .mergedtoprow th { | | .infobox.bordered .mergedtoprow th { |
| border: 0; | | border: 0; |
− | border-top: 1px solid #aaaaaa; | + | border-top: 1px solid #aaa; |
− | border-right: 1px solid #aaaaaa; | + | border-right: 1px solid #aaa; |
| } | | } |
| | | |
Line 141: |
Line 147: |
| .infobox.bordered .mergedrow th { | | .infobox.bordered .mergedrow th { |
| border: 0; | | border: 0; |
− | border-right: 1px solid #aaaaaa; | + | border-right: 1px solid #aaa; |
| } | | } |
| | | |
| | | |
− | /* styles for geography infoboxes, e.g. countries, national subdivisions, cities, etc. */ | + | /* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */ |
| | | |
| .infobox.geography { | | .infobox.geography { |
Line 192: |
Line 198: |
| | | |
| #disambig { | | #disambig { |
− | border-top: 1px solid #cccccc; | + | border-top: 1px solid #ccc; |
− | border-bottom: 1px solid #cccccc; | + | border-bottom: 1px solid #ccc; |
| } | | } |
| | | |
Line 224: |
Line 230: |
| /* Metadata */ | | /* Metadata */ |
| table.metadata { | | table.metadata { |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| display: none; | | display: none; |
| speak: none; | | speak: none; |
| } | | } |
| .metadata-label { | | .metadata-label { |
− | color: #aaaaaa; | + | color: #aaa; |
| } | | } |
| | | |
| /* Persondata */ | | /* Persondata */ |
| table.persondata { | | table.persondata { |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| display: none; | | display: none; |
| speak: none; | | speak: none; |
| } | | } |
| .persondata-label { | | .persondata-label { |
− | color: #aaaaaa; | + | color: #aaa; |
| } | | } |
| | | |
Line 400: |
Line 406: |
| | | |
| .messagebox { | | .messagebox { |
− | border: 1px solid #aaaaaa; | + | border: 1px solid #aaa; |
| background-color: #f9f9f9; | | background-color: #f9f9f9; |
| width: 80%; | | width: 80%; |
Line 475: |
Line 481: |
| #EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; } | | #EnWpMpSearch { background: url(http://upload.wikimedia.org/wikipedia/en/a/ae/MP-magnifying-glass.png) no-repeat top right; } |
| #EnWpMpSearchInner { float: right; width: 20em; text-align: center; } | | #EnWpMpSearchInner { float: right; width: 20em; text-align: center; } |
| + | #EnWpMpBook2 { background-image: url(http://upload.wikimedia.org/wikipedia/commons/8/8e/MP-open-book2.png); } |
| | | |
| .messagebox.small-talk { | | .messagebox.small-talk { |
Line 484: |
Line 491: |
| line-height: 1.25em; | | line-height: 1.25em; |
| background: #F8EABA; | | background: #F8EABA; |
| + | } |
| + | |
| + | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ |
| + | |
| + | div.Boxmerge, |
| + | div.NavFrame { |
| + | margin: 0px; |
| + | padding: 2px; |
| + | border: 1px solid #aaa; |
| + | text-align: center; |
| + | border-collapse: collapse; |
| + | font-size: 95%; |
| + | } |
| + | div.Boxmerge div.NavFrame { |
| + | border-style: none; |
| + | border-style: hidden; |
| + | } |
| + | div.NavFrame + div.NavFrame { |
| + | border-top-style: none; |
| + | border-top-style: hidden; |
| + | } |
| + | div.NavPic { |
| + | background-color: #fff; |
| + | margin: 0px; |
| + | padding: 2px; |
| + | float: left; |
| + | } |
| + | div.NavFrame div.NavHead { |
| + | height: 1.6em; |
| + | font-weight: bold; |
| + | font-size: 100%; |
| + | background-color: #efefef; |
| + | position:relative; |
| + | } |
| + | div.NavFrame p { |
| + | font-size: 100%; |
| + | } |
| + | div.NavFrame div.NavContent { |
| + | font-size: 100%; |
| + | } |
| + | div.NavFrame div.NavContent p { |
| + | font-size: 100%; |
| + | } |
| + | div.NavEnd { |
| + | margin: 0px; |
| + | padding: 0px; |
| + | line-height: 1px; |
| + | clear: both; |
| + | } |
| + | a.NavToggle { |
| + | position:absolute; |
| + | top:0px; |
| + | right:3px; |
| + | font-weight:normal; |
| + | font-size:smaller; |
| } | | } |
| | | |
| /*</nowiki></pre>*/ | | /*</nowiki></pre>*/ |