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:
parent
2a0e84f854
commit
c3bd70660f
6
assets/sass/elements/_headings.scss
Normal file
6
assets/sass/elements/_headings.scss
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3 {
|
||||||
|
font-family: $heading-font-family;
|
||||||
|
font-weight: 700;
|
||||||
|
}
|
||||||
9
assets/sass/elements/_html.scss
Normal file
9
assets/sass/elements/_html.scss
Normal 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;
|
||||||
|
}
|
||||||
@ -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
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
@ -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;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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 }}">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user