MediaWiki:Common.css

此后如竟没有炬火,我便是唯一的光。
物灵留言 | 贡献2021年11月26日 (五) 12:07的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
html, body {
	font-variant-ligatures: discretionary-ligatures;
}

blockquote:before {
	content: '「';
	color: #DDF;
	direction: rtl;
	font-size: 4em;
	display: block;
	float: left;
	max-width: 2em;
}

blockquote {
	margin: 0;
}

.xdi8-porthole{
	float: right;
	background: #F6F5F0;
	text-align: center;
	padding: .25em .5em;
	max-width: 180px;
}

textarea,.mw-editfont-monospace{
	font-family: monospace,monospace,'XEGOEPUAall';
}

/* 以下内容来自 MCBBS Wiki 并以 CC BY-NC-SA 4.0 国际授权 */

/* 手机版提示,电脑版不显示 */
.mobileInfo{
	display:none;
}

/* info类模板 */
.infoBox {
    margin: 0 auto;
}
.infoBoxTitle {
    margin: 3px auto;
    padding: 0;
    text-align: center;
    font-weight: 700;
}
.infoBoxIcon {
    display: table-cell;
    padding: 2px 0 2px .5em;
    vertical-align: middle;
}
.infoBoxText {
    display: table-cell;
    padding: .25em .5em .25em 1.3em;
    width: 100%;
    vertical-align: middle;
}
.infoBoxContent {
    border: 1px solid #ddd;
    border-left-width: 0;
    background: #fbfbfb;
}
.infoBoxBelow {
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
table.navbox {
    border: 1px solid #aaa;
    clear: both;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%;
}
table.navbox+table.navbox {
    margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
    padding-left: 1em;
    padding-right: 1em;
    text-align: center;
}
.navbox-group {
    font-weight: 700;
    padding-left: 1em;
    padding-right: 1em;
    white-space: nowrap;
}
.navbox,
.navbox-subgroup {
    background: none repeat scroll 0 0 #fdfdfd;
}
.navbox-list {
    border-color: #fdfdfd;
}
.navbox-title,
table.navbox th {
    background: none repeat scroll 0 0 #a5e4a5;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
    background: none repeat scroll 0 0 #c0ecc0;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
    background: none repeat scroll 0 0 #e6f6e6;
}
.navbox-even {
    background: none repeat scroll 0 0 #FDF6E6;
}
.navbox-odd {
    background: none repeat scroll 0 0 transparent;
}
.collapseButton {
    float: right;
    font-weight: 400;
    text-align: right;
    width: auto;
}
.navbox .collapseButton {
    width: 6em;
}
/* Fix by case : Rev 1327309 ([[Special:Permalink/1327309]])
    Address alignment issue of nested tabs in Navbox */
.navbox .TabLabel {
    text-align: left;
} 

/* 以上内容来自 MCBBS Wiki 并以 CC BY-NC-SA 4.0 国际授权 */

body.page-希顶维基_首页 .firstHeading,
body.page-希顶维基_首页 #siteSub,
body.page-希顶维基_首页 #header-pagetitle{
	display: none;	
}

.xd-textwidth {
	width: 100%;
	height: auto;
}

.xd-button {
    align-items: center;
    padding: 4px 12px;
    margin-right: 4px;
    border-radius: 4px;
    transition: background 200ms ease, color 200ms ease;
}
.xd-button.xd-red a, .xd-button.xd-blue a {
	color: white;
}
.xd-button.xd-red {
    background: #dd3333
}
.xd-button.xd-red:hover {
    background: #e35b5b
}
.xd-button.xd-red:active {
    background: #b32424
}
.xd-button.xd-blue{
    background: #3366cc
}
.xd-button.xd-blue:hover {
    background: #5b84d6
}
.xd-button.xd-blue:active {
    background: #2a4b8d
}

blockquote, figcaption, .thumbcaption {
	font-style: normal;
}

#header-sitetitle img.mw-logo-wordmark,
#mw-drawer-logo img.mw-logo-wordmark,
#footer-sitetitle img.mw-logo-wordmark {
	width: auto;
	height: auto;
}

@media (prefers-color-scheme: dark) {
	.xw-yellow {
		background: #933
	}
}

@media (prefers-color-scheme: light) {
	.xw-yellow {
		background: #CC9
	}
}

