X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.legacy%2Fshared.css;h=19b51eb21b7601a33e0809a8354d980b6562396a;hp=9930525f08417638e003c86d014627dae48a8c0e;hb=46fa949b8b5e10b1843d4ea2930679a0d3999025;hpb=2cccf01c849b2ee94eb0cefcd63552d3ddc266b4 diff --git a/resources/src/mediawiki.legacy/shared.css b/resources/src/mediawiki.legacy/shared.css index 9930525f08..19b51eb21b 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,25 +110,6 @@ span.comment { height: 22px; } -/* Edit font preference */ -/* TODO: for 'default' on non-textareas we could compute the default font of textarea in the client */ -.mw-editfont-default:not( textarea ) { - font-family: monospace; -} - -/* Keep this rule separate from the :not rule above so it still works in older browsers */ -.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 { @@ -779,11 +760,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 */