Followup r95837; Return the list-style-image for ul{} back to vector since I ended...
[lhc/web/wiklou.git] / skins / vector / screen.css
index 544642e..e035caa 100644 (file)
@@ -73,7 +73,6 @@ div#mw-head h5 {
        #p-personal {
                position: absolute;
                top: 0;
-               padding-left: 10em;
                right: 0.75em;
        }
        #p-personal h5 {
@@ -82,7 +81,7 @@ div#mw-head h5 {
        #p-personal ul {
                list-style: none;
                margin: 0;
-               padding: 0;
+               padding-left: 10em; /* Keep from overlapping logo */
        }
        /* @noflip */
        #p-personal li {
@@ -166,10 +165,6 @@ div#mw-head h5 {
                height: 1.9em;
                padding-left: 0.5em;
                padding-right: 0.5em;
-               /* @embed */
-               background-image: url(images/tab-break.png);
-               background-position: bottom right;
-               background-repeat: no-repeat;
                color: #0645ad;
                cursor: pointer;
                font-size: 0.8em;
@@ -178,6 +173,10 @@ div#mw-head h5 {
        div.vectorTabs li > a {
                display: block;
        }
+       div.vectorTabs li.icon a {
+               background-position: bottom right;
+               background-repeat: no-repeat;
+       }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs span a  {
                display: inline-block;
@@ -189,6 +188,13 @@ div#mw-head h5 {
                float: left;
                display: block;
        }
+       div.vectorTabs span {
+               display: inline-block;
+               /* @embed */
+               background-image: url(images/tab-break.png);
+               background-position: bottom right;
+               background-repeat: no-repeat;
+       }
        div.vectorTabs li.selected a,
        div.vectorTabs li.selected a:visited{
                color: #333333;
@@ -205,10 +211,13 @@ div#mw-head h5 {
                float: left;
                /* @embed */
                background-image: url(images/arrow-down-icon.png);
-               background-position: 100% 60%;
+               background-position: 0px 60%;
                background-repeat: no-repeat;
                cursor: pointer;
        }
+       div.vectorMenuFocus {
+               background-position: -22px 60%;
+       }
        /* @noflip */
        body.rtl div.vectorMenu {
                direction: rtl;
@@ -281,7 +290,8 @@ div#mw-head h5 {
        x:-moz-any-link {
                margin-left: 23px;
        }
-       div.vectorMenu:hover div.menu {
+       /* Enable forcing showing of the menu for accessibility */
+       div.vectorMenu:hover div.menu, div.vectorMenu div.menuForceShow {
                display: block;
        }
        div.vectorMenu ul {
@@ -350,6 +360,9 @@ div#mw-head h5 {
                margin-top: 0.4em;
        }
        div#simpleSearch {
+               display: block;
+               width: 14em;
+               height: 1.4em;
                margin-top: 0.65em;
                position: relative;
                min-height: 1px; /* Gotta trigger hasLayout for IE7 */
@@ -368,9 +381,11 @@ div#mw-head h5 {
                */
                font-size: 13px;
                top: 0.25em;
+               direction: ltr;
        }
        div#simpleSearch input {
                color: black;
+               direction: ltr;
        }
        div#simpleSearch input:focus {
                outline: none;
@@ -382,39 +397,50 @@ div#mw-head h5 {
                color: #999999;
        }
        div#simpleSearch input#searchInput {
+               position: absolute;
+               top: 0;
+               left: 0;
+               width: 90%;
                margin: 0;
-               border-width: 0;
-               padding: 3px;
-               vertical-align: top;
+               padding: 0;
+               padding-left: 0.2em;
+               padding-top: 0.2em;
+               padding-bottom: 0.2em;
+               outline: none;
+               border: none;
                /*
                 * DON'T PANIC! Browsers that won't scale this properly are the same browsers that have JS issues that prevent
                 * this from ever being shown anyways.
                */
                font-size: 13px;
-               width: 14em;
                background-color: transparent;
                direction: ltr;
        }
        div#simpleSearch button#searchButton {
+               position: absolute;
+               width: 10%;
+               right: 0;
+               top: 0;
                padding: 0;
-               margin: 0 5px;
+               padding-top: 0.3em;
+               padding-bottom: 0.2em;
+               padding-right: 0.4em;
+               margin: 0;
                border: none;
                cursor: pointer;
                background-color: transparent;
