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

Trying different fonts

This commit is contained in:
Daniel Barber 2019-10-10 23:05:56 -04:00
parent 2a0e84f854
commit c3bd70660f
Signed by: danbarber
GPG Key ID: 931D8112E0103DD8
6 changed files with 20 additions and 4 deletions

View File

@ -0,0 +1,6 @@
h1,
h2,
h3 {
font-family: $heading-font-family;
font-weight: 700;
}

View File

@ -0,0 +1,9 @@
html {
font-family: $body-font-family;
font-style: normal;
font-weight: 300;
font-size: 1.25em;
line-height: 1.4;
padding-left: $pad-min;
padding-right: $pad-min;
}

View File

@ -18,7 +18,9 @@
// 4. Elements styling for bare HTML elements (like H1, A, etc.). // 4. Elements styling for bare HTML elements (like H1, A, etc.).
// These come with default styling from the browser so we can redefine // These come with default styling from the browser so we can redefine
// them here. // them here.
@import "elements/html";
@import "elements/figure"; @import "elements/figure";
@import "elements/headings";
// 5. Objects class-based selectors which define undecorated design patterns, // 5. Objects class-based selectors which define undecorated design patterns,
// for example media object known from OOCSS // for example media object known from OOCSS

View File

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

View File

@ -2,6 +2,4 @@
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
max-width: $max-width; max-width: $max-width;
padding-left: $pad-min;
padding-right: $pad-min;
} }

View File

@ -4,6 +4,7 @@
{{ .Site.Title }} {{ .Site.Title }}
{{ end }} {{ end }}
</title> </title>
<link rel="stylesheet" type="text/css" href="https://cloud.typography.com/7434852/6717812/css/fonts.css" />
{{ $sass := resources.Get "sass/main.scss" }} {{ $sass := resources.Get "sass/main.scss" }}
{{ $style := $sass | resources.ToCSS }} {{ $style := $sass | resources.ToCSS }}
<link rel="stylesheet" href="{{ $style.Permalink }}"> <link rel="stylesheet" href="{{ $style.Permalink }}">