Merge "Addition of SearchAfterNoDirectMatch hook"
[lhc/web/wiklou.git] / skins / modern / main.css
index e04bb47..eff62ab 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,7 +58,7 @@ body {
        font-variant: small-caps;
 }
 
-#p-personal h5 {
+#p-personal h3 {
        display: none;
 }
 
@@ -126,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;
@@ -151,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;
@@ -166,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;
 }
@@ -239,7 +250,7 @@ ul {
        color: white;
 }
 
-#p-cactions h5 {
+#p-cactions h3 {
        display: none;
 }
 
@@ -279,10 +290,6 @@ img {
        margin: 0 0 0 0;
 }
 
-div.printfooter {
-       display: none;
-}
-
 p {
        margin: 1em 0 1em 0;
 }
@@ -371,9 +378,6 @@ h1, h2, h3, h4, h5, h6 {
        border: none;
 }
 
-#preferences h2 {
-}
-
 .mainLegend {
        display: none;
 }
@@ -411,36 +415,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.external[href ^="irc://"],
+#mw_content a.external[href ^="ircs://"],
 .link-irc {
        /* @embed */
        background: url(discussionitem_icon.gif) center right no-repeat;
@@ -455,7 +459,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"],
@@ -464,7 +468,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"],
@@ -472,38 +476,26 @@ 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;
 }
 
 /* images */
-/* @noflip */
-div.floatright, table.floatright {
-       clear: right;
-       float: right;
-       position: relative;
+/* @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; }
-/* @noflip */
-div.floatleft, table.floatleft {
-       float: left;
-       clear: left;
-       position: relative;
+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;
@@ -537,16 +529,10 @@ div.magnify a, div.magnify img {
        border: none !important;
        background: none !important;
 }
-/* @noflip */
-div.tright {
-       clear: right;
-       float: right;
+/* @noflip */div.tright {
        margin: .5em 0 .8em 1.4em;
 }
-/* @noflip */
-div.tleft {
-       float: left;
-       clear: left;
+/* @noflip */div.tleft {
        margin: .5em 1.4em .8em 0;
 }
 img.thumbborder {
@@ -599,7 +585,7 @@ img.thumbborder {
        list-style-type: none;
        list-style-image: none;
        margin: 0 1em 0 1em;
-       padding-left: 0;
+       padding: 0;
        text-align: left;
 }
 
@@ -636,15 +622,12 @@ img.thumbborder {
 #mw_content a.extiw,
 #mw_content a.extiw:active {
        color: #36b;
-       background: none;
-       padding: 0;
 }
 #mw_content a.external {
        color: #36b;
 }
 
 
-
 .redirectText {
        font-size: 150%;
        margin: 5px;
@@ -721,17 +704,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 {
@@ -746,7 +729,7 @@ div#searchTarget ul li:before {
 div#searchTargetHide {
        float: right;
        border: solid 1px black;
-       background: gainsboro;
+       background: #DCDCDC;
        padding: 2px;
 }
 
@@ -771,7 +754,9 @@ table.multipageimage td {
        text-align: center;
 }
 
-.templatesUsed { margin-top: 1.5em; }
+.templatesUsed {
+       margin-top: 1.5em;
+}
 
 .mw-summary-preview {
        margin: 0.1em 0;
@@ -838,7 +823,7 @@ span.subpages {
        display: block;
 }
 
-pre {
+pre, .mw-code {
        border: solid 1px #3c78b5;
        padding: 0.4em;
        background-color: #f0f0f0;
@@ -913,4 +898,4 @@ html > body.rtl div#mw_contentholder ul {
 /* @noflip */
 html > body.rtl div#mw_contentholder ul#filetoc {
        display: block;
-}
\ No newline at end of file
+}