From c3588e17528e084b6ec3454fc04253d74a253354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B2=88=E5=AE=87?= <448766534@qq.com> Date: Mon, 23 Mar 2020 18:06:38 +0800 Subject: [PATCH] feat: darkmode --- source-src/css/style.styl | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/source-src/css/style.styl b/source-src/css/style.styl index f3b25c5..49f5b93 100644 --- a/source-src/css/style.styl +++ b/source-src/css/style.styl @@ -29,9 +29,19 @@ body margin 0 overflow-x hidden text-size-adjust: 100% - ::selection - background sea-lighter - color froth + &.darkmode + background: rgba(0,0,0,.6) + * + color darken(#fff,10%) + .ri-arrow-up-line + color #333 !important + .article-entry + code + background: darken(#999,20%) + .article-header .article-title,.share-outer i + color: darken(#fff,10%) !important + .share-icons a i,#reward .reward-p,#reward .reward-p i + color: darken(#999,20%) !important a color link-color &:hover