From be55bbfb57421d4f6bcd0cdd73ea97866e9a13ee Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 11 Jan 2022 21:38:46 +0700 Subject: Tweak CSS for long nested replies --- _css/style.css | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to '_css') diff --git a/_css/style.css b/_css/style.css index fa15219..d7bea79 100644 --- a/_css/style.css +++ b/_css/style.css @@ -118,22 +118,18 @@ p, details { /* Boxes */ .franklin-content blockquote, .note { - margin: 1ex -1rem; + margin: 0 -1rem; padding-bottom: 1ex; padding-left: 0.75rem; padding-right: 1rem; padding-top: 1ex; } - .franklin-content blockquote p, .note p { margin: 1ex 0 } - .note p:first-child { font-weight: bold } - .franklin-content blockquote { background: var(--overlay-bg); - border-left: 0.25rem solid var(--fade-fg); + border-left: 0.25rem solid #8884; } - .note { background-color: #51affe25; border-left: 0.25rem solid var(--blue); @@ -233,10 +229,8 @@ code, .hljs { clear: both; margin: 1ex 0; overflow: hidden; - padding: 1ex; + padding: 0 1rem; } -.comment p { margin: 1ex } -.comment blockquote, .comment .note { margin: -1ex -1ex 0 } .openring { display: flex; -- cgit 1.4.1