diff options
Diffstat (limited to 'skins/modern/main.css')
-rw-r--r-- | skins/modern/main.css | 52 |
1 files changed, 38 insertions, 14 deletions
diff --git a/skins/modern/main.css b/skins/modern/main.css index 7149551f..40fbfd78 100644 --- a/skins/modern/main.css +++ b/skins/modern/main.css @@ -58,7 +58,7 @@ body { font-variant: small-caps; } -#p-personal h5 { +#p-personal h3 { display: none; } @@ -125,6 +125,12 @@ body { background-color: #f0f0f0; } +/* Hide, but keep accessible for screen-readers */ +#mw_portlets h2 { + position: absolute; + top: -9999px; +} + #mw_main { padding: 0 0 0 0; margin: 0 0 0 0; @@ -150,6 +156,11 @@ textarea { width: 100%; padding: .1em; } +#editform textarea { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + box-sizing: border-box; +} #searchBody { text-align: center; @@ -165,11 +176,12 @@ textarea { margin-top: .4em; } -.portlet h5 { +.portlet h3 { padding: 0.1em 0 0.3em 1em; margin: 0 0 0 0; background-color: #dddddd; font-weight: bold; + font-size: 0.83em; border-bottom: solid 1px #3c78b5; height: 1.1em; } @@ -238,7 +250,7 @@ ul { color: white; } -#p-cactions h5 { +#p-cactions h3 { display: none; } @@ -325,10 +337,6 @@ a.new:visited { color: #a55858; } -span.editsection { - font-size: small; -} - h1, h2 { border-bottom: solid 1px #003366; } @@ -397,13 +405,7 @@ h1, h2, h3, h4, h5, h6 { text-decoration: none; color: white; } - -#mw-pref-clear { - clear: both; -} - -#mw_content a.external, -#mw_content a.external[href ^="gopher://"] { +#mw_content a.external { /* @embed */ background: url(external.png) center right no-repeat; padding-right: 13px; @@ -511,6 +513,7 @@ div.magnify { float: right; border: none !important; background: none !important; + margin-left: 3px; } div.magnify a, div.magnify img { display: block; @@ -540,6 +543,27 @@ img.thumbborder { border-spacing: 0; background-color: #f0f0f0; border: solid 1px #bbbbbb; + display: -moz-inline-block; + display: inline-block; + display: table; + + /* IE7 and earliers */ + zoom: 1; + *display: inline; + + padding: 7px; +} + +/* CSS for backwards-compatibility with cached page renders and creative uses in wikitext */ +table#toc, +table.toc { + border-collapse: collapse; +} + +/* Remove additional paddings inside table-cells that are not present in <div>s */ +table#toc td, +table.toc td { + padding: 0; } #toc tr, #toc td { |