Skip to content

Commit

Permalink
feat: 夜间模式优化
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Sketon committed Dec 30, 2023
1 parent 4dfc4a4 commit 2758134
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
1 change: 0 additions & 1 deletion source/css/_extend.styl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ $block-caption
color: var(--color-grey)
margin-bottom: 10px
line-height: 1em
text-shadow: 0 1px #fff
font-weight: bold

$block
Expand Down
3 changes: 0 additions & 3 deletions source/css/_partial/article.styl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ $article-meta-tag
padding: 10px 18px
margin: 0 12px 1em
box-shadow: 0 0 5px 3px var(--color-meta-shadow)
text-shadow: 0 1px #fff

.article-date
display: flex
Expand Down Expand Up @@ -201,7 +200,6 @@ $article-meta-tag
border-radius: 15px
background: var(--red-5)
color: var(--red-1)
text-shadow: 0 1px #fff
text-decoration: none
box-shadow: 0 0 5px 3px var(--red-6)

Expand Down Expand Up @@ -374,7 +372,6 @@ $article-share-link
float: left
position: relative
color: #999
text-shadow: 0 1px #fff

&:before
font-size: 20px
Expand Down
12 changes: 6 additions & 6 deletions source/css/_variables.styl
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
--red-1: #ff5252
--red-2: #ff7c7c
--red-3: #ffafaf
--red-4: #ffd0d0
--red-5: #ffe4e4
--red-5-5: #ffecec
--red-4: rgba(255,208,208,0.5)
--red-5: rgba(255,228,228,0.2)
--red-5-5: rgba(255,236,236,0.1)
--red-6: #fff3f3

--color-default-font: #999
Expand All @@ -54,7 +54,7 @@
--color-link: var(--red-1)
--color-dark-link: darken(#ff5252, 20%)
--color-background: #21252b
--color-code-background: #e8e8e8
--color-code-background: rgba(232,232,232,0.2)
--color-sidebar-text: #777
--color-header-background: #222222
--color-footer-background: #21252b
Expand All @@ -69,8 +69,8 @@
--color-dark-pinterest: darken(#cb2027, 20%)
--color-dark-linkedin: darken(#0077B5, 20%)

--color-meta-shadow: rgba(0, 0, 0, 0.3)
--color-hover-shadow: rgba(0, 0, 0, 0.3)
--color-meta-shadow: rgba(0, 0, 0, 0.2)
--color-hover-shadow: rgba(0, 0, 0, 0.2)
--color-h2-after: #ff5252
--color-h2-after-shadow: rgba(255, 78, 106, 0.7)
img
Expand Down

0 comments on commit 2758134

Please sign in to comment.