Improved the wrapping of personal tools for Vector in IE 5.5 and 6.
[lhc/web/wiklou.git] / skins / vector / main-ltr.css
index db6d6c1..a5df0ee 100644 (file)
@@ -21,51 +21,57 @@ body {
        margin: 0;
        padding: 0;
        font-family: sans-serif;
-       font-size: 0.9em;
+       font-size: 1em;
 }
 body {
        background-color: #f3f3f3;
-       background-image: url(images/page-base.png);
+       background-image: url(images/page-base.png?1);
 }
 /* Content */
-#content {
-       margin-left: 12em;
+div#content {
+       margin-left: 10em;
        padding: 1em;
-       background-image: url(images/border.png);
+       background-image: url(images/border.png?1);
        background-position: top left;
        background-repeat: repeat-y;
        background-color: white;
+       color: black;
 }
 /* Head */
-#page-base {
-       height: 6em;
+#mw-page-base {
+       height: 5em;
        background-color: white;
-       background-image: url(images/page-fade.png);
+       background-image: url(images/page-fade.png?1);
        background-position: bottom left;
        background-repeat: repeat-x;
 }
-#head-base {
-       margin-top: -6em;
-       margin-left: 12em;
-       height: 6em;
-       background-image: url(images/border.png);
+#mw-head-base {
+       margin-top: -5em;
+       margin-left: 10em;
+       height: 5em;
+       background-image: url(images/border.png?1);
        background-position: bottom left;
        background-repeat: repeat-x;
 }
-#head {
+div#mw-head {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
 }
-#head h5 {
+div#mw-head h5 {
        margin: 0;
        padding: 0;
 }
+       /* Hide empty portlets */
+       div.emptyPortlet {
+               display: none;
+       }
        /* Personal */
        #p-personal {
                position: absolute;
                top: 0;
+               padding-left: 10em;
                right: 0.75em;
        }
        #p-personal h5 {
@@ -81,20 +87,22 @@ body {
                line-height: 1.125em;
                float: left;
        }
+       /* This one flips! */
        #p-personal li {
                margin-left: 0.75em;
                margin-top: 0.5em;
-               font-size: 0.9em;
+               font-size: 0.75em;
+               white-space: nowrap;
        }
        /* Navigation Containers */
        #left-navigation {
                position: absolute;
-               left: 12em;
-               top: 3em;
+               left: 10em;
+               top: 2.5em;
        }
        #right-navigation {
                float: right;
-               margin-top: 3em;
+               margin-top: 2.5em;
        }
        /* Navigation Labels */
        div.vectorTabs h5,
