X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.legacy%2Fshared.css;h=baf2c5629bc21fa67449295c79b4e1411204358d;hb=ae3f5f12ff8334c55a928634f4d8fc32879f3ec0;hp=a98a73f1e1773c3a6088bb97f3f2b1137021fdcd;hpb=ecba4509dd2b78fa9ed54fa4e573d1818b2ff290;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index a98a73f1e1..baf2c5629b 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -9,6 +9,8 @@ * blocking CSS common to all pages. */ +/* stylelint-disable selector-class-pattern */ + /* GENERAL CLASSES FOR DIRECTIONALITY SUPPORT */ /** @@ -326,7 +328,7 @@ a.new { * wikitable class for skinning normal tables * keep in sync with commonPrint.css */ -table.wikitable { +.wikitable { background-color: #f8f9fa; color: #222; margin: 1em 0; @@ -334,21 +336,21 @@ table.wikitable { border-collapse: collapse; } -table.wikitable > tr > th, -table.wikitable > tr > td, -table.wikitable > * > tr > th, -table.wikitable > * > tr > td { +.wikitable > tr > th, +.wikitable > tr > td, +.wikitable > * > tr > th, +.wikitable > * > tr > td { border: 1px solid #a2a9b1; padding: 0.2em 0.4em; } -table.wikitable > tr > th, -table.wikitable > * > tr > th { +.wikitable > tr > th, +.wikitable > * > tr > th { background-color: #eaecf0; text-align: center; } -table.wikitable > caption { +.wikitable > caption { font-weight: bold; } @@ -447,22 +449,22 @@ table.wikitable > caption { /** * Data table style * - * Transparent table with suddle borders - * and blue row-highlighting. + * Table with suddle borders + * and row-highlighting. */ .mw-datatable { + border: 1px solid #a2a9b1; border-collapse: collapse; } -.mw-datatable, .mw-datatable td, .mw-datatable th { border: 1px solid #a2a9b1; - padding: 0 0.15em 0 0.15em; + padding: 0.2em 0.4em; } .mw-datatable th { - background-color: #ddf; + background-color: #eaeeff; } .mw-datatable td {