From 1b02cc55ab8caa02b1881930234fd41d63840bce Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Fri, 2 Feb 2024 15:22:55 +0800 Subject: [PATCH] [opt] style --- _config.yml | 2 ++ _data/icons.yml | 5 ++++- source/css/_layout/tag-plugins/quot.styl | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/_config.yml b/_config.yml index 0a8673c..5280097 100755 --- a/_config.yml +++ b/_config.yml @@ -294,6 +294,8 @@ tag_plugins: suffix: https://bu.dusays.com/2022/10/24/63567d3e0ab55.png hashtag: prefix: https://bu.dusays.com/2022/10/24/63567d3e07da3.png + question: + prefix: ph:seal-question-fill # {% emoji %} emoji: default: https://gcore.jsdelivr.net/gh/cdn-x/emoji/qq/${name}.gif diff --git a/_data/icons.yml b/_data/icons.yml index 57cc118..c44c14b 100644 --- a/_data/icons.yml +++ b/_data/icons.yml @@ -35,4 +35,7 @@ github:tag: diff --git a/source/css/_layout/tag-plugins/quot.styl b/source/css/_layout/tag-plugins/quot.styl index b4844e3..85f10f8 100644 --- a/source/css/_layout/tag-plugins/quot.styl +++ b/source/css/_layout/tag-plugins/quot.styl @@ -4,6 +4,7 @@ display: flex flex-direction: column --gap-p: 2rem + margin: var(--gap-p) 1rem .content display: flex align-items: center @@ -17,7 +18,6 @@ line-height: 1.2 .md-text .tag-plugin.quot .content - max-width 500px position: relative // override .md-text.content .tag-plugin.quot @@ -64,6 +64,7 @@ display: inline-block color: $color-accent border-radius: 0 + flex-shrink: 0 span.text margin: 0 .5rem padding-top: 1px