From 894d63ad42d691586acfdf42b68f225842372b7b Mon Sep 17 00:00:00 2001 From: Spirit Date: Fri, 25 Oct 2019 16:42:48 +0800 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 }