From 0796ea8fde0bb1c4394fb0bb68847e589c49009a Mon Sep 17 00:00:00 2001 From: ari melody Date: Tue, 29 Apr 2025 22:04:19 +0100 Subject: [PATCH] blog: css tweaks --- public/style/blog.css | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/public/style/blog.css b/public/style/blog.css index 9ec8e62..ee637bb 100644 --- a/public/style/blog.css +++ b/public/style/blog.css @@ -6,7 +6,7 @@ } main { - width: min(calc(100% - 4rem), 900px); + width: min(calc(100% - 4rem), 1200px); margin: 0 auto 1rem auto; } @@ -17,6 +17,7 @@ main { article.blog { font-family: 'Lora', serif; + font-size: 24px; } .blog-date { @@ -127,17 +128,28 @@ article.blog { .btn.mastodon { font-family: monospace; text-wrap: nowrap; + text-decoration: none; + transition-property: color background-color; + transition-duration: .1s; } .btn.bluesky { color: var(--bluesky); border-color: var(--bluesky); } +.btn.bluesky:hover { + background-color: var(--bluesky); + color: #fff; +} .btn.mastodon { color: var(--mastodon); border-color: var(--mastodon); } +.btn.mastodon:hover { + background-color: var(--mastodon); + color: #fff; +} .comment { font-family: 'Inter', 'Arial', sans-serif;