-               font-size: x-small;
+               background-image: none;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div#simpleSearch button#searchButton img {
                border: none;
                margin: 0;
+               margin-top: -3px;
                padding: 0;
-               padding-top: 0.5em;
-               vertical-align: middle;
        }
        /* IGNORED BY IE6 */
        div#simpleSearch button#searchButton > img {
-               padding-top: 0;
-               margin-top: -1px;
+               margin: 0;
        }
 /* Panel */
 div#mw-panel {
@@ -508,6 +534,7 @@ div#footer #footer-icons li {
        float: left;
        margin-left: 0.5em;
        line-height: 2em;
+       text-align: right;
 }
 div#footer #footer-places li {
        float: left;
@@ -603,15 +630,15 @@ div#footer #footer-places li {
        /* @embed */
        background-image: url(images/preferences-base.png);
 }
+#preferences fieldset {
+       border: none;
+       border-top: solid 1px #cccccc;
+}
 #preferences fieldset.prefsection {
        border: none;
        padding: 0;
        margin: 1em;
 }
-#preferences fieldset.prefsection fieldset {
-       border: none;
-       border-top: solid 1px #cccccc;
-}
 #preferences legend {
        color: #666666;
 }
@@ -661,314 +688,18 @@ div#content {
 #bodyContent {
        font-size: 0.8em;
 }
-/* Links */
-a {
-       text-decoration: none;
-       color: #0645ad;
-       background: none;
-}
-a:visited {
-       color: #0b0080;
-}
-a:active {
-       color: #faa700;
-}
-a:hover, a:focus {
-       text-decoration: underline;
-}
-a.stub {
-       color: #772233;
-}
-a.new, #p-personal a.new {
-       color: #ba0000;
-}
-a.new:visited, #p-personal a.new:visited {
-       color: #a55858;
-}
 
-/* Inline Elements */
-img {
-       border: none;
-       vertical-align: middle;
-}
-hr {
-       height: 1px;
-       color: #aaa;
-       background-color: #aaa;
-       border: 0;
-       margin: .2em 0 .2em 0;
-}
-
-/* Structural Elements */
-h1,
-h2,
-h3,
-h4,
-h5,
-h6 {
-       color: black;
-       background: none;
-       font-weight: normal;
-       margin: 0;
-       overflow: hidden;
-       padding-top: .5em;
-       padding-bottom: .17em;
-       border-bottom: 1px solid #aaa;
-       width: auto;
-}
-h1 { font-size: 188%; }
-h1 .editsection { font-size: 53%; }
-h2 { font-size: 150%; }
-h2 .editsection { font-size: 67%; }
-h3,
-h4,
-h5,
-h6 {
-       border-bottom: none;
-       font-weight: bold;
-}
-h3 { font-size: 132%; }
-h3 .editsection { font-size: 76%; font-weight: normal; }
-h4 { font-size: 116%; }
-h4 .editsection { font-size: 86%; font-weight: normal; }
-h5 { font-size: 100%; }
-h5 .editsection { font-weight: normal; }
-h6 { font-size: 80%;  }
-h6 .editsection { font-size: 125%; font-weight: normal; }
 .editsection { float: right; }
-p {
-       margin: .4em 0 .5em 0;
-       line-height: 1.5em;
-}
-       p img {
-               margin: 0;
-       }
-abbr,
-acronym,
-.explain {
-       border-bottom: 1px dotted black;
-       color: black;
-       background: none;
-       cursor: help;
-}
-q {
-       font-family: Times, "Times New Roman", serif;
-       font-style: italic;
-}
-/* Disabled for now
-blockquote {
-       font-family: Times, "Times New Roman", serif;
-       font-style: italic;
-}*/
-pre, code, tt, kbd, samp {
-       /*
-        * It's important for this rule to first reference an actual font name, some browsers will render the monospace text
-        * too small otherwise, namely Firefox, Chrome and Safari
-        */
-       font-family: monospace, "Courier New";
-}
-code {
-       background-color: #f9f9f9;
-}
-pre {
-       padding: 1em;
-       border: 1px dashed #2f6fab;
-       color: black;
-       background-color: #f9f9f9;
-       line-height: 1.1em;
-}
+
 ul {
-       line-height: 1.5em;
-       list-style-type: square;
-       margin: .3em 0 0 1.5em;
-       padding: 0;
        /* @embed */
        list-style-image: url(images/bullet-icon.png);
 }
