X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.legacy%2Fshared.css;h=0f84ff1d83071dea747d97c188b0c2c037b3e76e;hb=5e3c21a7003a4fc8d4b8c327530421330c3331b0;hp=74233d63752ba2c9c6f715de9caa7f5223f1b1f2;hpb=732b5e2745ca8f6153e19cc10c3c9acb1b2a6331;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 74233d6375..0f84ff1d83 100644 --- a/resources/src/mediawiki.legacy/shared.css +++ b/resources/src/mediawiki.legacy/shared.css @@ -56,36 +56,36 @@ wbr { /* Input types that should follow user direction, like buttons */ /* TODO: What about buttons in wikipage content ? */ -input[type='submit'], -input[type='button'], -input[type='reset'], -input[type='file'] { +input[ type='submit' ], +input[ type='button' ], +input[ type='reset' ], +input[ type='file' ] { direction: ltr; } /* Override default values */ -textarea[dir='ltr'], -input[dir='ltr'] { +textarea[ dir='ltr' ], +input[ dir='ltr' ] { /* @noflip */ direction: ltr; } -textarea[dir='rtl'], -input[dir='rtl'] { +textarea[ dir='rtl' ], +input[ dir='rtl' ] { /* @noflip */ direction: rtl; } /* Default style for semantic tags */ -abbr[title], -.explain[title] { +abbr[ title ], +.explain[ title ] { border-bottom: 1px dotted; cursor: help; } @supports ( text-decoration: underline dotted ) { - abbr[title], - .explain[title] { + abbr[ title ], + .explain[ title ] { border-bottom: 0; text-decoration: underline dotted; } @@ -110,19 +110,6 @@ span.comment { height: 22px; } -/* Edit font preference */ -.mw-editfont-monospace { - font-family: monospace; -} - -.mw-editfont-sans-serif { - font-family: sans-serif; -} - -.mw-editfont-serif { - font-family: serif; -} - /* Underline preference */ .mw-underline-always a { @@ -321,21 +308,6 @@ a.new { color: #ba0000; } -/* self links */ -a.mw-selflink { - color: inherit; - font-weight: bold; - text-decoration: inherit; -} -a.mw-selflink:hover { - cursor: inherit; - text-decoration: inherit; -} -a.mw-selflink:active, -a.mw-selflink:visited { - color: inherit; -} - /* Plainlinks - this can be used to switch * off special external link styling */ .plainlinks a.external { @@ -653,43 +625,31 @@ ol:lang( or ) li { list-style-type: oriya; } -#toc ul, .toc ul { margin: 0.3em 0; } /* Correct directionality when page dir is different from site/user dir */ /* @noflip */ .mw-content-ltr .toc ul, -.mw-content-ltr #toc ul, -.mw-content-rtl .mw-content-ltr .toc ul, -.mw-content-rtl .mw-content-ltr #toc ul { +.mw-content-rtl .mw-content-ltr .toc ul { text-align: left; } /* @noflip */ .mw-content-rtl .toc ul, -.mw-content-rtl #toc ul, -.mw-content-ltr .mw-content-rtl .toc ul, -.mw-content-ltr .mw-content-rtl #toc ul { +.mw-content-ltr .mw-content-rtl .toc ul { text-align: right; } /* @noflip */ .mw-content-ltr .toc ul ul, -.mw-content-ltr #toc ul ul, -.mw-content-rtl .mw-content-ltr .toc ul ul, -.mw-content-rtl .mw-content-ltr #toc ul ul { +.mw-content-rtl .mw-content-ltr .toc ul ul { margin: 0 0 0 2em; } /* @noflip */ .mw-content-rtl .toc ul ul, -.mw-content-rtl #toc ul ul, -.mw-content-ltr .mw-content-rtl .toc ul ul, -.mw-content-ltr .mw-content-rtl #toc ul ul { +.mw-content-ltr .mw-content-rtl .toc ul ul { margin: 0 2em 0 0; } -#toc #toctitle, -.toc #toctitle, -#toc .toctitle, .toc .toctitle { direction: ltr; } @@ -773,11 +733,6 @@ table.floatleft { vertical-align: baseline; /* Reset line-height; headings tend to have it set to larger values */ line-height: 1em; - /* As .mw-editsection is a (inline element), it is treated as part */ - /* of the heading content when selecting text by multiple clicks and thus */ - /* selected together with heading content, despite the user-select: none; */ - /* rule set above. This enforces non-selection without changing the look. */ - display: inline-block; } /* Correct directionality when page dir is different from site/user dir */