修复https://github.com/xugaoyi/vuepress-theme-vdoing/issues/431 one-click-copy 插件与主题一个样式的更改

This commit is contained in:
Northword 2020-12-18 21:02:11 +08:00
parent 6c5a3ad82b
commit b71fbabe48
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ codeThemeLight()
pre[class*="language-"] {
color: black;
background: none;
text-shadow: 0 1px white;
// text-shadow: 0 1px white;
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
font-size: 1em;
text-align: left;

View File

@ -45,7 +45,7 @@ div[class*="language-"]
background-color rgba(0, 0, 0, 30%)
pre, pre[class*="language-"]
background transparent
position relative
position relative !important
z-index 1
&::before
position absolute