From 8bbb2ac5b5281bd2707fb1ea799852f08c9be57b Mon Sep 17 00:00:00 2001 From: Reorx Date: Tue, 6 Sep 2022 22:38:40 +0800 Subject: [PATCH] add blogroll type of section page --- assets/css/common/main.css | 47 ---------------------- layouts/blogroll/section.html | 75 +++++++++++++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 47 deletions(-) create mode 100644 layouts/blogroll/section.html diff --git a/assets/css/common/main.css b/assets/css/common/main.css index e02851b..004de15 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -169,53 +169,6 @@ figure > img { } -/* links page */ - -.links-container { - font-size: 16px; -} -.links-container blockquote { - margin: var(--gap) 0; - padding: 0 14px; - border-inline-start: 3px solid var(--primary); -} -.links .item { - padding: 12px; - background: var(--entry); - border-radius: var(--radius); - margin-bottom: var(--gap); - border: 1px solid var(--border); -} - -.links .favicon { - display: inline-block; - background-size: 16px 16px; - width: 16px; - height: 16px; - image-rendering: -webkit-optimize-contrast; -} -.links .item .title { -} -.links .item .title .favicon { - margin-right: calc(var(--gap) / 2); - vertical-align: middle; -} - -.links .item .title a:hover { - text-decoration: underline; -} - -.links .item .description { - margin-left: calc(16px + var(--gap) / 2); - color: var(--secondary); -} - -.links .item .description .delimiter::after { - content: "·"; - margin-inline-start: .5em; - margin-inline-end: .5em; -} - /* shortcodes */ .standout { diff --git a/layouts/blogroll/section.html b/layouts/blogroll/section.html new file mode 100644 index 0000000..690910a --- /dev/null +++ b/layouts/blogroll/section.html @@ -0,0 +1,75 @@ +{{- define "head" }} + +{{- end }} + +{{- define "main" }} + + + + +{{- end }}