aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2024-03-20 17:57:03 +0100
committerLibravatar Kristóf Marussy <kristof@marussy.com>2024-03-20 18:56:41 +0100
commitb570643cc5807f2ffadc7966a0180efdc4475836 (patch)
tree98c82cfb0fa0246ad84dbb0434dd4413ab0833ef
parentTighter button letter-spacing (diff)
downloadblog-b570643cc5807f2ffadc7966a0180efdc4475836.tar.gz
blog-b570643cc5807f2ffadc7966a0180efdc4475836.tar.zst
blog-b570643cc5807f2ffadc7966a0180efdc4475836.zip
Two-story g in headings
-rw-r--r--README.md1
-rw-r--r--src/components/landing/Subtitle.module.css1
-rw-r--r--src/components/landing/sections/Contact.module.css2
-rw-r--r--src/components/landing/sections/Research.module.css2
-rw-r--r--src/css/custom.css16
5 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index 607f0a4..40963be 100644
--- a/README.md
+++ b/README.md
@@ -3,6 +3,7 @@
3 3
4 SPDX-License-Identifier: CC-BY-4.0 4 SPDX-License-Identifier: CC-BY-4.0
5--> 5-->
6
6# Personal website of Kristóf Marussy 7# Personal website of Kristóf Marussy
7 8
8## Compilation 9## Compilation
diff --git a/src/components/landing/Subtitle.module.css b/src/components/landing/Subtitle.module.css
index bb00e22..e680092 100644
--- a/src/components/landing/Subtitle.module.css
+++ b/src/components/landing/Subtitle.module.css
@@ -6,6 +6,7 @@
6 6
7.subtitle { 7.subtitle {
8 --ifm-h3-font-size: 1.5rem; 8 --ifm-h3-font-size: 1.5rem;
9 --casl: 1;
9 letter-spacing: var(--marussy-heading-tracking); 10 letter-spacing: var(--marussy-heading-tracking);
10 margin: 1.5rem 0; 11 margin: 1.5rem 0;
11} 12}
diff --git a/src/components/landing/sections/Contact.module.css b/src/components/landing/sections/Contact.module.css
index 15ed2a6..cfe1455 100644
--- a/src/components/landing/sections/Contact.module.css
+++ b/src/components/landing/sections/Contact.module.css
@@ -93,7 +93,7 @@
93 93
94.contact__title { 94.contact__title {
95 margin: 0; 95 margin: 0;
96 --casl: 0; 96 --casl: 0.5;
97} 97}
98 98
99.contact__value { 99.contact__value {
diff --git a/src/components/landing/sections/Research.module.css b/src/components/landing/sections/Research.module.css
index aa4cf1c..bfbc37a 100644
--- a/src/components/landing/sections/Research.module.css
+++ b/src/components/landing/sections/Research.module.css
@@ -65,7 +65,7 @@
65.topic__title { 65.topic__title {
66 margin-top: 1rem; 66 margin-top: 1rem;
67 text-align: center; 67 text-align: center;
68 --casl: 0; 68 --casl: 0.5;
69} 69}
70 70
71.topic__description { 71.topic__description {
diff --git a/src/css/custom.css b/src/css/custom.css
index 6907041..82aa56e 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -57,11 +57,12 @@
57 'slnt' var(--slnt), 57 'slnt' var(--slnt),
58 'CRSV' var(--crsv) !important; 58 'CRSV' var(--crsv) !important;
59 font-feature-settings: 59 font-feature-settings:
60 'ss02', 60 'ss02' calc(1 - min(var(--casl) * 1000, 1)),
61 /* Use single-story g everywhere. */ 'ss05' var(--mono), 61 /* Use single-story g. */ 'ss05' calc(1 - min((1 - var(--mono)) * 1000, 1)),
62 /* Simplified l in code. */ 'ss10' var(--mono), 62 /* Simplified l in code. */ 'ss10'
63 /* Dotted zero in code. */ 'ss12' var(--mono), 63 calc(1 - min((1 - var(--mono)) * 1000, 1)),
64 /* Simplified @ in code. */ 'titl' var(--casl), 64 /* Dotted zero in code. */ 'ss12' calc(1 - min((1 - var(--mono)) * 1000, 1)),
65 /* Simplified @ in code. */ 'titl' calc(min(var(--casl) * 1000, 1)),
65 /* No descender for Q in titles. */ 'liga' !important; /* Enable italic ligatures. */ 66 /* No descender for Q in titles. */ 'liga' !important; /* Enable italic ligatures. */
66} 67}
67 68
@@ -80,10 +81,6 @@ kbd {
80 81
81h1, 82h1,
82h2, 83h2,
83h3,
84h4,
85h5,
86h6,
87.button { 84.button {
88 --casl: 1; 85 --casl: 1;
89} 86}
@@ -95,6 +92,7 @@ h2 {
95 92
96h3, 93h3,
97.button--lg { 94.button--lg {
95 --casl: 0.5;
98 letter-spacing: var(--marussy-heading-tracking-looser); 96 letter-spacing: var(--marussy-heading-tracking-looser);
99} 97}
100 98