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

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

来自LLWiki
跳转到导航 跳转到搜索
(// 使用Wikiplus小工具快速编辑)
标签移动版网页编辑 移动版编辑
第79行: 第79行:
display: block;
display: block;
white-space: pre-wrap;
white-space: pre-wrap;
}
/* 固定表頭 */
.tsticky tr:first-child > th {
position: sticky;
top: 0;
z-index: 1;
}
.tsticky tr:first-child > th::before {
content: '';
position: absolute;
left: 0;
right: 0;
top: -1px;
bottom: -1px;
border-top: 1px solid #a2a9b1;
border-bottom: 1px solid #a2a9b1;
}
.stickyHeading .tsticky tr:first-child > th {
position: static;
}
}



2021年5月26日 (三) 02:20的版本

/*<nowiki>*/
/* 这里是桌面版和手机版共用的样式,另外用于模板的样式参见[[mediawiki:gadget-templates-styles.css]] */

/* 1. 默认元素 */
rt {
	font-size: 0.8em;
}
/* 英文字体优先 */
#mw-content-text {
	font-family: Helvetica, Arial, sans-serif;
}
/* 插入音频 */
audio {
	width: 270px;
	height: 24px;
}
.gallery audio {
	width: 100%;
}
/* 特殊頁面的重新導向 */
.mw-changeslist-title.mw-redirect,
.mw-contributions-title.mw-redirect,
.mw-newpages-pagename.mw-redirect {
	font-style: italic;
}
/* [[Special:链出更改]]选择链出/链自的下拉选单 */
.mw-rcfilters-ui-rclToOrFromWidget.oo-ui-dropdownWidget.oo-ui-widget-enabled span.oo-ui-dropdownWidget-handle {
	border: 1px solid #a2a9b1;
	background-color: #fff;
}

/* 2. 自定义元素 */
/* 编辑请求 */
.editRequest > a {
	vertical-align: text-bottom;
}
/* 含大量文字的表格 */
.content-table {
	width: 100%;
	font-size: small;
}
/* pt表 */
.point-table {
	text-align:center;
}
.point-table tr:nth-child(odd) td:nth-child(odd),
.point-table tr:nth-child(even) td:nth-child(even) {
	background-color:#fbfdff;
}
.point-table tr:nth-child(odd) td:nth-child(even),
.point-table tr:nth-child(even) td:nth-child(odd) {
	background-color:#f2f4f6;
}
.point-table tr:first-child td:only-child {
	background-color:#77D2AF;
	color:white;
}
.point-table.wikitable tr th {
	background-color:#E8F8F2;
}
/* 活动列表 */
.event-list {
	text-align: center;
	font-size: small;
}
.skin-minerva .event-list th:nth-last-child(-n+2) {
	width: auto !important;
}
.skin-minerva .event-list td:nth-last-child(-n+2) {
	text-align: left;
}
.skin-minerva .event-list td:nth-last-child(-n+2) img,
.skin-minerva .event-list td:nth-last-child(-n+2) .lazy-image-placeholder {
	width: 32px !important;
	height: 32px !important;
}
/* 模板代码,这与CodeMirror小工具无关 */
code.wiki-highlight {
	display: block;
	white-space: pre-wrap;
}
/* 固定表頭 */
.tsticky tr:first-child > th {
	position: sticky;
	top: 0;
	z-index: 1;
}
.tsticky tr:first-child > th::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	bottom: -1px;
	border-top: 1px solid #a2a9b1;
	border-bottom: 1px solid #a2a9b1;
}
.stickyHeading .tsticky tr:first-child > th {
	position: static;
}

/* 3. 模块、扩展和小工具 */
/* 時間 */
.countdown-num {
	display: inline-block;
	width: 2.1ch;
	text-align: right;
	text-decoration: inherit;
}
/* charinsert扩展 */
span.mw-charinsert-item {
	cursor: pointer;
	color: #0645ad;
}
span.mw-charinsert-item:hover {
	text-decoration: underline;
}
/* popup的默认样式 */
.mw-tipsy .oo-ui-popupWidget-body-padded {
	margin: 1px 3px;
	font-size: small;
	text-align: center;
}
/* 下拉菜单的默认样式 */
.site-menu {
	width: auto;
}
.site-menu > .oo-ui-menuOptionWidget {
	padding: 5px 10px;
}
.site-menu .fa {
	width: 25px;
}
/* 禁止使用InPageEdit快速重定向 */
.in-page-edit.quick-redirect .okBtn, .in-page-edit.quick-rename #ssi-rightButtons {
	display: none;
}
/*</nowiki>*/