From c2ca88b761c589cc5a36563818c404a727e8e3fe Mon Sep 17 00:00:00 2001 From: syui Date: Sat, 14 Jun 2025 13:39:10 +0900 Subject: [PATCH] fix css --- my-blog/static/css/style.css | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/my-blog/static/css/style.css b/my-blog/static/css/style.css index bc3fa1a..0cc6a7e 100644 --- a/my-blog/static/css/style.css +++ b/my-blog/static/css/style.css @@ -199,6 +199,12 @@ a.view-markdown:any-link { width: 100%; } +@media (max-width: 1200px) { + .main-content { + padding: 24px 0; + } +} + /* Timeline */ .timeline-container { max-width: 600px; @@ -621,14 +627,15 @@ a.view-markdown:any-link { } .footer-social a { - color: var(--dark-gray); - text-decoration: none; + color: var(--dark-gray) !important; + text-decoration: none !important; font-size: 16px; transition: all 0.2s ease; } .footer-social a:hover { - color: var(--theme-color); + color: var(--theme-color) !important; + opacity: 0.8; } .main-footer p { @@ -793,6 +800,12 @@ a.view-markdown:any-link { padding: 10px; } + /* Reduce logo size on mobile */ + .logo .likeButton { + width: 50pt !important; + height: 50pt !important; + } + /* Position AI button on the right */ .header-actions { grid-column: 3;