From 5d1858d90fae96a2f7270c54604df0d79a65e208 Mon Sep 17 00:00:00 2001 From: JohnathanLin <289348588@qq.com> Date: Wed, 3 May 2023 16:10:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=BA=86=E5=8F=8B=E6=83=85?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/css/common/post-single.css | 32 ++++++++++++++++++++++++ layouts/_default/baseof.html | 3 +++ layouts/shortcodes/friendList.html | 40 ++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+) create mode 100644 layouts/shortcodes/friendList.html diff --git a/assets/css/common/post-single.css b/assets/css/common/post-single.css index 11f5d0d..c60631f 100644 --- a/assets/css/common/post-single.css +++ b/assets/css/common/post-single.css @@ -406,4 +406,36 @@ div.book { max-width:150px; min-height: 250px; vertical-align: top; +} + +div.friend-link { + width: 355px; + display: inline-block; + vertical-align: top; + padding: 0 10px; + margin-bottom: 10px; +} + +div.friend-link div.friend-link-avatar { + width: 64px; + height: 64px; + float: left; + margin-right: 10px; +} + +div.friend-link div.friend-link-avatar img { + margin: 0; +} + +div.friend-link div.friend-link-name { + height: 32px; + font-size: 24px; + line-height: 32px; +} + +div.friend-link div.friend-link-bio { + height: 32px; + font-size: 16px; + line-height: 32px; + overflow: hidden; } \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3d13f07..d688c82 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,6 +3,7 @@
{{- partial "head.html" . }} + {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} + +