-ol {
-       line-height: 1.5em;
-       margin: .3em 0 0 3.2em;
-       padding: 0;
-       list-style-image: none;
-}
-li {
-       margin-bottom: .1em;
-}
-dt {
-       font-weight: bold;
-       margin-bottom: .1em;
-}
-dl {
-       margin-top: .2em;
-       margin-bottom: .5em;
-}
-dd {
-       line-height: 1.5em;
-       margin-left: 2em;
-       margin-bottom: .1em;
-}
-/* Tables */
-table {
-       font-size: 100%;
-       color: black;
-       /* we don't want the bottom borders of <h2>s to be visible through
-        * floated tables */
-       background-color: white;
-}
-fieldset table {
-       /* but keep table layouts in forms clean... */
-       background: none;
-}
-/* Forms */
-fieldset {
-       border: 1px solid #2f6fab;
-       margin: 1em 0 1em 0;
-       padding: 0 1em 1em;
-       line-height: 1.5em;
-}
-       fieldset.nested {
-               margin: 0 0 0.5em 0;
-               padding: 0 0.5em 0.5em;
-       }
-legend {
-       padding: .5em;
-       font-size: 95%;
-}
-form {
-       border: none;
-       margin: 0;
-}
-textarea {
-       width: 100%;
-       padding: .1em;
-}
-select {
-       vertical-align: top;
-}
-/* Table of Contents */
-#toc,
-.toc,
-.mw-warning {
-       border: 1px solid #aaa;
-       background-color: #f9f9f9;
-       padding: 5px;
-       font-size: 95%;
-}
-#toc h2,
-.toc h2 {
-       display: inline;
-       border: none;
-       padding: 0;
-       font-size: 100%;
-       font-weight: bold;
-}
-#toc #toctitle,
-.toc #toctitle,
-#toc .toctitle,
-.toc .toctitle {
-       text-align: center;
-}
-#toc ul,
-.toc ul {
-       list-style-type: none;
-       list-style-image: none;
-       margin-left: 0;
-       padding-left: 0;
-       text-align: left;
-}
-#toc ul ul,
-.toc ul ul {
-       margin: 0 0 0 2em;
-}
-#toc .toctoggle,
-.toc .toctoggle {
-       font-size: 94%;
-}
-/* Images */
-div.floatright, table.floatright {
-       clear: right;
-       float: right;
-       position: relative;
-       margin: 0 0 .5em .5em;
-       border: 0;
-}
-div.floatright p { font-style: italic; }
-div.floatleft, table.floatleft {
-       float: left;
-       clear: left;
-       position: relative;
-       margin: 0 .5em .5em 0;
-       border: 0;
-}
-div.floatleft p { font-style: italic; }
-/* Thumbnails */
-div.thumb {
-       margin-bottom: .5em;
-       width: auto;
-       background-color: transparent;
-}
-div.thumbinner {
-       border: 1px solid #ccc;
-       padding: 3px !important;
-       background-color: #f9f9f9;
-       font-size: 94%;
-       text-align: center;
-       overflow: hidden;
-}
-html .thumbimage {
-       border: 1px solid #ccc;
-}
-html .thumbcaption {
-       border: none;
-       text-align: left;
-       line-height: 1.4em;
-       padding: 3px !important;
-       font-size: 94%;
-}
-div.magnify {
-       float: right;
-       border: none !important;
-       background: none !important;
-}
-div.magnify a, div.magnify img {
-       display: block;
-       border: none !important;
-       background: none !important;
-}
-/* @noflip */
-div.tright {
-       clear: right;
-       float: right;
-       margin: .5em 0 1.3em 1.4em;
-}
-/* @noflip */
-div.tleft {
-       float: left;
-       clear: left;
-       margin: .5em 1.4em 1.3em 0;
-}
-img.thumbborder {
-       border: 1px solid #dddddd;
-}
-.hiddenStructure {
-       display: none;
-}
-/* Warning */
-.mw-warning {
-       margin-left: 50px;
-       margin-right: 50px;
-       text-align: center;
-}
-/* User Message */
-.usermessage {
-       background-color: #e0e8ff;
-       border: 1px solid #99b3ff;
-       color: black;
-       font-weight: bold;
-       margin: 2em 0 1em;
-       padding: .5em 1em;
-       vertical-align: middle;
+
+pre {
+       line-height: 1.3em;
 }
+
 /* Site Notice (includes notices from CentralNotice extension) */
 #siteNotice {
        position: relative;
@@ -979,47 +710,6 @@ img.thumbborder {
 #localNotice {
        margin-bottom: 0.9em;
 }
-/* Categories */
-.catlinks {
-       border: 1px solid #aaa;
-       background-color: #f9f9f9;
-       padding: 5px;
-       margin-top: 1em;
-       clear: both;
-}
-/* Sub-navigation */
-#siteSub {
-       display: none;
-}
-#jump-to-nav {
-       display: none;
-}
-#contentSub, #contentSub2 {
-       font-size: 84%;
-       line-height: 1.2em;
-       margin: 0 0 1.4em 1em;
-       color: #7d7d7d;
-       width: auto;
-}
-span.subpages {
-       display: block;
-}
-/* Emulate Center */
-.center {
-       width: 100%;
-       text-align: center;
-}
-*.center * {
-       margin-left: auto;
-       margin-right: auto;
-}
-/* Small for tables and similar */
-.small, .small * {
-       font-size: 94%;
-}
-table.small {
-       font-size: 100%;
-}
 /* Edge Cases for Content */
 h1, h2 {
        margin-bottom: .6em;
@@ -1067,6 +757,8 @@ div#content a[href ^="ftp://"],
 }
 div#content a[href ^="irc://"],
 div#content a.extiw[href ^="irc://"],
