Merge pull request #29 from welpo/style/serif-body
💄 style: use serif font in body
This commit is contained in:
commit
e387f792c3
@ -1,8 +1,17 @@
|
|||||||
@font-face {
|
@font-face {
|
||||||
|
/* Copyright 2020 The Inter Project Authors (https://github.com/rsms/inter). Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
src: url('fonts/Inter.ttf');
|
src: url('fonts/Inter.ttf');
|
||||||
font-display: swap;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
/* Copyright 2014, 2015, 2016 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'. Licensed under the SIL Open Font License, Version 1.1. More information available at: http://scripts.sil.org/OFL */
|
||||||
|
font-family: 'Source Serif Pro';
|
||||||
|
src: url('fonts/SourceSerifPro-Regular.ttf');
|
||||||
|
font-display: swap;
|
||||||
|
}
|
||||||
|
|
||||||
@import 'parts/_archive.scss';
|
@import 'parts/_archive.scss';
|
||||||
@import 'parts/_cards.scss';
|
@import 'parts/_cards.scss';
|
||||||
@import 'parts/_code.scss';
|
@import 'parts/_code.scss';
|
||||||
@ -142,6 +151,11 @@ h5 {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
font-family: 'Source Serif Pro', serif;
|
||||||
|
font-size: 1.2em;
|
||||||
|
}
|
||||||
|
|
||||||
img {
|
img {
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,14 @@
|
|||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#banner-home-subtitle p {
|
||||||
|
font-family: 'Inter', Arial, Helvetica, sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
|
#banner-home-subtitle a {
|
||||||
|
font-weight: 400;
|
||||||
|
}
|
||||||
|
|
||||||
.banner-home-img {
|
.banner-home-img {
|
||||||
aspect-ratio: 1 / 1;
|
aspect-ratio: 1 / 1;
|
||||||
max-width: 15rem;
|
max-width: 15rem;
|
||||||
|
@ -46,7 +46,7 @@ blockquote {
|
|||||||
a {
|
a {
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
text-decoration-color: var(--links);
|
text-decoration-color: var(--links);
|
||||||
font-weight: 800;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
a:hover {
|
a:hover {
|
||||||
|
BIN
static/fonts/SourceSerifPro-Regular.ttf
Executable file
BIN
static/fonts/SourceSerifPro-Regular.ttf
Executable file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user