LLWiki正在建设中,欢迎加入我们

“Widget:ColorMod”的版本间差异

来自LLWiki
跳转到导航 跳转到搜索
(// 使用Wikiplus小工具快速编辑)
标签移动版网页编辑 移动版编辑
标签移动版网页编辑 移动版编辑
第28行: 第28行:
right:0;
right:0;
top:-4.9em;
top:-4.9em;
}
.colorMod {
font-size: 1em;
}
}
.colorMod .ui-dialog-titlebar-close {
.colorMod .ui-dialog-titlebar-close {
第37行: 第40行:
}
}
.colorMod-wrapper > select {
.colorMod-wrapper > select {
width: 5ch;
min-width: 5ch;
}
}
.colorMod-wrapper > span {
.colorMod-wrapper > span {
第45行: 第48行:
margin-left: 0.5em;
margin-left: 0.5em;
}
}
.colorMod button {
.colorMod .oo-ui-buttonWidget {
display:block;
display: block;
text-align: center;
margin:5px auto;
}
}
.skin-minerva .colorMod button {
.colorMod .oo-ui-buttonElement-button {
font-weight: normal;
padding: 0 8px;
padding: 2px 5px !important;
border: 0.9px solid #aaa;
background-image: -webkit-linear-gradient(top,rgb(240,240,240),#fff);
}
}
/* </pre><includeonly> */
/* </pre><includeonly> */

2020年12月1日 (二) 22:30的版本

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;
}
.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-buttonElement-button {
	font-weight: normal;
	padding: 2px 5px !important;
}
/*