Created
January 5, 2017 21:31
-
-
Save tobymarsden/b0b736eb8c5cbc6f3ef1fd3631021f8e to your computer and use it in GitHub Desktop.
Hypervisual font size overrides
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* DESKTOP STYLES */ | |
.hypervisual__root .hypervisual__text-small, .hypervisual__root .hypervisual__text-small *, .hypervisual__root .hypervisual__button.hypervisual__text-small { | |
font-size: 16px; | |
line-height: 1.25; | |
} | |
.hypervisual__root .hypervisual__text-medium, .hypervisual__root .hypervisual__text-medium *, .hypervisual__root .hypervisual__button.hypervisual__text-medium { | |
font-size: 20px; | |
line-height: 1.25; | |
} | |
.hypervisual__root .hypervisual__text-large, .hypervisual__root .hypervisual__text-large *, .hypervisual__root .hypervisual__button.hypervisual__text-large { | |
font-size: 26px; | |
line-height: 32.5px; | |
} | |
.hypervisual__root .hypervisual__text-xlarge, .hypervisual__root .hypervisual__text-xlarge *, .hypervisual__root .hypervisual__button.hypervisual__text-xlarge { | |
font-size: 40px; | |
line-height: 50px; | |
} | |
/* MOBILE STYLES */ | |
@media (max-width: 480px) { | |
.hypervisual__root .hypervisual__text-small, .hypervisual__root .hypervisual__text-small *, .hypervisual__root .hypervisual__button.hypervisual__text-small { | |
font-size: 13px; | |
} | |
.hypervisual__root .hypervisual__text-medium, .hypervisual__root .hypervisual__text-medium *, .hypervisual__root .hypervisual__button.hypervisual__text-medium { | |
font-size: 16px; | |
} | |
.hypervisual__root .hypervisual__text-large, .hypervisual__root .hypervisual__text-large *, .hypervisual__root .hypervisual__button.hypervisual__text-large { | |
font-size: 21px; | |
line-height: 26px; | |
} | |
.hypervisual__root .hypervisual__text-xlarge, .hypervisual__root .hypervisual__text-xlarge *, .hypervisual__root .hypervisual__button.hypervisual__text-xlarge { | |
font-size: 32px; | |
line-height: 40px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment