LLWiki正在建設中,歡迎加入我們!
「Widget:ColorMod」修訂間的差異
跳至導覽
跳至搜尋
小 標籤:行動版網頁編輯 行動版編輯 |
小 標籤:行動版網頁編輯 行動版編輯 |
||
第19行: | 第19行: | ||
color: #fff !important; |
color: #fff !important; |
||
} |
} |
||
#mw-indicator-colorMod { |
div#mw-indicator-colorMod { |
||
cursor: pointer; |
cursor: pointer; |
||
vertical-align: middle; |
vertical-align: middle; |
||
font-size: 22px; |
font-size: 22px; |
||
} |
} |
||
.mw-parser-output .page-actions-menu__list-item { |
|||
.skin-minerva #mw-indicator-colorMod { |
|||
display: none; |
|||
position:absolute; |
|||
right:0; |
|||
top:-4.9em; |
|||
} |
} |
||
.colorMod { |
.colorMod { |
於 2020年12月2日 (三) 02:55 的修訂
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;
}
div#mw-indicator-colorMod {
cursor: pointer;
vertical-align: middle;
font-size: 22px;
}
.mw-parser-output .page-actions-menu__list-item {
display: none;
}
.colorMod {
font-size: 1em;
}
.colorMod .ui-dialog-titlebar-close {
display: none;
}
.colorMod-wrapper {
white-space: nowrap;
margin: 0 1em;
}
.colorMod-wrapper > select {
min-width: 5ch;
}
.colorMod-wrapper > span {
display: inline-block;
width: 1em;
height: 1em;
margin-left: 0.5em;
}
.colorMod .oo-ui-buttonWidget {
display: block;
text-align: center;
}
.colorMod .oo-ui-buttonWidget .oo-ui-buttonElement-button {
font-weight: normal;
padding: 2px 5px;
}
/*