LLWiki正在建設中,歡迎加入我們

「Widget:ColorMod」修訂間的差異

出自LLWiki
跳至導覽 跳至搜尋
標籤行動版網頁編輯 行動版編輯
標籤行動版網頁編輯 行動版編輯
第23行: 第23行:
vertical-align: middle;
vertical-align: middle;
font-size: 22px;
font-size: 22px;
background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800);
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
}
}
.skin-minerva #mw-indicator-colorMod {
.skin-minerva #mw-indicator-colorMod {
第32行: 第28行:
right:0;
right:0;
top:-4.9em;
top:-4.9em;
}
#mw-indicator-colorMod i {
background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-fill-color: transparent;
}
}
.colorMod .ui-dialog-titlebar-close {
.colorMod .ui-dialog-titlebar-close {

於 2020年11月29日 (日) 08:19 的修訂

Template-info.png 小部件文檔
這個文檔是內聯文檔。

用於{{colorMod}}。

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;
}
.skin-minerva #mw-indicator-colorMod {
	position:absolute;
	right:0;
	top:-4.9em;
}
#mw-indicator-colorMod i {
	background-image: -webkit-linear-gradient(45deg,#e4007f,#32aaff,#f39800);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-fill-color: transparent;
}
.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;
}
/*