aboutsummaryrefslogtreecommitdiff
path: root/styles/shared.scss
diff options
context:
space:
mode:
authorAriel Costas Guerrero <ariel@costas.dev>2025-10-12 22:49:13 +0200
committerAriel Costas Guerrero <ariel@costas.dev>2025-10-12 22:49:13 +0200
commitcbdb2ee1547fcfbef8c874da60b17eee80b5fa18 (patch)
treef1adc98515c2ac7681dcd0902b9ebcc2997d6b73 /styles/shared.scss
parentdcc806eff41da24ee6b5984d011f62bc9f4f00ee (diff)
Get rid of trajectory and portfolio
Diffstat (limited to 'styles/shared.scss')
-rw-r--r--styles/shared.scss14
1 files changed, 14 insertions, 0 deletions
diff --git a/styles/shared.scss b/styles/shared.scss
index 053350f..ef9379c 100644
--- a/styles/shared.scss
+++ b/styles/shared.scss
@@ -1,6 +1,14 @@
@use "./variables" as *;
@use "./alert";
+@font-face {
+ font-display: swap;
+ font-family: 'Roboto Flex';
+ font-style: normal;
+ font-weight: 100 900;
+ src: url('/fonts/robotoflex.woff2') format('woff2');
+}
+
body {
font-family: $mainFontStack;
line-height: 1.65;
@@ -17,12 +25,14 @@ h1 {
@extend %heading;
font-size: 3.25rem;
line-height: 1.3;
+
}
h2 {
@extend %heading;
font-size: 2.5rem;
line-height: 1.55;
+ font-variation-settings: "wdth" 87.5,"wght" 700,"GRAD" 150
}
h3 {
@@ -36,3 +46,7 @@ h4 {
font-size: 1.25rem;
line-height: 1.55;
}
+
+p {
+ font-variation-settings: "GRAD" -15,"wdth" 112.5;
+}