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:
parent
cafd63af24
commit
acfb4eb268
@ -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;
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
$max-width: 816px !default;
|
||||
$pad-min: 8.5% !default;
|
||||
$max-width: 40rem !default;
|
||||
$pad-min: 6.5% !default;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user