Skip to content

Commit

Permalink
🎨 [style] 优化部分样式
Browse files Browse the repository at this point in the history
  • Loading branch information
chiyuki0325 committed Dec 24, 2023
1 parent 71ded47 commit 8d55969
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
13 changes: 12 additions & 1 deletion source/css/_layout/list.styl
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,18 @@
position: absolute
line-height: 1.2
width: 'calc(100% - %s * 2)' % 1rem
color: var(--text-p0)
color: var(--text-revert)
&:not(.cover-no-shadow)
text-shadow: 1px 1px 2px var(--text-p0)
if hexo-config('style.darkmode') == 'auto'
@media (prefers-color-scheme: dark)
color: var(--text-p0)
&:not(.cover-no-shadow)
text-shadow: 1px 1px 2px var(--theme-bg)
if hexo-config('style.darkmode') == 'always'
color: var(--text-p0)
&:not(.cover-no-shadow)
text-shadow: 1px 1px 2px var(--theme-bg)
&[position=top]
top: 0
&:not(.cover-no-shadow)
Expand Down
6 changes: 2 additions & 4 deletions source/css/_layout/tag-plugins/bvideo.styl
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@
background-position: 50%
background-repeat: no-repeat

@media (max-width: 768px)
display: none

@css {
.tag_plugin.bvideo .bvideo-info {
Expand Down Expand Up @@ -144,8 +142,8 @@
padding-left: 35px
top: 73px

@media (max-width: 768px)
display: none
@media (max-width: 768px)
max-width: inherit


.tag_plugin.bvideo .icon-video
Expand Down

0 comments on commit 8d55969

Please sign in to comment.