mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
feat: add self-hosted Alegreya, Plantin, and Redaction font families and move Google Fonts links
This commit is contained in:
+8
-10
@@ -1,15 +1,14 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'SohneBuch';
|
||||
src:
|
||||
url('~/assets/fonts/Sohne/Sohne-Buch.woff') format('woff'),
|
||||
url('~/assets/fonts/Sohne/Sohne-Buch.ttf') format('truetype');
|
||||
}
|
||||
@import './fonts.css';
|
||||
|
||||
:root {
|
||||
/* --font: 'Baskervville', serif; */
|
||||
--font: 'EB Garamond', serif;
|
||||
/* --font: 'EB Garamond', serif; */
|
||||
/* --font: 'Plantin MT Pro', serif; */
|
||||
--font: 'Redaction', serif;
|
||||
/* --font: 'Young Serif', serif; */
|
||||
/* --font: "SohneBuch", sans-serif; */
|
||||
--font-hover: 'Redaction 70', serif;
|
||||
/* --font-hover: var(--font); */
|
||||
--text: #333;
|
||||
--muted: #666;
|
||||
--bg: #fbfbf7;
|
||||
@@ -73,7 +72,6 @@ body {
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
|
||||
|
||||
.punch-link:hover {
|
||||
background-size: 100% 100%;
|
||||
background-image: linear-gradient(#fff, #fff);
|
||||
@@ -96,4 +94,4 @@ body {
|
||||
|
||||
.back-link:hover .arrow {
|
||||
transform: translateX(-4px);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user