diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | src/components/landing/Subtitle.module.css | 1 | ||||
-rw-r--r-- | src/components/landing/sections/Contact.module.css | 2 | ||||
-rw-r--r-- | src/components/landing/sections/Research.module.css | 2 | ||||
-rw-r--r-- | src/css/custom.css | 16 |
5 files changed, 11 insertions, 11 deletions
@@ -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 | ||
81 | h1, | 82 | h1, |
82 | h2, | 83 | h2, |
83 | h3, | ||
84 | h4, | ||
85 | h5, | ||
86 | h6, | ||
87 | .button { | 84 | .button { |
88 | --casl: 1; | 85 | --casl: 1; |
89 | } | 86 | } |
@@ -95,6 +92,7 @@ h2 { | |||
95 | 92 | ||
96 | h3, | 93 | h3, |
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 | ||