@@ -105,9 +113,10 @@ body {
        /* @noflip */
        div.vectorTabs {
                float: left;
+               height: 2.5em;
        }
        div.vectorTabs {
-               background-image: url(images/tab-break.png);
+               background-image: url(images/tab-break.png?1);
                background-position: bottom left;
                background-repeat: no-repeat;
                padding-left: 1px;
@@ -134,24 +143,25 @@ body {
                margin: 0;
                padding: 0;
                background-color: #f3f3f3;
-               background-image: url(images/tab-normal-fade.png);
+               background-image: url(images/tab-normal-fade.png?1);
                background-position: bottom left;
                background-repeat: repeat-x;
+               white-space:nowrap;
        }
        /* IGNORED BY IE6 */
        div.vectorTabs ul > li {
                display: block;
        }
        div.vectorTabs li.selected {
-               background-image: url(images/tab-current-fade.png);
+               background-image: url(images/tab-current-fade.png?1);
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        div.vectorTabs li a {
                display: inline-block;
-               height: 3em;
-               padding-left: 0.5em;
-               padding-right: 0.5em;
-               background-image: url(images/tab-break.png);
+               height: 2.5em;
+               padding-left: 0.4em;
+               padding-right: 0.4em;
+               background-image: url(images/tab-break.png?1);
                background-position: bottom right;
                background-repeat: no-repeat;
        }
@@ -160,6 +170,9 @@ body {
                color: #0645ad;
                cursor: pointer;
        }
+       div.vectorTabs li a span {
+               font-size: 0.8em;
+       }
        /* IGNORED BY IE6 */
        div.vectorTabs li > a {
                display: block;
@@ -193,27 +206,52 @@ body {
        div.vectorMenu {
                direction: ltr;
                float: left;
-               background-image: url(images/arrow-down-icon.png);
-               background-position: center center;
+               background-image: url(images/arrow-down-icon.png?1);
+               background-position: 100% 60%;
                background-repeat: no-repeat;
+               cursor: pointer;
        }
+       /* @noflip */
        body.rtl div.vectorMenu {
                direction: rtl;
        }
+       /* OVERRIDDEN BY COMPLIANT BROWSERS */
        /* @noflip */
-       div.vectorMenu h5 {
+       div#mw-head div.vectorMenu h5 {
                float: left;
+               background-image: url(images/tab-break.png?1);
+               background-repeat: no-repeat;
+       }
+       /* IGNORED BY IE6 */
+       div#mw-head div.vectorMenu > h5 {
+               background-image: none;
+       }
+       div#mw-head div.vectorMenu h5 {
+               background-position: bottom left;
+               margin-left: -1px;
+       }
+       div#mw-head div.vectorMenu h4 {
+               display: inline-block;
+               float: left;
+               font-size: 0.8em;
+               padding-left: 0.5em;
+               padding-top: 1.375em;
+               font-weight: normal;
+               border: none;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       /* @noflip */
        div.vectorMenu h5 a {
                display: inline-block;
                width: 24px;
-               height: 3em;
+               height: 2.5em;
                text-decoration: none;
-               background-image: url(images/tab-break.png);
-               background-position: bottom right;
+               background-image: url(images/tab-break.png?1);
                background-repeat: no-repeat;
        }
+       div.vectorMenu h5 a{
+               background-position: bottom right;
+       }
        /* IGNORED BY IE6 */
        div.vectorMenu h5 > a {
                display: block;
@@ -225,17 +263,20 @@ body {
                text-align: left;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
+       /* @noflip */
        body.rtl div.vectorMenu div.menu {
-               margin-right: 24px;
+               margin-left: 24px;
        }
        /* IGNORED BY IE6 */
+       /* @noflip */
        body.rtl div.vectorMenu > div.menu {
-               margin-right: auto;
+               margin-left: auto;
        }
        /* Fixes old versions of FireFox */
+       /* @noflip */
        body.rtl div.vectorMenu > div.menu,
        x:-moz-any-link {
-               margin-right: 24px;
+               margin-left: 23px;
        }
        div.vectorMenu:hover div.menu {
                display: block;
@@ -256,7 +297,7 @@ body {
        /* Fixes old versions of FireFox */
        div.vectorMenu ul,
        x:-moz-any-link {
-               min-width: 6em;
+               min-width: 5em;
        }
        /* Returns things back to normal in modern versions of FireFox */
        div.vectorMenu ul,
@@ -280,6 +321,16 @@ body {
        div.vectorMenu li > a {
                display: block;
        }
+       div.vectorMenu li a {
+               color: #0645ad;
+               cursor: pointer;
+               font-size: 0.8em;
+       }
+       div.vectorMenu li.selected a,
+       div.vectorMenu li.selected a:visited {
+               color: #333333;
+               text-decoration: none;
+       }
        /* Search */
        #p-search h5 {
                display: none;
@@ -297,129 +348,143 @@ body {
                margin: 0;
                margin-top: 0.4em;
        }
-       #simpleSearch {
-               margin-top: 0.75em;
+       div#simpleSearch {
+               margin-top: 0.65em;
                position: relative;
                border: solid 1px #AAAAAA;
                background-color: white;
-               background-image: url(images/search-fade.png);
+               background-image: url(images/search-fade.png?1);
                background-position: top left;
                background-repeat: repeat-x;
        }
-       #simpleSearch input#searchInput {
+       div#simpleSearch label {
+               /*
+                * 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;
+               top: 0.25em;
+       }
+       div#simpleSearch input#searchInput {
                margin: 0;
                border-width: 0;
-               padding: 0.25em;
+               padding: 3px;
                line-height: 1em;
-               font-size: 0.9em;
-               width: 9em;
+               /*
+                * 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;
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
-       #simpleSearch button#searchButton {
+       div#simpleSearch button#searchButton {
                margin: 0;
                padding: 0;
                width: 1.75em;
-               height: 1.5em;
+               height: 16px;
                border: none;
                cursor: pointer;
                background-color: transparent;
-               background-image: url(images/search-ltr.png);
+               background-image: url(images/search-ltr.png?1);
                background-position: center center;
                background-repeat: no-repeat;
        }
        /* IGNORED BY IE6 */
-       #simpleSearch > button#searchButton {
+       div#simpleSearch > button#searchButton {
                height: 100%;
        }
 /* Panel */
-#panel {
+div#mw-panel {
        position: absolute;
-       top: 12em;
-       width: 12em;
+       top: 160px;
+       padding-top: 1em;
+       width: 10em;
        left: 0;
 }
-       #panel div.portal {
-               padding-top: 1.5em;
+       div#mw-panel div.portal {
+               padding-bottom: 1.5em;
        }
-       #panel div.portal h5 {
+       div#mw-panel div.portal h5 {
                font-weight: normal;
                color: #444444;
-               padding: 0.5em;
+               padding: 0.25em;
                padding-top: 0;
-               padding-left: 1.25em;
+               padding-left: 1.75em;
                cursor: default;
                border: none;
-               font-size: 0.9em;
+               font-size: 0.75em;
        }
-       #panel div.portal div.body {
+       div#mw-panel div.portal div.body {
                margin: 0;
                padding-top: 0.5em;
                margin-left: 1.25em;
-               background-image: url(images/portal-break-ltr.png);
+               background-image: url(images/portal-break.png?1);
                background-repeat: no-repeat;
                background-position: top left;
        }
-       #panel div.portal div.body ul {
+       div#mw-panel div.portal div.body ul {
                list-style: none;
                list-style-image: none;
                list-style-type: none;
                padding: 0;
                margin: 0;
        }
-       #panel div.portal div.body ul li {
+       div#mw-panel div.portal div.body ul li {
                line-height: 1.125em;
                padding: 0;
                padding-bottom: 0.5em;
                margin: 0;
                overflow: hidden;
-               font-size: 0.9em;
+               font-size: 0.75em;
        }
