From 7e2f3fca091c08771486df0b870ce187f869d363 Mon Sep 17 00:00:00 2001 From: muqiuhan Date: Tue, 28 Feb 2023 09:58:51 +0000 Subject: deploy: b780169745c17f9fc971299e923e5ca5669b5a22 --- css/component/component.css | 42 ++++++++++++++++++++++++++++++++++++++++++ css/component/icon.css | 22 ++++++++++++++++++++++ 2 files changed, 64 insertions(+) create mode 100644 css/component/component.css create mode 100644 css/component/icon.css (limited to 'css/component') diff --git a/css/component/component.css b/css/component/component.css new file mode 100644 index 00000000..dd96ae94 --- /dev/null +++ b/css/component/component.css @@ -0,0 +1,42 @@ +.h-line-primary { + background-color: $color-text-primary; + height: $line-third; +} +.h-line-secondary { + background-color: $color-text-secondary; + height: $line-third; +} +hr { + background-color: $color-text-third; + height: $line-third; + border: 0; +} +.tag-list { + display: flex; + flex-wrap: wrap; + margin-bottom: $margin-m-0; +} +.tag-title { + margin: $margin-m-1 0; + color: $color-text-secondary; + font-size: $font-size-header; +} +.tag-title a { + color: $color-text-secondary; +} +.post-tag { + border: $line-third solid $color-text-primary; + margin-right: $margin-s-2; + margin-bottom: $margin-s-2; + padding: $margin-s-2 $margin-m-0 $margin-s-2 $margin-m-0; + border-radius: $margin-m-2; +} +.post-tag a { + background-image: none !important; +} +.post-tag:hover { + background-color: $color-text-primary; +} +.post-tag:hover a { + color: $color-background; +} diff --git a/css/component/icon.css b/css/component/icon.css new file mode 100644 index 00000000..c7dbd0ab --- /dev/null +++ b/css/component/icon.css @@ -0,0 +1,22 @@ +.icon { + display: block; + background-color: $color-text-primary; + width: $icon-size; + height: $icon-size; +} +.arrow-up { + -webkit-mask-image: url("../icon/arrow-up.svg"); + mask-image: url("../icon/arrow-up.svg"); +} +.arrow-left { + -webkit-mask-image: url("../icon/arrow-left.svg"); + mask-image: url("../icon/arrow-left.svg"); +} +.arrow-right { + -webkit-mask-image: url("../icon/arrow-right.svg"); + mask-image: url("../icon/arrow-right.svg"); +} +.close-btn { + -webkit-mask-image: url("../icon/close-btn.svg"); + mask-image: url("../icon/close-btn.svg"); +} -- cgit v1.2.3