mediawiki-skins-MinervaNeue/minerva.less
AntiCompositeNumber fae41df135 minerva.less: use rem instead of em for browser-relative font sizes
em values are calculated relative to the parent element's font-size, not
the root or browser-default font-size. However, @font-size-minerva-small
and @font-size-minerva-smallest are supposed to be relative to the
assumed 16px browser default font-size. If they are used in an element
that already has a smaller-than-100% font-size, the resulting font-sizes
will compound and can be smaller than accessability minimums. This change
uses rems instead, so -small and -smallest will be the same sizes
everywhere on the page.

If -small or -smallest were used anywhere where parent-relative font
sizing is expected, this patch will change the size of that text. This
is only a problem if the new size is smaller than the old size, as any
sizes smaller than -smallest are an accessability issue. I looked for
any potential problems, but didn't see any.

Bug: T282315
Change-Id: Ib578f2cc4597b4dbfb5d1f5e4842962433af3748
2021-08-16 15:25:18 -05:00
..
minerva.mixins.less Use default @border-radius-base variable 2020-06-25 19:07:17 +00:00
minerva.variables.less minerva.less: use rem instead of em for browser-relative font sizes 2021-08-16 15:25:18 -05:00