Simplify the font families
Just use the system fonts. Nothing special yet.
This commit is contained in:
parent
0cfc91d26e
commit
266e2da090
1 changed files with 4 additions and 25 deletions
|
@ -17,31 +17,13 @@
|
||||||
# FONTS
|
# FONTS
|
||||||
********/
|
********/
|
||||||
|
|
||||||
@import url("https://use.typekit.net/fji8aoy.css");
|
|
||||||
|
|
||||||
{{ with resources.Get "fonts/merriweather.woff2" -}}
|
|
||||||
@font-face {
|
|
||||||
font-family: "merriweather";
|
|
||||||
src: url("{{ .Permalink }}");
|
|
||||||
}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
{{ with resources.Get "fonts/merriweather-italic.woff2" -}}
|
|
||||||
@font-face {
|
|
||||||
font-family: "merriweather";
|
|
||||||
font-style: italic;
|
|
||||||
src: url("{{ .Permalink }}");
|
|
||||||
}
|
|
||||||
{{- end }}
|
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* --font-family-heading: "rockwell", serif; */
|
|
||||||
--font-family-sans: system-ui, Arial, sans-serif;
|
--font-family-sans: system-ui, Arial, sans-serif;
|
||||||
--font-family-serif: "merriweather", Georgia, serif;
|
--font-family-serif: Georgia, serif;
|
||||||
--font-family-monospace: "source-code-pro", monospace;
|
--font-family-monospace: monospace;
|
||||||
|
|
||||||
--font-family-body: var(--font-family-sans);
|
--font-family-body: var(--font-family-sans);
|
||||||
--font-family-heading: var(--font-family-serif);
|
--font-family-heading: var(--font-family-monospace);
|
||||||
|
|
||||||
--text-base-size: 125%;
|
--text-base-size: 125%;
|
||||||
--text-base: {{ $base }}{{ $unit }};
|
--text-base: {{ $base }}{{ $unit }};
|
||||||
|
@ -77,12 +59,10 @@ h1, h2, h3, h4, h5, h6 {
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: var(--text-xxl);
|
font-size: var(--text-xxl);
|
||||||
letter-spacing: 0.05em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2 {
|
h2 {
|
||||||
font-size: var(--text-xl);
|
font-size: var(--text-xl);
|
||||||
letter-spacing: 0.03em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h3 {
|
h3 {
|
||||||
|
@ -113,14 +93,13 @@ sup {
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: var(--text-xxl);
|
font-size: var(--text-xxl);
|
||||||
letter-spacing: 0.05em;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.subtitle {
|
.subtitle {
|
||||||
font-weight: lighter;
|
font-weight: lighter;
|
||||||
|
font-family: var(--font-family-serif);
|
||||||
}
|
}
|
||||||
|
|
||||||
figcaption,
|
|
||||||
small,
|
small,
|
||||||
.text--small
|
.text--small
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue