From f0e18842a40251a7ee535478da1d5c9b025c0a60 Mon Sep 17 00:00:00 2001 From: Ekkles <41195266+EkklesN@users.noreply.github.com> Date: Sat, 26 Oct 2019 00:46:20 +1300 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cdn/theme/sakura.css | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/cdn/theme/sakura.css b/cdn/theme/sakura.css index b60e38f..f5369a9 100644 --- a/cdn/theme/sakura.css +++ b/cdn/theme/sakura.css @@ -55,27 +55,34 @@ position: relative } +.entry-content h3, .entry-content h4, .entry-content h5 { + padding-left: 16px; +} + .entry-content h3 { padding-bottom: 8px; border-bottom: 1px dashed #ddd; color: #737373 } -.entry-content h3:before { +.entry-content h3:after { content: "#"; - margin-right: 5px; + position: absolute; + left: 0; color: #FF6D6D } -.entry-content h4:before { +.entry-content h4:after { content: ">"; - margin-right: 5px; + position: absolute; + left: 0; color: #FF6D6D } -.entry-content h5:before { +.entry-content h5:after { content: "?"; - margin-right: 5px; + position: absolute; + left: 0; color: #FF6D6D }