From fc15c6a36129e56e1ec4bcf8e9b13614e7276df8 Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Tue, 9 Mar 2021 22:30:55 +0700 Subject: Nitpick --- _css/style.css | 29 +++++++++-------------------- 1 file changed, 9 insertions(+), 20 deletions(-) (limited to '_css') diff --git a/_css/style.css b/_css/style.css index ebe942c..0e3fb5a 100644 --- a/_css/style.css +++ b/_css/style.css @@ -115,17 +115,13 @@ td { .franklin-content blockquote { background: var(--block-bg); - border-left: 7px solid #a8a8a8; - margin: 1.5em 10px; - padding: 0.5em 10px; + border-left: 0.25rem solid var(--fade-fg); font-style: italic; + margin: 0; + padding: 0.5em 10px; } -.franklin-content blockquote p { - display: inline; - hyphens: auto; - text-align: justify; -} +.franklin-content blockquote p { display: inline } /* General formatting */ /* Spacing between bullet points. */ @@ -226,17 +222,10 @@ code, .hljs { } /* Boxes */ -.franklin-content .colbox-blue { - background-color: #eef3f5; - padding-top: 5px; - padding-right: 10px; - padding-left: 10px; - padding-bottom: 5px; - margin-left: 5px; - margin-top: 5px; - margin-bottom: 5px; - border-radius: 0 10px 10px 0; - border-left: 5px solid #4c9cf1; +.colbox-blue { + background-color: #729fcf42; + padding: 0.1rem 0.5rem; + border-left: 0.25rem solid #3465e4; } /* Header */ @@ -256,7 +245,7 @@ header a { text-decoration: none; transition: color 0.3s ease; } -header li a:hover { color: var(--fade-fg) } +header a:hover { color: var(--text-fg) } nav, nav li { display: inline-block } nav ul { margin: 0 } -- cgit 1.4.1