-       #panel div.portal div.body ul li a {
+       div#mw-panel div.portal div.body ul li a {
                color: #0645ad;
        }
-       #panel div.portal div.body ul li a:visited {
+       div#mw-panel div.portal div.body ul li a:visited {
                color: #0b0080;
        }
 /* Footer */
-#footer {
-       margin-left: 12em;
+div#footer {
+       margin-left: 10em;
        margin-top: 0;
        padding: 0.75em;
-       background-image: url(images/border.png);
+       background-image: url(images/border.png?1);
        background-position: top left;
        background-repeat: repeat-x;
 }
-#footer ul {
+div#footer ul {
        list-style: none;
        list-style-image: none;
        list-style-type: none;
        margin: 0;
        padding: 0;
 }
-#footer ul li {
+div#footer ul li {
        margin: 0;
        padding: 0;
        padding-top: 0.5em;
        padding-bottom: 0.5em;
        color: #333333;
-       font-size: 0.9em;
+       font-size: 0.7em;
 }
-#footer #footer-icons {
+div#footer #footer-icons {
        float: right;
 }
-#footer #footer-places {
+/* @noflip */
+body.ltr div#footer #footer-places {
        float: left;
 }
-#footer #footer-info li {
+div#footer #footer-info li {
        line-height: 1.4em;
 }
-#footer #footer-icons li {
+div#footer #footer-icons li {
        float: left;
        margin-left: 0.5em;
        line-height: 2em;
 }
-#footer #footer-places li {
+div#footer #footer-places li {
        float: left;
        margin-right: 1em;
        line-height: 2em;
@@ -427,17 +492,17 @@ body {
 /* Logo */
 #p-logo {
        position: absolute;
-       top: -12em;
+       top: -160px;
        left: 0;
-       height: 12em;
-       width: 12em;
+       width: 10em;
+       height: 160px;
 }
 #p-logo a {
        display: block;
-       width: 12em;
-       height: 12em;
+       width: 10em;
+       height: 160px;
        background-repeat: no-repeat;
-       background-position: 50% 50%;
+       background-position: center center;
        text-decoration: none;
 }
 
@@ -456,7 +521,7 @@ body {
        clear: both;
        margin: 0 !important;
        padding: 0 !important;
-       background-image: url(images/preferences-break.png);
+       background-image: url(images/preferences-break.png?1);
        background-position: bottom left;
        background-repeat: no-repeat;
 }
@@ -470,7 +535,7 @@ body {
                white-space: nowrap;
                list-style-type: none;
                list-style-image: none;
-               background-image: url(images/preferences-break.png);
+               background-image: url(images/preferences-break.png?1);
                background-position: bottom right;
                background-repeat: no-repeat;
        }
@@ -492,7 +557,7 @@ body {
                text-decoration: underline;
        }
        #preftoc li.selected a {
-               background-image: url(images/preferences-fade.png);
+               background-image: url(images/preferences-fade.png?1);
                background-position: bottom;
                background-repeat: repeat-x;
                color: #333333;
