Merge "(bug 43315) Cursor of enhancedchangelist wrong for non-toggle lines"
[lhc/web/wiklou.git] / skins / modern / main.css
index eb46dea..f201209 100644 (file)
@@ -1,7 +1,6 @@
 body {
        margin: 0 0 0 0;
        padding: 0 0 0 0;
-       /*font-size: 10pt;*/
        font-size: x-small;
 
 
@@ -59,6 +58,7 @@ body {
        font-variant: small-caps;
 }
 
+#p-personal h3,
 #p-personal h5 {
        display: none;
 }
@@ -126,6 +126,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;
@@ -151,6 +157,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;
@@ -166,11 +177,13 @@ textarea {
        margin-top: .4em;
 }
 
+.portlet h3,
 .portlet h5 {
        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;
 }
@@ -239,6 +252,7 @@ ul {
        color: white;
 }
 
+#p-cactions h3,
 #p-cactions h5 {
        display: none;
 }
@@ -279,10 +293,6 @@ img {
        margin: 0 0 0 0;
 }
 
-div.printfooter {
-       display: none;
-}
-
 p {
        margin: 1em 0 1em 0;
 }
@@ -371,9 +381,6 @@ h1, h2, h3, h4, h5, h6 {
        border: none;
 }
 
-#preferences h2 {
-}
-
 .mainLegend {
        display: none;
 }
@@ -411,38 +418,36 @@ h1, h2, h3, h4, h5, h6 {
 }
 
 #mw_content a.external,
-#mw_content a[href ^="gopher://"] {
+#mw_content a.external[href ^="gopher://"] {
        /* @embed */
        background: url(external.png) center right no-repeat;
        padding-right: 13px;
 }
-#mw_content a[href ^="https://"],
+#mw_content a.external[href ^="https://"],
 .link-https {
        /* @embed */
        background: url(lock_icon.gif) center right no-repeat;
        padding-right: 16px;
 }
-#mw_content a[href ^="mailto:"],
+#mw_content a.external[href ^="mailto:"],
 .link-mailto {
        /* @embed */
        background: url(mail_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
-#mw_content a[href ^="news://"] {
+#mw_content a.external[href ^="news:"] {
        /* @embed */
        background: url(news_icon.png) center right no-repeat;
        padding-right: 18px;
 }
-#mw_content a[href ^="ftp://"],
+#mw_content a.external[href ^="ftp://"],
 .link-ftp {
        /* @embed */
        background: url(file_icon.gif) center right no-repeat;
        padding-right: 18px;
 }
-#mw_content a[href ^="irc://"],
-#mw_content a.extiw[href ^="irc://"],
-#mw_content a[href ^="ircs://"],
-#mw_content a.extiw[href ^="ircs://"],
+#mw_content a.external[href ^="irc://"],
+#mw_content a.external[href ^="ircs://"],
 .link-irc {
        /* @embed */
        background: url(discussionitem_icon.gif) center right no-repeat;
@@ -457,7 +462,7 @@ h1, h2, h3, h4, h5, h6 {
 #mw_content a.external[href $=".wma"], #mw_content a.external[href $=".WMA"],
 .link-audio {
        /* @embed */
-       background: url("audio.png") center right no-repeat;
+       background: url(audio.png) center right no-repeat;
        padding-right: 13px;
 }
 #mw_content a.external[href $=".ogm"], #mw_content a.external[href $=".OGM"],
@@ -466,7 +471,7 @@ h1, h2, h3, h4, h5, h6 {
 #mw_content a.external[href $=".mpg"], #mw_content a.external[href $=".MPG"],
 .link-video {
        /* @embed */
-       background: url("video.png") center right no-repeat;
+       background: url(video.png) center right no-repeat;
        padding-right: 13px;
 }
 #mw_content a.external[href $=".pdf"], #mw_content a.external[href $=".PDF"],
@@ -474,7 +479,7 @@ h1, h2, h3, h4, h5, h6 {
 #mw_content a.external[href *=".pdf?"], #mw_content a.external[href *=".PDF?"],
 .link-document {
        /* @embed */
-       background: url("document.png") center right no-repeat;
+       background: url(document.png) center right no-repeat;
        padding-right: 12px;
 }
 
@@ -482,22 +487,18 @@ h1, h2, h3, h4, h5, h6 {
 /* @noflip */div.floatright, table.floatright {
        margin: 0 0 .5em .5em;
        border: 0;
-/*
-       border: .5em solid white;
-       border-width: .5em 0 .8em 1.4em;
-*/
 }
-div.floatright p { font-style: italic; }
+div.floatright p {
+       font-style: italic;
+}
 /* @noflip */div.floatleft, table.floatleft {
        margin: 0 .5em .5em 0;
        border: 0;
-/*
-       margin: .3em .5em .5em 0;
-       border: .5em solid white;
-       border-width: .5em 1.4em .8em 0;
-*/
 }
-div.floatleft p { font-style: italic; }
+div.floatleft p {
+       font-style: italic;
+}
+
 /* thumbnails */
 div.thumb {
        margin-bottom: .5em;
@@ -587,17 +588,10 @@ img.thumbborder {
        list-style-type: none;
        list-style-image: none;
        margin: 0 1em 0 1em;
-       padding-left: 0;
+       padding: 0;
        text-align: left;
 }
 
-.mw-content-ltr .toc ul,
-.mw-content-rtl .toc ul,
-.mw-content-ltr #toc ul,
-.mw-content-rtl #toc ul {
-       margin: 0 1em;
-}
-
 #toc ul ul,
 .toc ul ul {
        margin: 0 0 0 2em;
@@ -631,8 +625,6 @@ img.thumbborder {
 #mw_content a.extiw,
 #mw_content a.extiw:active {
        color: #36b;
-       background: none;
-       padding: 0;
 }
 #mw_content a.external {
        color: #36b;
@@ -715,17 +707,17 @@ div.noarticletext {
 }
 
 div#searchTargetContainer {
-       left:       10px;
-       top:        10px;
-       width:      90%;
+       left: 10px;
+       top: 10px;
+       width: 90%;
        background: white;
 }
 
 div#searchTarget {
-       padding:    3px;
-       margin:     5px;
+       padding: 3px;
+       margin: 5px;
        background: #F0F0F0;
-       border:     solid 1px blue;
+       border: solid 1px blue;
 }
 
 div#searchTarget ul li {
@@ -765,7 +757,9 @@ table.multipageimage td {
        text-align: center;
 }
 
-.templatesUsed { margin-top: 1.5em; }
+.templatesUsed {
+       margin-top: 1.5em;
+}
 
 .mw-summary-preview {
        margin: 0.1em 0;
@@ -832,7 +826,7 @@ span.subpages {
        display: block;
 }
 
-pre {
+pre, .mw-code {
        border: solid 1px #3c78b5;
        padding: 0.4em;
        background-color: #f0f0f0;