Merge "Follow-up I0b781c11 (2a55449): use User::getAutomaticGroups()."
[lhc/web/wiklou.git] / skins / common / shared.css
index 3591865..94ed322 100644 (file)
@@ -56,7 +56,7 @@ input[dir="rtl"] {
 abbr,
 acronym,
 .explain {
-       border-bottom: 1px dotted black;
+       border-bottom: 1px dotted;
        cursor: help;
 }
 
@@ -116,31 +116,34 @@ span.texhtml {
 #wpTextbox1 {
        clear: both;
 }
+
 #toolbar img {
        cursor: pointer;
 }
+
 div#mw-js-message {
        margin: 1em 5%;
        padding: 0.5em 2.5%;
        border: solid 1px #ddd;
        background-color: #fcfcfc;
+       /* Message hides on-click */
+       /* See also mw.util.jsMessage */
+       cursor: pointer;
 }
 
 /* Edit section links */
-.editsection {
-       float: right;
-       margin-left: 5px;
-}
 /* Correct directionality when page dir is different from site/user dir */
+/* @noflip */
 .mw-content-ltr .editsection,
 .mw-content-rtl .mw-content-ltr .editsection {
-       /* @noflip */
        float: right;
+       margin-left: 5px;
 }
+/* @noflip */
 .mw-content-rtl .editsection,
 .mw-content-ltr .mw-content-rtl .editsection {
-       /* @noflip */
        float: left;
+       margin-right: 5px;
 }
 
 /**
@@ -238,7 +241,7 @@ td.mw-submit {
 }
 
 table.mw-htmlform-nolabel td.mw-label {
-       width: 0 !important;
+       width: 1px;
 }
 
 tr.mw-htmlform-vertical-label td.mw-label {
@@ -257,17 +260,28 @@ tr.mw-htmlform-vertical-label td.mw-label {
 
 input#wpSummary {
        width: 80%;
+       margin: 1em 0;
 }
 
 /**
  * Image captions
  */
-.thumbcaption {
+/* @noflip */
+.mw-content-ltr .thumbcaption {
        text-align: left;
 }
-.magnify {
+/* @noflip */
+.mw-content-rtl .thumbcaption {
+       text-align: right;
+}
+/* @noflip */
+.mw-content-ltr .magnify {
        float: right;
 }
+/* @noflip */
+.mw-content-rtl .magnify {
+       float: left;
+}
 
 /**
  * Categories
@@ -477,13 +491,13 @@ table.wikitable {
 }
 table.wikitable > tr > th,
 table.wikitable > tr > td,
-table.wikitable > tbody > tr > th,
-table.wikitable > tbody > tr > td {
+table.wikitable > * > tr > th,
+table.wikitable > * > tr > td {
        border: 1px #aaa solid;
        padding: 0.2em;
 }
 table.wikitable > tr > th,
-table.wikitable > tbody > tr > th {
+table.wikitable > * > tr > th {
        background-color: #f2f2f2;
        text-align: center;
 }
@@ -748,7 +762,6 @@ table.mw_metadata ul.metadata-langlist {
 /* Don't forget to update commonPrint.css */
 li.gallerybox {
        vertical-align: top;
-       border: solid 2px white;
        display: -moz-inline-box;
        display: inline-block;
 }
@@ -813,26 +826,32 @@ div.gallerytext {
 /* Language specific height correction for titles. Ref Bug 29405 and Bug 30809 */
 /* Languages like hi or ml require slightly more vertical space to show diacritics properly */
 h1:lang(as),
+h1:lang(bh), /* Macrolanguage, used on bh.wikipedia.org, should be removed one day */
+h1:lang(bho),
 h1:lang(bn),
 h1:lang(gu),
 h1:lang(hi),
 h1:lang(kn),
 h1:lang(ml),
 h1:lang(mr),
+h1:lang(my),
 h1:lang(or),
 h1:lang(pa),
 h1:lang(sa),
 h1:lang(ta),
 h1:lang(te) {
-       line-height: 1.5em;
+       line-height: 1.6em !important;
 }
 h2:lang(as), h3:lang(as), h4:lang(as), h5:lang(as), h6:lang(as),
+h2:lang(bho), h3:lang(bho), h4:lang(bho), h5:lang(bho), h6:lang(bho),
+h2:lang(bh), h3:lang(bh), h4:lang(bh), h5:lang(bh), h6:lang(bh),
 h2:lang(bn), h3:lang(bn), h4:lang(bn), h5:lang(bn), h6:lang(bn),
 h2:lang(gu), h3:lang(gu), h4:lang(gu), h5:lang(gu), h6:lang(gu),
 h2:lang(hi), h3:lang(hi), h4:lang(hi), h5:lang(hi), h6:lang(hi),
 h2:lang(kn), h3:lang(kn), h4:lang(kn), h5:lang(kn), h6:lang(kn),
 h2:lang(ml), h3:lang(ml), h4:lang(ml), h5:lang(ml), h6:lang(ml),
 h2:lang(mr), h3:lang(mr), h4:lang(mr), h5:lang(mr), h6:lang(mr),
+h2:lang(my), h3:lang(my), h4:lang(my), h5:lang(my), h6:lang(my),
 h2:lang(or), h3:lang(or), h4:lang(or), h5:lang(or), h6:lang(or),
 h2:lang(pa), h3:lang(pa), h4:lang(pa), h5:lang(pa), h6:lang(pa),
 h2:lang(sa), h3:lang(sa), h4:lang(sa), h5:lang(sa), h6:lang(sa),
@@ -857,6 +876,12 @@ ol:lang(ckb) li {
        list-style-type: arabic-indic;
 }
 
+ol:lang(hi) li,
+ol:lang(mr) li {
+       list-style-type: -moz-devanagari;
+       list-style-type: devanagari;
+}
+
 ol:lang(as) li,
 ol:lang(bn) li {
        list-style-type: -moz-bengali;
@@ -1023,14 +1048,27 @@ table.floatleft {
 }
 
 /* Accessibility */
-.mw-jump {
+.mw-jump,
+#jump-to-nav {
        overflow: hidden;
        height: 0;
        zoom: 1; /* http://webaim.org/techniques/skipnav/#iequirk */
 }
 
+/* Print footer should be hidden by default in screen. */
+.printfooter {
+       display: none;
+}
+
 /* For developpers */
 .xdebug-error {
        position: absolute;
        z-index: 99;
 }
+
+.editsection, .toctoggle {
+    -moz-user-select: none;
+    -webkit-user-select: none;
+    -ms-user-select: none;
+    user-select: none;
+}