@@ -506,7 +571,7 @@ body {
        clear: both;
        border: solid 1px #cccccc;
        background-color: #f9f9f9;
-       background-image: url(images/preferences-base.png);
+       background-image: url(images/preferences-base.png?1);
 }
 #preferences fieldset.prefsection {
        border: none;
@@ -539,14 +604,33 @@ body {
        margin-right: 0.25em;
 }
 
+/* 
+ * Styles for the user login and create account forms
+ */
+#userlogin, #userloginForm {
+       border: solid 1px #cccccc;
+       padding: 1.2em;
+       margin: .5em;
+       float: left;
+}
+
+#userlogin {
+       min-width: 20em;
+       max-width: 90%;
+       width: 40em;
+}
+
 /*
  * 
  * The following code is slightly modified from monobook
  * 
  */
-#content {
+div#content {
        line-height: 1.5em;
 }
+#bodyContent {
+       font-size: 0.8em;
+}
 /* Links */
 a {
        text-decoration: none;
@@ -644,6 +728,9 @@ blockquote {
        font-family: Times, "Times New Roman", serif;
        font-style: italic;
 }*/
+pre, code, tt {
+       font-family: monospace, sans-serif;
+}
 code {
        background-color: #f9f9f9;
 }
@@ -652,15 +739,14 @@ pre {
        border: 1px dashed #2f6fab;
        color: black;
        background-color: #f9f9f9;
-       line-height: 1.2em;
-       font-size: 1.2em;
+       line-height: 1.1em;
 }
 ul {
        line-height: 1.5em;
        list-style-type: square;
        margin: .3em 0 0 1.5em;
        padding: 0;
-       list-style-image: url(images/bullet-icon.png);
+       list-style-image: url(images/bullet-icon.png?1);
 }
 ol {
        line-height: 1.5em;
@@ -847,18 +933,15 @@ img.thumbborder {
        padding: .5em 1em;
        vertical-align: middle;
 }
-/* Site Notice */
+/* Site Notice (includes notices from CentralNotice extension) */
 #siteNotice {
        text-align: center;
-       font-size: 95%;
+       font-size: 0.8em;
        margin: 0;
 }
-       #siteNotice div,
-       #siteNotice p {
-               margin: 0;
-               padding: 0;
-               margin-bottom: 0.9em;
-       }
+#localNotice {
+       margin-bottom: 0.9em;
+}
 /* Categories */
 .catlinks {
        border: 1px solid #aaa;
@@ -913,81 +996,82 @@ h3, h4, h5 {
        padding-top: 0;
        margin-bottom: 0.1em;
        line-height: 1.2em;
+       font-size: 1.6em;
        padding-bottom: 0;
 }
-#content a.external,
-#content a[href ^="gopher://"] {
-       background: url(images/external-link-ltr-icon.png) center right no-repeat;
+div#content a.external,
+div#content a[href ^="gopher://"] {
+       background: url(images/external-link-ltr-icon.png?2) center right no-repeat;
        padding: 0 13px 0 0;
 }
