mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
refactor: update typography to EB Garamond, add punch-link styling, and refine landing page content and components.
This commit is contained in:
+27
-2
@@ -8,7 +8,8 @@
|
||||
|
||||
:root {
|
||||
/* --font: 'Baskervville', serif; */
|
||||
--font: "SohneBuch", sans-serif;
|
||||
--font: 'EB Garamond', serif;
|
||||
/* --font: "SohneBuch", sans-serif; */
|
||||
--text: #333;
|
||||
--muted: #666;
|
||||
--bg: #fbfbf7;
|
||||
@@ -53,4 +54,28 @@ body {
|
||||
color: var(--text);
|
||||
font-size: 16px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
}
|
||||
|
||||
.punch-link {
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
position: relative;
|
||||
color: var(--bg);
|
||||
text-decoration: none;
|
||||
transition: all 200ms ease;
|
||||
padding: 0 4px;
|
||||
margin: 0 -4px;
|
||||
background-image: linear-gradient(var(--bg), var(--bg));
|
||||
background-size: 100% 1px;
|
||||
background-position: bottom;
|
||||
background-repeat: no-repeat;
|
||||
mix-blend-mode: screen;
|
||||
}
|
||||
|
||||
|
||||
.punch-link:hover {
|
||||
background-size: 100% 100%;
|
||||
background-image: linear-gradient(#fff, #fff);
|
||||
color: #000;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user