From 490021c2f57c0db2af6c9bb0413cb42ae1af2ca1 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Wed, 12 Oct 2022 21:54:48 +0800 Subject: [PATCH] css --- source/css/_layout/tag-plugins/about.styl | 3 ++- source/css/_layout/tag-plugins/tabs.styl | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/source/css/_layout/tag-plugins/about.styl b/source/css/_layout/tag-plugins/about.styl index 1724f2a..2842a2a 100644 --- a/source/css/_layout/tag-plugins/about.styl +++ b/source/css/_layout/tag-plugins/about.styl @@ -28,6 +28,7 @@ >p line-height: 1.5 .tag-plugin.navbar:last-child + text-align: center nav.cap margin-top: 1rem background: var(--card) @@ -43,7 +44,7 @@ @media screen and (max-width: $device-mobile) .tag-plugin.about - padding: 1rem + padding: 1.5rem 1rem .about-header margin: 2rem 0 p diff --git a/source/css/_layout/tag-plugins/tabs.styl b/source/css/_layout/tag-plugins/tabs.styl index 1c50da2..a83066e 100644 --- a/source/css/_layout/tag-plugins/tabs.styl +++ b/source/css/_layout/tag-plugins/tabs.styl @@ -79,3 +79,6 @@ display: none &.active display: block + +.md.indent .tag-plugin.tabs .tab-content p:not([class]) + text-indent: 'calc(%s * 2)' % $fs-p \ No newline at end of file