From 0a2cab07302ea8ad32f977508dbd0bbd14c8e9a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=9E=E9=9B=AA=E6=97=A0=E6=83=85?= Date: Thu, 7 Mar 2019 10:52:33 +0800 Subject: [PATCH] optimization copyright style --- layouts/partials/copyright.html | 12 +++++------- static/css/style.css | 11 +++++++++++ 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/layouts/partials/copyright.html b/layouts/partials/copyright.html index b807016..db6c57f 100644 --- a/layouts/partials/copyright.html +++ b/layouts/partials/copyright.html @@ -1,12 +1,10 @@ {{ if isset .Site.Params "cc" }}
-
-

Copyright

-
+
{{ end }} diff --git a/static/css/style.css b/static/css/style.css index 169cb32..df7fe9a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -990,4 +990,15 @@ img.alignright { .readmore a:hover { background: #F8F8F8; border-bottom-color: #D26911; +} +/* 版权声明 */ +.post-copyright { + margin: 2em 0 0; + padding: 0.5em 1em; + border-left: 3px solid #ff1700; + background-color: #f9f9f9; + list-style: none; +} +.post-copyright a { + border-bottom: 1px solid #999; } \ No newline at end of file