Improved the wrapping of personal tools for Vector in IE 5.5 and 6.
[lhc/web/wiklou.git] / skins / vector / main-ltr.css
index 98619fd..a5df0ee 100644 (file)
@@ -28,7 +28,7 @@ body {
        background-image: url(images/page-base.png?1);
 }
 /* Content */
-#content {
+div#content {
        margin-left: 10em;
        padding: 1em;
        background-image: url(images/border.png?1);
@@ -38,14 +38,14 @@ body {
        color: black;
 }
 /* Head */
-#page-base {
+#mw-page-base {
        height: 5em;
        background-color: white;
        background-image: url(images/page-fade.png?1);
        background-position: bottom left;
        background-repeat: repeat-x;
 }
-#head-base {
+#mw-head-base {
        margin-top: -5em;
        margin-left: 10em;
        height: 5em;
@@ -53,13 +53,13 @@ body {
        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;
 }
@@ -71,7 +71,7 @@ body {
        #p-personal {
                position: absolute;
                top: 0;
-               margin-left: 10em;
+               padding-left: 10em;
                right: 0.75em;
        }
        #p-personal h5 {
@@ -87,10 +87,12 @@ body {
                line-height: 1.125em;
                float: left;
        }
+       /* This one flips! */
        #p-personal li {
                margin-left: 0.75em;
                margin-top: 0.5em;
                font-size: 0.75em;
+               white-space: nowrap;
        }
        /* Navigation Containers */
        #left-navigation {
@@ -111,6 +113,7 @@ body {
        /* @noflip */
        div.vectorTabs {
                float: left;
+               height: 2.5em;
        }
        div.vectorTabs {
                background-image: url(images/tab-break.png?1);
@@ -214,20 +217,20 @@ body {
        }
        /* OVERRIDDEN BY COMPLIANT BROWSERS */
        /* @noflip */
-       #head 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 */
-       #head div.vectorMenu > h5 {
+       div#mw-head div.vectorMenu > h5 {
                background-image: none;
        }
-       #head div.vectorMenu h5 {
+       div#mw-head div.vectorMenu h5 {
                background-position: bottom left;
                margin-left: -1px;
        }
-       #head div.vectorMenu h4 {
+       div#mw-head div.vectorMenu h4 {
                display: inline-block;
                float: left;
                font-size: 0.8em;
@@ -345,8 +348,8 @@ body {
                margin: 0;
                margin-top: 0.4em;
        }
-       #simpleSearch {
-               margin-top: 0.5em;
+       div#simpleSearch {
+               margin-top: 0.65em;
                position: relative;
                border: solid 1px #AAAAAA;
                background-color: white;
@@ -354,25 +357,33 @@ body {
                background-position: top left;
                background-repeat: repeat-x;
        }
-       #simpleSearch label {
-               font-size: 0.8em;
+       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;
        }
-       #simpleSearch input#searchInput {
+       div#simpleSearch input#searchInput {
                margin: 0;
                border-width: 0;
-               padding: 0.25em;
+               padding: 3px;
                line-height: 1em;
-               font-size: 0.8em;
-               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;
@@ -381,21 +392,21 @@ body {
                background-repeat: no-repeat;
        }
        /* IGNORED BY IE6 */
-       #simpleSearch > button#searchButton {
+       div#simpleSearch > button#searchButton {
                height: 100%;
        }
 /* Panel */
-#panel {
+div#mw-panel {
        position: absolute;
        top: 160px;
        padding-top: 1em;
        width: 10em;
        left: 0;
 }
-       #panel div.portal {
+       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.25em;
@@ -405,7 +416,7 @@ body {
                border: none;
                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;
@@ -413,14 +424,14 @@ body {
                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;
@@ -428,14 +439,14 @@ body {
                overflow: hidden;
                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 {
+div#footer {
        margin-left: 10em;
        margin-top: 0;
        padding: 0.75em;
@@ -443,14 +454,14 @@ body {
        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;
@@ -458,22 +469,22 @@ body {
        color: #333333;
        font-size: 0.7em;
 }
-#footer #footer-icons {
+div#footer #footer-icons {
        float: right;
 }
 /* @noflip */
-body.ltr #footer #footer-places {
+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;
@@ -614,7 +625,7 @@ body.ltr #footer #footer-places {
  * The following code is slightly modified from monobook
  * 
  */
-#content {
+div#content {
        line-height: 1.5em;
 }
 #bodyContent {
@@ -922,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: 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;
@@ -991,72 +999,72 @@ h3, h4, h5 {
        font-size: 1.6em;
        padding-bottom: 0;
 }
-#content a.external,
-#content a[href ^="gopher://"] {
-       background: url(images/external-link-ltr-icon.png?1) 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?1) 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?1) 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?1) 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?1) 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?1) 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 */
@@ -1128,4 +1136,4 @@ div.vectorTabs ul {
        background-image:url(images/tab-break.png?1);
        background-position:right bottom;
        background-repeat:no-repeat;
-}
\ No newline at end of file
+}