1
0
mirror of https://github.com/danbee/danbarber.me.hugo.git synced 2025-03-04 08:59:18 +00:00

Adaptive typography

This commit is contained in:
Daniel Barber 2019-10-11 22:51:30 -04:00
parent cafd63af24
commit acfb4eb268
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@ html {
font-family: $body-font-family;
font-style: normal;
font-weight: 300;
font-size: 1.25em;
font-size: calc((1vmin * 0.85) + 13px);
line-height: 1.4;
padding-left: $pad-min;
padding-right: $pad-min;

View File

@ -1,2 +1,2 @@
$max-width: 816px !default;
$pad-min: 8.5% !default;
$max-width: 40rem !default;
$pad-min: 6.5% !default;

View File

@ -1,5 +1,5 @@
$heading-font-family: "Gotham A", "Gotham B", Georgia, Times, "Times New Roman", serif;
$body-font-family: "Mercury SSm A", "Mercury SSm B", Georgia, Times, "Times New Roman", serif;
$heading-font-family: "Gotham A", "Gotham B", sans-serif;
$body-font-family: "Mercury SSm A", "Mercury SSm B", serif;
$mono: "Source Code Pro", "Consolas", "Menlo", monospace !default;
$header-title-font-family: $heading-font-family !default;
$header-subtitle-font-family: $heading-font-family !default;