Commit graph

24 commits

Author SHA1 Message Date
Volker E 0e089a0d4c build: Update 'stylelint-config-wikimedia' and make pass
Change-Id: I147ea18307c58c5091c5ad79585b5acec9d46235
2018-12-02 14:40:28 -08:00
Volker E 186db29808 Don't crop Burmese language headers
Burmese (Myanmar) language headers get cropped with currently applied
`line-height` setting. Resetting it fixes this.

Bug: T193270
Change-Id: I81c6c1ac9148c122432506be0c1b35f648214d6c
2018-05-24 13:01:05 +02:00
Volker E 0f7a56e95c Remove IE 6 specific code
Removing further CSS for Internet Explorer 6.
Follow-up to I0f98c61cf9108c0a91769e9b7044023b01f974ed.

Change-Id: I85a7570c97f9b618a7946dc20367b54e72d31b3e
2018-05-24 02:17:30 +02:00
Volker E 8e79fee078 Replace #toc selector by .toc
Replacing id CSS selector by lower specific class selector.

Bug: T187808
Depends-on: I7f3a9df7f9fd1178986112b5265b1ae7c991d5b7
Change-Id: If8768278750d49e70a29d993e759f246082fefb0
2018-03-29 00:40:36 +00:00
Jack Phoenix d575e3878a Optimization: move styles specific to redirect pages out of common.less
HT MatmaRex

Change-Id: I6169692547378379dbc935976ad83cf4f366eeeb
2017-06-15 16:13:42 +03:00
Arlo Breault dcd01fc1e2 Separate some shared layout with Parsoid
* This is in service of T116508.  See
   Id41c1d2840f441eddb14ca66ba545ee7b160088e where .mw-body is being
   removed from Parsoid content.

 * This is only possible since T155863

Change-Id: I60e3cb3e838fa19d321c4eac0a6828bcfddb6f3e
2017-04-17 14:14:36 -04:00
Ed Sanders d183c39d06 Allow edit sections outside of mw-body-content
Bug: T160269
Change-Id: Ib4830cde634b6ca0c3ceb0ba06831c3b4ccedfbd
2017-03-12 11:14:37 +00:00
Ed Sanders 24802a3aaf Move heading, paragraph and editsection styles into mw-body-content
Bug: T155863
Bug: T155774
Change-Id: I4c907bd48d472c970b79a7a234c2079254567a7e
2017-03-07 17:52:23 +00:00
Ed Sanders f7d8d036ac build: stylelint more files
Change-Id: If62fa6ff9810de253b65feb1f7e312d22e33bfa8
2017-01-23 15:04:05 +00:00
nirzar 211660e6b0 Allow an alternate, generic header font to be specified for certain languages
Introducing variable `@content-heading-font-family-generic`, that may be
used to specify an alternate font for `h1` and `h2` for languages which
render poorly using the standard heading font stack.
Set it for now on JA, HE and KO languages, based on reported issues.

Bug: T73240
Change-Id: I5217a7947427055f4cb61185d9d7d79848605dd3
2016-07-06 12:30:04 +02:00
Derk-Jan Hartman 3ca33440f4 .redirectMsg needs to be 0 height
It wasn't because ".mw-body p" introduces a margin, causing an
undesired extra spacing on redirect pages.

Change-Id: I53f63703b086ff6b28c1fb5325ee6693e3322390
2016-01-26 20:12:40 +01:00
Volker E 171fbc1512 Removing obsolete -moz-inline-block property
Bug: T103605
Change-Id: I97787abc8683f34db3f2063434578ecfdb019ecb
2015-06-24 21:16:53 +01:00
Erwin Dokter 35ca341ed4 Minor header fixes for Typography Refresh
This fixes top-margin for H1 inside .mw-body-content, and increase
font-size for H3 from 1.17em to 1.2em (bumping to 17px default).

Final patch for this bug.

Bug: T66653
Change-Id: I1e75bc4fc3e04ca6c9238d4ce116136e9bafacd1
2015-05-23 12:07:14 +00:00
paladox eea9966d5c Add SVG version of bullet-icon and use .list-style-image-svg()
* Adds bullet-image.svg

* Depends on I09319e9188878c in MediaWiki core

Edokter idea.

Bug: T37338
Change-Id: If380fcca663859d1bb688bb621c267b815b3e21a
2015-02-12 23:00:10 +00:00
Bartosz Dziewoński 32eaf1b209 Revert "Add svg image of bullet"
Turns out this doesn't actually work well. Who'd have thunk?

This reverts commit a6235ceb88.

Bug: T37338
Change-Id: I3dcb8e8453a110d2b631711057712ac858dc42c1
2015-01-19 09:51:27 +00:00
paladox a6235ceb88 Add svg image of bullet
* Adds svg version of bullet.
* It has a hack in css so that png will be targeted at ie 8 or lower.
* There was no way around it since list-style-image carnt be used twice. The hack adds \9 to end of png file.

Edokter suggested to use \9

Note this has been tested

Bug: T37338
Change-Id: I795c31a68c383b8fc4557ee00312a5b1aecd09a3
2015-01-11 17:27:13 +00:00
Fomafix df10f03a7a Give .mw-body-content its own stacking context (z-index: 0)
This avoids that elements in the content can overlap elements
outside the content area (e.g. software and skin interface components),
such as the page action menu.

Bug: T40848
Change-Id: Ia986434c51d8db738726f3a4e918bce373bd3d6b
2014-12-07 20:26:54 +00:00
jenkins-bot 8437d301e8 Merge "Add support for page status indicators" 2014-10-27 20:23:28 +00:00
Bartosz Dziewoński cb1eb7ab2d common.less: Remove dead code
This does nothing since 7dc4b5861589f2cef472195273c41a86083f69d4 in core.

Change-Id: I879d96fe8d4034b6365c6b6af3d9e3615dd1c506
2014-09-30 14:40:49 +02:00
Bartosz Dziewoński deac602863 Add support for page status indicators
Corresponding patch in core: I2389ff9a5332a2b1d033eb75f0946e5241cfaaf4.

Bug: 23796
Change-Id: I90a8ae15ac8275d084ea5f47b6b2684d5e6c7412
2014-09-30 14:37:35 +02:00
Bartosz Dziewoński c85c4ee1ae Revert "Add svg version of bullet-icon"
The generated CSS is invalid, as you can't have multiple
list-style-images (unlike background-images). Browsers
either ignore the invalid properties with linear-gradient
and use non-embedded PNG fallback (Chrome, Firefox, modern
IE), or accept the properties but ignore everything after
the comma, using the fully transparent gradient (Opera). 

This reverts commit 32e65050a6.

Change-Id: I46abf1502c1e4e3dfe03f0c17c553b9fe7fe007d
2014-09-13 13:10:56 +00:00
paladox 32e65050a6 Add svg version of bullet-icon
* This add support for bullet in svg.

Note: This requires Iffff2bc52e1572e661930242ad15937bc83abace to be
approved

Note: This has been tested by me.

Change-Id: I5196952088e584d3121600e9e829647e8c195bbb
2014-09-12 23:27:55 +00:00
Arlo Breault b1c2dd38ba Use .mw-body instead of div#content
* Part of https://gerrit.wikimedia.org/r/#/c/151395/

Change-Id: Iae873906abcd8b2a986e5f728f0ce207256de770
2014-08-13 03:52:51 -07:00
Bartosz Dziewoński d28f09df31 Move Vector skin from core
This is the final step of the process described at
<https://www.mediawiki.org/wiki/Separating_skins_from_core_MediaWiki>.

Corresponding core change: Idfc38503.

Change-Id: I84fcf7ce6385b8323544cafe6912a00f1886d20d
2014-08-07 13:38:34 +02:00