@font-face {
    font-family: 'XEGOEPUAall';
    src: url('/w/resources/assets/XEGOEPUAall Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Fira Xdi8 Variable';
    src: url('https://cdn.jsdelivr.net/gh/edward-martyr/syyon-vencie@e791ea6/Fira%20Xdi8%20Variable-subset.woff2') format('woff2-variations');
    font-weight: 100 900;
}

@font-face {
    font-family: "Fira Xdi8";
    src: url('https://cdn.jsdelivr.net/gh/Honoka55/Xdi8Fonts/Fira Xdi8 Variable.ttf') format('truetype')
}
@font-face {
    font-family: "Xegoe UI";
    src: url('/w/resources/assets/Xegoe UI Regular.ttf') format('truetype')
}

@font-face {
    font-family: "Xdi8 Reality Show";
    src: url('/w/resources/assets/xdi8-reality-show.otf') format('opentype')
}

@font-face {
    font-family: "Noto Emoji";
    src: url('/w/resources/assets/NotoEmoji-Regular.ttf') format('truetype')
}



/* 正文字重为 400, 强调字重为 600 */
#mw-content-text p, #mw-content-text ul, #mw-content-text ol,
#firstHeading, button, input, select, textarea {
    font-family: -apple-system, BlinkMacSystemFont,
    	'Helvetica Neue', Helvetica, Arial, sans-serif, 'Noto Emoji';
}

a {
	font-weight: normal;
}

strong, b {
	font-weight: 600;
}

#mw-content-text p,
#mw-content-text li,
#mw-content-text table,
#mw-content-text dt,
#mw-content-text dd,
#firstHeading,
.infoBox {
		font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Source Han Sans SC","Microsoft YaHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;		}

#mw-content-text:lang(zh-hant) p,
#mw-content-text:lang(zh-hk) p,
#mw-content-text:lang(zh-mo) p,
#mw-content-text:lang(zh-tw) p,
#mw-content-text:lang(zh-hant) li,
#mw-content-text:lang(zh-hk) li,
#mw-content-text:lang(zh-mo) li,
#mw-content-text:lang(zh-tw) li,
#mw-content-text:lang(zh-hant) table,
#mw-content-text:lang(zh-hk) table,
#mw-content-text:lang(zh-mo) table,
#mw-content-text:lang(zh-tw) table,
#mw-content-text:lang(zh-hant) dt,
#mw-content-text:lang(zh-hk) dt,
#mw-content-text:lang(zh-mo) dt,
#mw-content-text:lang(zh-tw) dt,
#mw-content-text:lang(zh-hant) dd,
#mw-content-text:lang(zh-hk) dd,
#mw-content-text:lang(zh-mo) dd,
#mw-content-text:lang(zh-tw) dd,
.infoBox:lang(zh-hant),
.infoBox:lang(zh-hk),
.infoBox:lang(zh-mo),
.infoBox:lang(zh-tw),
#firstHeading:lang(zh-hant),
#firstHeading:lang(zh-hk),
#firstHeading:lang(zh-mo),
#firstHeading:lang(zh-tw) {
		font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans","PingFang TC","Hiragino Sans GB","Noto Sans CJK TC","Source Han Sans TC","Microsoft JhengHei","Wenquanyi Micro Hei","WenQuanYi Zen Hei","ST Heiti",SimHei,"WenQuanYi Zen Hei Sharp",sans-serif;
		}

span.xdi8-text {
    font-family: "XEGOEPUAall", "Xegoe UI", "Fira Xdi8 Variable", "Fira Xdi8";
    margin-left: -.844em;								/* m 字符实际宽度 */
}


span.xdi8-pua-text {
    font-family: "XEGOEPUAall";
}


div.xdi8-text p, div.xdi8-text li, span.xdi8-num {
	font-family: "XEGOEPUAall", "Xegoe UI", "Fira Xdi8 Variable", "Fira Xdi8";
}

.disambiguation::before {
	content: "🔀";
	margin-left: 1em;
	font-size: 1.2em;
}

.head-warning::before {
	content: "⚠️";
	margin-left: 1em;
	font-size: 1.2em;
}

.disambiguation, .head-warning {
	font-size: .9em;
}

.xdi8-ext {
	font-family: "Xegoe UI", "Xdi8 Reality Show";
}

@media screen and (min-width: 720px) {
	.main-page-left {
		width: 62%;
		float: left;
	}
	.main-page-right {
		width: 35%;
		float: right;
	}
}

.main-page-frame > h2 {
	padding: 0.2rem;
	font-size: 1.5rem;
	border-bottom: 2px solid #c30;
}

.xdi8-userbox table {
	width: 238px;
}

.xdi8-userbox td:first-child {
	width: 45px;
	text-align: center;
	font-size: 14pt;
	line-height: 1em;
	vertical-align: middle;
}

.xdi8-userbox td:last-child {
	line-height: 1.25;
	font-size: 9pt;
	padding: 0 4px;
}

.xdi8-userbox tr {
	height: 45px;
}

.mw-babel-footer {
	display: none;
}

.xdi8-gloss a:not(.new) {
	color: green;
}