From 27201e2be8fb7c58ce159a12f25e4b3a3deffcd7 Mon Sep 17 00:00:00 2001 From: grassblock Date: Sat, 7 Jun 2025 18:21:09 +0800 Subject: [PATCH] feat: improve table and blockquote styling for content --- src/styles/global.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 40364c7..19555c0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -230,11 +230,35 @@ div.content { background-color: #3b4252 !important; } + table { + border-collapse: collapse; + } + + table, + th, + td { + border: 1px dashed var(--secondary-text-color); + padding: 10px; + } + h1, h2, h3, h4 { margin: 0.5rem 0; line-height: 1.3; } + a { + text-decoration: underline 1px; + } + + blockquote { + border-left: 1px solid var(--accent-color); + color: var(--text-color); + padding: 20px; + font-style: italic; + margin-left: 0; + margin-right: 0; + } + /* Responsive Images */ img { max-width: 100%;