diff --git a/src/lib/Post.svelte b/src/lib/Post.svelte index 9711c80..854ca12 100644 --- a/src/lib/Post.svelte +++ b/src/lib/Post.svelte @@ -13,6 +13,13 @@ export const draft = false; + + {title} @@ -20,6 +27,6 @@

{title}

-

{formatDate(date)}

+

{formatDate(date)}

diff --git a/static/style.css b/static/style.css index 7c32838..92295ea 100644 --- a/static/style.css +++ b/static/style.css @@ -7,12 +7,18 @@ font-display: block; } +:root { + --content-size: 1.25rem; + --content-line-height: 1.3; + --content-color: #1e1e1e; +} + html { font-family: 'Tajawal', sans-serif; - font-size: 20px; - line-height: 1.3; + font-size: var(--content-size); + line-height: var(--content-line-height); letter-spacing: -0.005em; - color: #1e1e1e; + color: var(--content-color); } body {