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

“MediaWiki:Gadget-SearchNamespace.css”的版本间差异

来自LLWiki
跳转到导航 跳转到搜索
标签移动版网页编辑 移动版编辑
 
第25行: 第25行:
}
}
@media only screen and (max-width:720px) {
@media only screen and (max-width:720px) {
.skin-vector .prefixList {
width: 7.5em;
}
#simpleSearch {
width: calc(80vw - 8em);
}
.mw-overlays-container .search-box input {
.mw-overlays-container .search-box input {
width: calc(100% - 6.5em);
width: calc(100% - 6.5em);

2021年10月5日 (二) 04:04的最新版本

.prefixList {
	display: inline-block;
}
.skin-vector .prefixList {
	width: 6vw;
	font-size: 0.8em;
}
.skin-minerva .prefixList {
	background-color:#fff;
	width:6em;
	vertical-align:top;
}
.prefixList .oo-ui-dropdownWidget-handle, .prefixList select {
	padding-left: 2px;
	padding-right: 0;
	background-position-x: right; /* 兼容性 */
	background-position-x: right 1px;
}
.prefixList .oo-ui-indicator-down {
	right: 1px;
}
#simpleSearch {
	width: 14vw;
	display: inline-block;
}
@media only screen and (max-width:720px) {
	.skin-vector .prefixList {
		width: 7.5em;
	}
	#simpleSearch {
		width: calc(80vw - 8em);
	}
	.mw-overlays-container .search-box input {
		width: calc(100% - 6.5em);
	}
}
/* [[category:纯CSS小工具]] [[category:搜索工具]] [[category:桌面版小工具]] [[category:手机版小工具]] */
/* {{DEFAULTSORT:SearchNamespace.css}} */