From 98e38a212eef9592bad7ecb21e871bcb63f67ad3 Mon Sep 17 00:00:00 2001 From: mayx Date: Sat, 17 May 2025 04:44:05 +0000 Subject: Update 2 files - /assets/css/style.scss - /_layouts/post.html--- _layouts/post.html | 14 ++++++-------- assets/css/style.scss | 13 ++++++++++--- 2 files changed, 16 insertions(+), 11 deletions(-) diff --git a/_layouts/post.html b/_layouts/post.html index 0fe96be..4ad595f 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -80,17 +80,15 @@ layout: default {% if page.tags %} tags: {% for tag in page.tags %}{{ tag }}{% unless forloop.last %} - {% endunless %}{% endfor %} 查看原始文件 {% endif %} -
-
-

+

推荐文章

+

Loading...

diff --git a/assets/css/style.scss b/assets/css/style.scss index b9ca17e..6aa8db2 100644 --- a/assets/css/style.scss +++ b/assets/css/style.scss @@ -34,31 +34,38 @@ a:hover { .post-content h1 { text-indent: -8px; + margin:20px 0 10px; border-bottom: 1px solid #e5e5e5; } .post-content h2 { text-indent: -6px; + margin:20px 0 10px; border-bottom: 1px solid #e5e5e5; } .post-content h3 { + margin:20px 0 10px; text-indent: -5px; } .post-content h4 { + margin:20px 0 10px; text-indent: -4px; } .post-content h5 { + margin:20px 0 10px; text-indent: -3px; } .post-content h6 { + margin:20px 0 10px; text-indent: -2px; } .post-content p { + margin:20px 0 10px; text-indent: 2em; margin-bottom: 5px; } @@ -93,7 +100,7 @@ div.highlight { } div.highlight:hover button { - opacity: 1 + opacity: 1; } div.highlight button { @@ -102,13 +109,13 @@ div.highlight button { top: 0.5em; right: 1em; height: 2em; - transition: all 0.2s ease-out + transition: all 0.2s ease-out; } div.highlight button:active, div.highlight button:focus, div.highlight button:hover { - opacity: 1 + opacity: 1; } .footnotes { -- cgit 1.4.1-2-gfad0