mediawiki-skins-MinervaNeue/resources
Nicholas Ray c1485615bb Enable Dynamic Type in iOS 9+ browsers
Dynamic Type is a feature in iOS that lets users pick their reading size
so that apps can adjust their text size accordingly. This commit makes
the mobile site hook into that feature. If you go to
settings > Accessibility > Larger Text in iOS and increase or decrease
the reading size, the mobile site will now increase / decrease
its text size relative to that setting.

Notable changes:

* Moved `font-size: 100% * @fontScalingFactor` from html to body. This
rule would override Dynamic Type sizing which would effectively disable
it. Moving it to the body makes the rule be relative to Dynamic Type
instead of overriding it in iOS browsers while browsers that don't
support Dynamic Type should observe no visible changes.

* Removed intermediate variable @bodyLineHeight because it was only
being used in one place.

* Added @font-size-body-mobile and made it based on % instead of em
(which is what @font-size-body uses). @font-size-mobile-bod is used by a
media query in browsers that support Dynamic Type and by another media
query in browsers that don't support Dynamic Type.

* Added a feature query for Dynamic Type which will make Dynamic Type CSS
rules only affect browsers that support Dynamic Type. This limits the
feature to iOS 9+ feature but ensures that the css rules don't affect
browsers that don't support Dynamic Type.

* Scaled down Dynamic Type so that its default size would appear
identical to the common browser default text size of 16px. By not doing
this, the default font size in iOS browsers would be 17px (Dynamic
Type's default) and would appear 1px larger than Android browsers.

Bug: T204807
Change-Id: I8a4d621dba8dc56190bd8c974543d08dd374ba5e
2018-10-08 20:20:44 +00:00
..
skins.minerva.backtotop Docs: Present classes rather than modules 2018-08-20 16:43:41 -07:00
skins.minerva.base.reset Buttons should be cursor pointer by default 2018-09-24 20:41:26 +00:00
skins.minerva.base.styles Hygiene: replace header and content divs 2018-08-10 20:44:14 +00:00
skins.minerva.categories Remove unused categories property 2018-10-08 08:45:35 -06:00
skins.minerva.content.styles Enable Dynamic Type in iOS 9+ browsers 2018-10-08 20:20:44 +00:00
skins.minerva.content.styles.images Correct search icon 2018-08-14 14:20:00 -07:00
skins.minerva.editor Make Minerva section editing more like other skins 2018-10-04 14:07:27 -07:00
skins.minerva.icons.images Don't ship 2 magnifying glass icons 2018-07-24 11:55:41 -06:00
skins.minerva.icons.images.scripts Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.images.scripts.misc Remove fancy block info popups (move to MobileFrontend) 2018-07-26 23:44:28 +02:00
skins.minerva.icons.images.variants Merge profile icon with user-avatar icon 2018-05-08 23:35:44 +00:00
skins.minerva.icons.loggedin Only load notification icon (bell) CSS for logged in users 2018-04-12 09:27:01 -07:00
skins.minerva.icons.page.issues.default.color Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.page.issues.medium.color Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.icons.page.issues.uncolored Update: page issue icons 2018-07-17 15:54:17 -05:00
skins.minerva.loggedin.styles Remove minerva.less from global import path 2018-05-29 12:19:00 +00:00
skins.minerva.mainMenu Move MainMenu click tracking schema from MobileFrontend to Minerva 2018-10-02 15:03:17 -07:00
skins.minerva.mainMenu.icons Merge profile icon with user-avatar icon 2018-05-08 23:35:44 +00:00
skins.minerva.mainMenu.styles Remove minerva.less from global import path 2018-05-29 12:19:00 +00:00
skins.minerva.mainPage.styles Remove minerva.less from global import path 2018-05-29 12:19:00 +00:00
skins.minerva.newusers Remove broken remains of &campaign=leftNavSignup handling 2018-09-24 19:30:03 +00:00
skins.minerva.notifications Hygiene: fix line length violators 2018-09-13 09:33:20 -06:00
skins.minerva.notifications.badge Hygiene: fix line length violators 2018-09-13 09:33:20 -06:00
skins.minerva.scripts Move edit link enabling/disabling out of skins.minerva.editor 2018-10-04 14:03:19 -07:00
skins.minerva.scripts.top
skins.minerva.tablet.scripts Only render table of contents on pages with a table of contents 2018-06-19 18:18:03 +00:00
skins.minerva.tablet.styles Do not restrict images to 320px at tablet resolution 2018-07-05 18:05:07 +00:00
skins.minerva.talk Hygiene: fix line length violators 2018-09-13 09:33:20 -06:00
skins.minerva.toggling Hygiene: update JSDoc boxed and JQuery types 2018-07-03 11:10:12 -05:00
skins.minerva.userpage.icons Remove unused userpage icon from repo 2018-02-15 08:36:44 -08:00
skins.minerva.userpage.styles Remove minerva.less from global import path 2018-05-29 12:19:00 +00:00
skins.minerva.watchstar