Fix Bug 13896: Rendering of devanagari numbers in automatic '#' number lists
[lhc/web/wiklou.git] / skins / common / shared.css
index 5f349cd..3172779 100644 (file)
@@ -56,7 +56,7 @@ input[dir="rtl"] {
 abbr,
 acronym,
 .explain {
-       border-bottom: 1px dotted black;
+       border-bottom: 1px dotted;
        cursor: help;
 }
 
@@ -238,7 +238,7 @@ td.mw-submit {
 }
 
 table.mw-htmlform-nolabel td.mw-label {
-       width: 0 !important;
+       width: 1px;
 }
 
 tr.mw-htmlform-vertical-label td.mw-label {
@@ -248,8 +248,8 @@ tr.mw-htmlform-vertical-label td.mw-label {
 .mw-htmlform-invalid-input td.mw-input input {
        border-color: red;
 }
-.mw-htmlform-radio-flatlist div.mw-htmlform-radio-item,
-.mw-htmlform-multiselect-flatlist div.mw-htmlform-multiselect-item {
+
+.mw-htmlform-flatlist div.mw-htmlform-flatlist-item {
        display: inline;
        margin-right: 1em;
        white-space: nowrap;
@@ -475,16 +475,19 @@ table.wikitable {
        border-collapse: collapse;
        color: black;
 }
-.wikitable th,
-.wikitable td {
+table.wikitable > tr > th,
+table.wikitable > tr > td,
+table.wikitable > * > tr > th,
+table.wikitable > * > tr > td {
        border: 1px #aaa solid;
        padding: 0.2em;
 }
-.wikitable th {
+table.wikitable > tr > th,
+table.wikitable > * > tr > th {
        background-color: #f2f2f2;
        text-align: center;
 }
-.wikitable caption {
+table.wikitable > caption {
        font-weight: bold;
 }
 
@@ -706,13 +709,13 @@ table.mw_metadata ul.metadata-langlist {
 .mw-content-ltr ul,
 .mw-content-rtl .mw-content-ltr ul {
        /* @noflip */
-       margin: 0.3em 0 0 1.5em;
+       margin: 0.3em 0 0 1.6em;
        padding: 0;
 }
 .mw-content-rtl ul,
 .mw-content-ltr .mw-content-rtl ul {
        /* @noflip */
-       margin: 0.3em 1.5em 0 0;
+       margin: 0.3em 1.6em 0 0;
        padding: 0;
 }
 .mw-content-ltr ol,
@@ -727,6 +730,18 @@ table.mw_metadata ul.metadata-langlist {
        margin: 0.3em 3.2em 0 0;
        padding: 0;
 }
+/* @noflip */
+.mw-content-ltr dd,
+.mw-content-rtl .mw-content-ltr dd {
+       margin-left: 1.6em;
+       margin-right: 0;
+}
+/* @noflip */
+.mw-content-rtl dd,
+.mw-content-ltr .mw-content-rtl dd {
+       margin-right: 1.6em;
+       margin-left: 0;
+}
 
 /* Galleries */
 /* These display attributes look nonsensical, but are needed to support IE and FF2 */
@@ -798,6 +813,8 @@ 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),
@@ -809,9 +826,11 @@ h1:lang(pa),
 h1:lang(sa),
 h1:lang(ta),
 h1:lang(te) {
-       line-height: 1.5em;
+       line-height: 1.5em !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),
@@ -842,6 +861,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;
@@ -944,13 +969,6 @@ ol:lang(or) li {
        background-position: 0% 100%;
 }
 
-/* LTR content in RTL layout */
-.ltr {
-       /* @noflip */
-       direction: ltr;
-       unicode-bidi: embed;
-}
-
 #mw-clearyourcache,
 #mw-sitecsspreview,
 #mw-sitejspreview,
@@ -1015,9 +1033,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;
+}