MediaWiki:Common.css

此后如竟没有炬火,我便是唯一的光。
物灵留言 | 贡献2023年3月1日 (三) 20:35的版本 (因为影响范围始终不明,去掉 break-all,因其使西文无法阅读)

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

  • 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
/* 本文以 CC BY-NC-SA 4.0 而非本站默认的 CC BY-SA 4.0 授权 */

html, body {
	font-variant-ligatures: discretionary-ligatures;
    font-family: "XEGOEPUAall",-apple-system,"Segoe UI","Helvetica Neue",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}

.CodeMirror{
font-family:"XEGOEPUAall",monospace,monospace
}

.rare-hanzi {
	display: inline-block;
	background: #c3ceef;
	width: 1em;
}

.noruu-hanzi {
	display: inline-block;
	background: #efcec3;
	width: 1em;
}

.cwo {
    display: inline-block;
    line-height: 1em;
}

#mybottom>div{
    border: 1px solid #97c7e9;
    float: left;
    margin: -1px;
    background-image: linear-gradient(to top,#77c1f6 0,#e8f2f8 1px,#ffffff 100%);
    text-align: center;
    display: list-item;
    color: #0645ad;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -khtml-user-select: none;
    -o-user-select: none;
    user-select: none;
}
#mybottom>div:hover {
    background-image: linear-gradient(to top,#fff 0,#fff 1px,#fff 100%);
    color: #96c82d;
}

/* 见 [[模板:长引文]]*/
blockquote:before {
	content: '「';
	color: #a5d5f7;
	position: absolute;
	left: 4px;
	font-size: 40px;
}
blockquote {
	margin-left: 24px;
}

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

#wpTextbox1 {
    line-height: 2em;
    resize: vertical;
}

textarea,.mw-editfont-monospace,.suggestions a.mw-searchSuggest-link .special-query{
    /* overflow: scroll;
    white-space: pre; */
    font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
    background-color: white;
    letter-spacing: 0.5px;
    line-height: 2em;
}

#searchInput,.oo-ui-textInputWidget.oo-ui-indicatorElement .oo-ui-inputWidget-input,.oo-ui-textInputWidget .oo-ui-inputWidget-input {
    font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}

/* 增大文字以适配使用文字的情形 */
.infoBoxIcon {
	font-size: 32px;
	line-height: 1em;
}

/* 希顶文段段首 */
#mw-content-text:lang(zh-Hans-SG) p {
	text-indent: 12px;
}

.xdi8-text {
	line-height: 1.2;
}

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

/* *** 以下内容来自 MCBBS Wiki 并以 CC BY-NC-SA 4.0 国际授权 *** */
/* 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: local("XEGOEPUAall"), url('/w/xdi8/XEGOEPUAall Regular.ttf') format('truetype');
}

@font-face {
    font-family: "xlA writing";
    src: url('/w/xdi8/xla-writing.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/xdi8/Xegoe UI Regular.ttf') format('truetype')
}

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

@font-face {
    font-family: "Noto Emoji";
    src: url('/w/xdi8/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: inherit;
}

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,

.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
    margin-bottom: 0.25em;
    padding: 0;
    font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}


.infoBox {
		font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",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;
}

@font-face {
    font-family: "Xvionz";
    src: local('XEGOEPUAjustXvionz'), url('/w/xdi8/XEGOEPUAjustXvionz.ttf') format('truetype')
}

@font-face {
    font-family: "Half_Xdly";
    src: local('Half_Xdly'), url('/w/xdi8/Half_Xdly v10.56.ttf') format('truetype')
}

.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;
}