LLWiki正在建设中,欢迎加入我们!
“Widget:ColorMod”的版本间差异
跳转到导航
跳转到搜索
小 |
|||
第22行: | 第22行: | ||
cursor: pointer; |
cursor: pointer; |
||
vertical-align: middle; |
vertical-align: middle; |
||
font-size: |
font-size: 22px; |
||
background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800); |
background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800); |
||
background-clip: text; |
background-clip: text; |
||
-webkit-text-fill-color: transparent; |
-webkit-text-fill-color: transparent; |
||
text-fill-color: transparent; |
text-fill-color: transparent; |
||
} |
|||
span#mw-indicator-colorMod { |
|||
position:absolute; |
|||
right:0; |
|||
top:-6.5em; |
|||
} |
} |
||
.colorMod .ui-dialog-titlebar-close { |
.colorMod .ui-dialog-titlebar-close { |
2020年11月29日 (日) 08:06的版本
JavaScript脚本:User:Bhsd/widget/colorMod.js
CSS样式表:
*/
.mw-parser-output {
--rin-color: #fee155;
--keke-color: #a0fff9;
}
[style*="color:#fee155"] {
color: var(--rin-color) !important;
}
[style*="background-color:#fee155"] {
background-color: var(--rin-color) !important;
color: #fff !important;
}
[style*="color:#a0fff9"] {
color: var(--keke-color) !important;
}
[style*="background-color:#a0fff9"] {
background-color: var(--keke-color) !important;
color: #fff !important;
}
#mw-indicator-colorMod {
cursor: pointer;
vertical-align: middle;
font-size: 22px;
background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800);
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
}
span#mw-indicator-colorMod {
position:absolute;
right:0;
top:-6.5em;
}
.colorMod .ui-dialog-titlebar-close {
display: none;
}
.colorMod-wrapper {
white-space: nowrap;
margin: 0 1em;
}
.colorMod-wrapper > span {
display: inline-block;
width: 1em;
height: 1em;
margin-left: 0.5em;
}
.colorMod-wrapper ~ button {
display:block;
margin:5px auto;
}
/*