Skip to content

Conversation

jessetan
Copy link
Contributor

Most elements have their font size set to $base-font-size (14px), but some elements like lists and text in the sidebar inherit a font-size of 100% from <html>. This causes inconsistencies when viewed on a browser that sets a custom font size != 14px.

This PR sets the font size of <html> to $base-font-size so that everything has a uniform size, regardless of browser settings. It does not respect the browsers font size, which is bad for accessibility, but it does work with scaling by the browser.

Fixes #125

Copy link
Member

@Blendify Blendify left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@Blendify Blendify merged commit 3100436 into master Sep 17, 2018
@Blendify Blendify deleted the fix-125 branch September 17, 2018 21:28
Odyseus added a commit to Odyseus/sphinx_rtd_theme_mod that referenced this pull request Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants