Skip to content

Commit

Permalink
switch to system font
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklas Buschmann committed Jun 23, 2021
1 parent 2da773a commit 108a732
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 48 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ date_format: "%B %d, %Y"

# Layout

show_excerpts: true # show article excerpts on the home page
show_frame: true # adds a gray frame to the site
show_excerpts: false # show article excerpts on the home page
show_frame: false # adds a gray frame to the site
show_sidebar: false # show a sidebar instead of the usual header
minimal: false # use a dark header

Expand Down
11 changes: 0 additions & 11 deletions _sass/font.sass

This file was deleted.

4 changes: 2 additions & 2 deletions _sass/index.sass
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$font-size: calc(0.8rem + 0.3vw) !default
$font-size: calc(0.8rem + 0.15vw) !default
$font-weight: 400 !default
$font-family: "PT Sans", -apple-system, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif !default
$font-family: -apple-system, "Helvetica Neue", "Segoe UI", "Roboto", sans-serif !default
$heading-weight: 600 !default
$line-height: 1.6 !default
$link-color: #68f !default
Expand Down
4 changes: 2 additions & 2 deletions _sass/layout.sass
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ article header h1
margin: 0 0 .1em

nav
margin: .5em -1em
margin: .5em -1.2em

nav a
margin: .5em 1em
margin: .5em 1.2em
4 changes: 2 additions & 2 deletions assets/css/frame.sass
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
---

@import index, font, basic, layout, classes
@import index, basic, layout, classes

html
background: lighten($dark, 70%)
Expand All @@ -16,7 +16,7 @@ body > header, body > footer

@media (min-width: 32em)
body > header, body > article, body > footer
padding: 1.65em calc(22% - 6em)
padding: 1.75em calc(22% - 7em)

@media (prefers-color-scheme: dark)
body, body > header, body > footer
Expand Down
6 changes: 3 additions & 3 deletions assets/css/index.sass
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
---

@import index, font, basic, layout, classes
@import index, basic, layout, classes

@media (min-width: 38em)
@media (min-width: 40em)
body > header, body > article, body > footer
padding: 1.65em calc(38% - 14em)
padding: 1.75em calc(40% - 17em)

{% if site.minimal %}

Expand Down
26 changes: 0 additions & 26 deletions assets/fonts/License.txt

This file was deleted.

Binary file removed assets/fonts/PTSans-Bold.woff
Binary file not shown.
Binary file removed assets/fonts/PTSans-Regular.woff
Binary file not shown.

0 comments on commit 108a732

Please sign in to comment.