+div#content a[href ^="ircs://"],
+div#content a.extiw[href ^="ircs://"],
 .link-irc {
        /* @embed */
        background: url(images/talk-icon.png) center right no-repeat;
@@ -1100,16 +792,7 @@ div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
        background: url("images/document-icon.png?2") center right no-repeat;
        padding-right: 13px;
 }
-/* Interwiki Styling  (Disabled) */
-div#content a.extiw,
-div#content a.extiw:active {
-       color: #36b;
-       background: none;
-       padding: 0;
-}
-div#content a.external {
-       color: #36b;
-}
+
 div#content .printfooter {
        display: none;
 }
@@ -1123,12 +806,14 @@ div#content .printfooter {
        text-transform: none;
 }
 
-.toccolours {
-       border: 1px solid #aaa;
-       background-color: #f9f9f9;
-       padding: 5px;
-       font-size: 95%;
+.redirectText {
+       font-size: 140%;
+}
+
+.redirectMsg img {
+       vertical-align: text-bottom;
 }
+
 #bodyContent {
        position: relative;
        width: 100%;
@@ -1141,11 +826,6 @@ div#bodyContent {
 }
 
 /* Watch/Unwatch Icon Styling */
-#ca-unwatch.icon,
-#ca-watch.icon {
-       margin-right:1px;
-}
-/* OVERRIDDEN BY COMPLIANT BROWSERS */
 #ca-unwatch.icon a,
 #ca-watch.icon a {
        margin: 0;
@@ -1155,17 +835,14 @@ div#bodyContent {
        width: 26px;
        /* This hides the text but shows the background image */
        padding-top: 3.1em;
-       margin-top: -0.8em;
+       margin-top: 0;
+       /* Only applied in IE6 */
+       margin-top: -0.8em !ie;
        height: 0;
        overflow: hidden;
        /* @embed */
        background-image: url(images/watch-icons.png);
 }
-/* IGNORED BY IE6 */
-html > body #ca-unwatch.icon a,
-html > body #ca-watch.icon a {
-       margin-top: 0;
-}
 #ca-unwatch.icon a {
        background-position: -43px 60%;
 }
@@ -1184,7 +861,7 @@ html > body #ca-watch.icon a {
 #ca-watch.icon a.loading {
        /* @embed */
        background-image: url(images/watch-icon-loading.gif);
-       background-position: center 60%;
+       background-position: 5px 60%;
 }
 #ca-unwatch.icon a span,
 #ca-watch.icon a span {
@@ -1197,13 +874,7 @@ div.vectorTabs ul {
        background-repeat:no-repeat;
 }
 
-/* Convenience links to edit block, delete and protect reasons */
-p.mw-ipb-conveniencelinks, p.mw-protect-editreasons,
-p.mw-filedelete-editreasons, p.mw-delete-editreasons {
-       float: right;
-}
-
 /* Tooltips are outside of the normal body code, so this helps make the size of the text sensible */
 .tipsy {
        font-size: 0.8em;
-}
\ No newline at end of file
+}