diff --git a/source/css/_layout/list.styl b/source/css/_layout/list.styl index c1635a5..45ee7a9 100644 --- a/source/css/_layout/list.styl +++ b/source/css/_layout/list.styl @@ -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) diff --git a/source/css/_layout/tag-plugins/bvideo.styl b/source/css/_layout/tag-plugins/bvideo.styl index 93224b7..67e4544 100644 --- a/source/css/_layout/tag-plugins/bvideo.styl +++ b/source/css/_layout/tag-plugins/bvideo.styl @@ -70,8 +70,6 @@ background-position: 50% background-repeat: no-repeat - @media (max-width: 768px) - display: none @css { .tag_plugin.bvideo .bvideo-info { @@ -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