summaryrefslogtreecommitdiff
path: root/sass/_typography.scss
diff options
context:
space:
mode:
Diffstat (limited to 'sass/_typography.scss')
-rw-r--r--sass/_typography.scss42
1 files changed, 42 insertions, 0 deletions
diff --git a/sass/_typography.scss b/sass/_typography.scss
new file mode 100644
index 0000000..4b11814
--- /dev/null
+++ b/sass/_typography.scss
@@ -0,0 +1,42 @@
+h1,
+h2,
+h3 {
+ overflow-wrap: anywhere;
+ color: var(--color-text);
+ font-weight: 650;
+ line-height: 1.3;
+ letter-spacing: -0.02em;
+}
+
+h1 {
+ font-size: clamp(2rem, 5vw, 3.25rem);
+}
+
+h2 {
+ font-size: clamp(1.35rem, 3vw, 1.7rem);
+}
+
+h3 {
+ font-size: 1.08rem;
+}
+
+time,
+.article-kind,
+.article-dates,
+.theme-toggle,
+.tag-list,
+.error-code {
+ font-family: var(--font-mono);
+}
+
+.article-kind {
+ font-size: 0.8rem;
+ letter-spacing: 0.06em;
+}
+
+.article-description,
+.page-header > p,
+.home-intro > p {
+ color: var(--color-muted);
+ font-size: 1.08rem;
+}