mirror of
https://git.adityakumar.xyz/adityakumar.xyz.git
synced 2024-12-21 08:22:53 +00:00
use fonts locally
This commit is contained in:
parent
9e12568e81
commit
509f5757f7
1 changed files with 12 additions and 4 deletions
16
style.css
16
style.css
|
@ -1,5 +1,13 @@
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&display=swap');
|
@font-face {
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville&family=Lora:ital@0;1&display=swap');
|
font-family: 'Libre Baskerville';
|
||||||
|
src: url('fonts/Libre_Baskerville/LibreBaskerville-Regular.ttf');
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Lora';
|
||||||
|
src: url('fonts/Lora/Lora-VariableFont_wght.ttf');
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background-color: linen;
|
background-color: linen;
|
||||||
|
@ -14,7 +22,7 @@ header {
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2 {
|
h1, h2 {
|
||||||
font-family: 'Libre Baskerville', sans-serif;
|
font-family: 'Libre Baskerville', serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
@ -27,7 +35,7 @@ a:hover, a:active {
|
||||||
}
|
}
|
||||||
|
|
||||||
.content {
|
.content {
|
||||||
font-family: 'Lora', sans-serif;
|
font-family: 'Lora', serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
header, main, section, footer {
|
header, main, section, footer {
|
||||||
|
|
Loading…
Reference in a new issue