From 2957f109df93eeda3a663e5ead041972f531c9ba Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Thu, 8 Jul 2021 23:41:57 +0800 Subject: [PATCH] css --- source/css/_layout/sidebar/sidebar.styl | 2 +- source/css/_layout/tag-plugins/link.styl | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/source/css/_layout/sidebar/sidebar.styl b/source/css/_layout/sidebar/sidebar.styl index ae98a91..5e4796d 100644 --- a/source/css/_layout/sidebar/sidebar.styl +++ b/source/css/_layout/sidebar/sidebar.styl @@ -89,7 +89,7 @@ align-items: flex-start a.wiki-home margin-bottom: .5rem - color: var(--text-p2) + color: var(--text-p1) svg margin-right: 2px &:hover diff --git a/source/css/_layout/tag-plugins/link.styl b/source/css/_layout/tag-plugins/link.styl index 0bc03b2..e1b466d 100644 --- a/source/css/_layout/tag-plugins/link.styl +++ b/source/css/_layout/tag-plugins/link.styl @@ -1,13 +1,12 @@ .md .tag-plugin.link - // margin-top: 1em - // margin-bottom: 1em max-width: 360px margin: 1em auto + display: flex + justify-content: center @media screen and (max-width: $device-mobile-375) width: 100% .md .link-card - // margin-right: 1em background: var(--card) display: inline-flex justify-content: space-between