-#content a[href ^="https://"],
+div#content a[href ^="https://"],
 .link-https {
-       background: url(images/lock-icon.png) center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url(images/lock-icon.png?2) center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a[href ^="mailto:"],
+div#content a[href ^="mailto:"],
 .link-mailto {
-       background: url(images/mail-icon.png) center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url(images/mail-icon.png?2) center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a[href ^="news://"] {
-       background: url(images/news-icon.png) center right no-repeat;
-       padding: 0 18px 0 0;
+div#content a[href ^="news://"] {
+       background: url(images/news-icon.png?2) center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a[href ^="ftp://"],
+div#content a[href ^="ftp://"],
 .link-ftp {
-       background: url(images/file-icon.png) center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url(images/file-icon.png?2) center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a[href ^="irc://"],
-#content a.extiw[href ^="irc://"],
+div#content a[href ^="irc://"],
+div#content a.extiw[href ^="irc://"],
 .link-irc {
-       background: url(images/talk-icon.png) center right no-repeat;
-       padding: 0 18px 0 0;
-}
-#content a.external[href $=".ogg"], #content a.external[href $=".OGG"],
-#content a.external[href $=".mid"], #content a.external[href $=".MID"],
-#content a.external[href $=".midi"], #content a.external[href $=".MIDI"],
-#content a.external[href $=".mp3"], #content a.external[href $=".MP3"],
-#content a.external[href $=".wav"], #content a.external[href $=".WAV"],
-#content a.external[href $=".wma"], #content a.external[href $=".WMA"],
+       background: url(images/talk-icon.png?2) center right no-repeat;
+       padding: 0 13px 0 0;
+}
+div#content a.external[href $=".ogg"], div#content a.external[href $=".OGG"],
+div#content a.external[href $=".mid"], div#content a.external[href $=".MID"],
+div#content a.external[href $=".midi"], div#content a.external[href $=".MIDI"],
+div#content a.external[href $=".mp3"], div#content a.external[href $=".MP3"],
+div#content a.external[href $=".wav"], div#content a.external[href $=".WAV"],
+div#content a.external[href $=".wma"], div#content a.external[href $=".WMA"],
 .link-audio {
-       background: url("images/audio-icon.png") center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url("images/audio-icon.png?2") center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a.external[href $=".ogm"], #content a.external[href $=".OGM"],
-#content a.external[href $=".avi"], #content a.external[href $=".AVI"],
-#content a.external[href $=".mpeg"], #content a.external[href $=".MPEG"],
-#content a.external[href $=".mpg"], #content a.external[href $=".MPG"],
+div#content a.external[href $=".ogm"], div#content a.external[href $=".OGM"],
+div#content a.external[href $=".avi"], div#content a.external[href $=".AVI"],
+div#content a.external[href $=".mpeg"], div#content a.external[href $=".MPEG"],
+div#content a.external[href $=".mpg"], div#content a.external[href $=".MPG"],
 .link-video {
-       background: url("images/video-icon.png") center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url("images/video-icon.png?2") center right no-repeat;
+       padding: 0 13px 0 0;
 }
-#content a.external[href $=".pdf"], #content a.external[href $=".PDF"],
-#content a.external[href *=".pdf#"], #content a.external[href *=".PDF#"],
-#content a.external[href *=".pdf?"], #content a.external[href *=".PDF?"],
+div#content a.external[href $=".pdf"], div#content a.external[href $=".PDF"],
+div#content a.external[href *=".pdf#"], div#content a.external[href *=".PDF#"],
+div#content a.external[href *=".pdf?"], div#content a.external[href *=".PDF?"],
 .link-document {
-       background: url("images/document-icon.png") center right no-repeat;
-       padding: 0 18px 0 0;
+       background: url("images/document-icon.png?2") center right no-repeat;
+       padding: 0 13px 0 0;
 }
 /* Interwiki Styling  (Disabled) */
-#content a.extiw,
-#content a.extiw:active {
+div#content a.extiw,
+div#content a.extiw:active {
        color: #36b;
        background: none;
        padding: 0;
 }
-#content a.external {
+div#content a.external {
        color: #36b;
 }
-#content .printfooter {
+div#content .printfooter {
        display: none;
 }
 /* Icon for Usernames */
 #pt-userpage,
 #pt-anonuserpage,
 #pt-login {
-       background: url(images/user-icon.png) left top no-repeat;
+       background: url(images/user-icon.png?1) left top no-repeat;
        padding-left: 15px !important;
        text-transform: none;
 }
@@ -1001,4 +1085,55 @@ h3, h4, h5 {
 #bodyContent {
        position: relative;
        width: 100%;
-}
\ No newline at end of file
+}
+#mw-js-message {
+       font-size: 0.8em;
+}
+div#bodyContent {
+       line-height: 1.5em;
+}
+
+/* Watch/Unwatch Icon Styling */
+#ca-unwatch.icon,
+#ca-watch.icon {
+       margin-right:1px;
+}
+#ca-unwatch.icon a,
+#ca-watch.icon a {
+       margin: 0;
+       padding: 0;
+       outline: none;
+       display: block;
+       width: 26px;
+       height: 2.5em;
+}
+#ca-unwatch.icon a {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -43px 60%;
+}
+#ca-watch.icon a {
+       background-image: url(images/watch-icons.png?1);
+       background-position: 5px 60%;
+}
+#ca-unwatch.icon a:hover {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -67px 60%;
+}
+#ca-watch.icon a:hover {
+       background-image: url(images/watch-icons.png?1);
+       background-position: -19px 60%;
+}
+#ca-unwatch.icon a.loading,
+#ca-watch.icon a.loading {
+       background-image: url(images/watch-icon-loading.gif?1);
+       background-position: center 60%;
+}
+#ca-unwatch.icon a span,
+#ca-watch.icon a span {
+       display: none;
+}
+div.vectorTabs ul {
+       background-image:url(images/tab-break.png?1);
+       background-position:right bottom;
+       background-repeat:no-repeat;
+}