MediaWiki:Common.css:修订间差异

此后如竟没有炬火,我便是唯一的光。
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
(未显示3个用户的176个中间版本)
第1行: 第1行:
/* 本文以 CC BY-NC-SA 4.0 而非本站默认的 CC BY-SA 4.0 授权 */
/* 这里放置的CSS将应用于所有皮肤 */

body.page-希顶维基_首页 .firstHeading,
html, body {
body.page-希顶维基_首页 #siteSub,
font-family: "XEGOEPUAall",-apple-system,"Segoe UI","Helvetica Neue",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
body.page-希顶维基_首页 #header-pagetitle{
display: none;
}
}


pre, code, tt, kbd, samp, .mw-code {
font-family: monospace,monospace,"XEGOEPUAall";
}


.CodeMirror{
blockquote, figcaption, .thumbcaption {
font-family:"XEGOEPUAall",monospace,monospace;
font-style: normal;
}
}


.rare-hanzi {
#header-sitetitle img.mw-logo-wordmark,
display: inline-block;
#mw-drawer-logo img.mw-logo-wordmark,
background: #c3ceef;
#footer-sitetitle img.mw-logo-wordmark {
width: auto;
width: 1em;
height: auto;
}
}


.noruu-hanzi {
@media (prefers-color-scheme: dark) {
display: inline-block;
.xw-yellow {
background: #933
background: #efcec3;
width: 1em;
}
}
}


.oldpuabox .sprites{ /*处理oldpuabox子页面样式*/
@media (prefers-color-scheme: light) {
transform: scale(0.6667,0.6667);
.xw-yellow {
margin: -12px;mix-blend-mode: darken;
background: #CC9
display: inline-block;
}
vertical-align: middle;
overflow: hidden;
position: relative;
height:48px;
width:48px;
}
}


.main-page-frame p{ /*处理主页经常出现错误而导致页面格式破坏的元素*/
@font-face {
word-break: break-all;
font-family: "Fira Xdi8";
src: url('https://cdn.jsdelivr.net/gh/Honoka55/Xdi8Fonts/Fira Xdi8 Variable.ttf') format('truetype')
}
}

@font-face {
.cwo {
font-family: "Han Aho";
display: inline-block;
src: url('/w/resources/assets/aho.ttf') format('truetype')
line-height: 1em;
}
}

html, body, #firstHeading {
#mybottom>div{
font-family: "Han Aho";
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 {
span:lang(art-x-xdi8) {
background-image: linear-gradient(to top,#fff 0,#fff 1px,#fff 100%);
font-family: "Fira Xdi8"
color: #96c82d;
}
}


.xdi8-porthole{
.disambiguation::before {
content: "🔀";
float: right;
background: #F6F5F0;
margin-left: 1em;
font-size: 1.2em;
text-align: center;
padding: .25em .5em;
max-width: 180px;
}
}


#wpTextbox1 {
.head-warning::before {
line-height: 2em;
content: "⚠️";
resize: vertical;
margin-left: 1em;
font-size: 1.2em;
}
}


textarea,.mw-editfont-monospace,.suggestions a.mw-searchSuggest-link .special-query{
.disambiguation, .head-warning {
/* overflow: scroll;
font-size: .9em;
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 {
/*body{
font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
font-family: "New Batang";
background-color: silver;
}*/
ids{
display: inline-block;
vertical-align: middle;
}
}

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

.thumbGlyph{
/* 希顶文段段首 */
width: 255px;
#mw-content-text:lang(zh-Hans-SG) p {
height: 255px;
text-indent: 12px;
}/*
.add>#ThumbDiv{
position: absolute;
top:0px;
left:0px;
}*/
.add>.hanziViewBox{
border: 1px solid black;
background-color: white;
font-size: 255px!important;
position: absolute;
display: none;
}
}

#idsView{
.xdi8-text {
font-size: 255px!important;
line-height: 1.2;
}
}

.add>.hanziViewBox>.hanziIds{
/* 手机版提示,电脑版不显示 */
width: 255px;
.mobileInfo{
padding-left: 1px;
display:none;
border-bottom: 1px solid black;
background-color: white;
font-size: 16px;
}
}

.glyph canvas, .glyph img {
/* *** 以下内容来自 MCBBS Wiki 并以 CC BY-NC-SA 4.0 国际授权 *** */
image-rendering: optimizeSpeed;
/* info类模板 */
image-rendering: -moz-crisp-edges;
.infoBox {
image-rendering: -webkit-optimize-contrast;
margin: 0 auto;
image-rendering: optimize-contrast;
image-rendering: pixelated;
-ms-interpolation-mode: nearest-neighbor;
/*font-smooth: never;*/
-webkit-font-smoothing : none;
}
}
.glyph * {
.infoBoxTitle {
margin: 0px;
margin: 3px auto;
padding: 0px;
padding: 0;
text-align: center;
font-weight: 700;
}
}
.glyph canvas {
.infoBoxIcon {
position: relative;
display: table-cell;
float: none;
padding: 2px 0 2px .5em;
top: -100%;
vertical-align: middle;
left: 0px;
background-color: rgba(0, 0, 0, 0);
/*display: none;*/
/*box-shadow: 0 0 0 1px green;*/
}
}
.infoBoxText {
.glyph .placeholder{
/*border: 1px solid green;*/
display: table-cell;
padding: .25em .5em .25em 1.3em;
width: 100%;
width: 100%;
height: 100%;
vertical-align: middle;
color: #66CCFF00;
font-size: calc( 100% - 1px );
}
}
.infoBoxContent {
#Thumb{
border: 1px solid red;
border: 1px solid #ddd;
display: none;
border-left-width: 0;
background: #fbfbfb;
}/*
}
img{
.infoBoxBelow {
display: none;
}
margin: 0 auto;
padding: 0;
*/
text-align: center;
.glyph div {
overflow: hidden;
/*box-shadow: 0 0 0 1px blue;*/
}
}


/* 页面底部导航框(2011年8月16日引自中文维基)(所谓大家族模板) */
.glyph img {
table.navbox {
border: 1px solid #aaa;
clear: both;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
width: 100%;
height: 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 国际授权 *** */
.glyph .d8{

position: absolute;
body.page-希顶维基_首页 .firstHeading,
height: 100%;
body.page-希顶维基_首页 #siteSub,
width: 100%;
body.page-希顶维基_首页 #header-pagetitle,
.choose-container * {
display: none;
}
}
.choose-container :first-child {
.glyph .ot{
position: relative;
display: initial;
height: 100%;
width: 100%;
}
}

.glyph .u8{
.xd-textwidth {
position: absolute;
top: 0%;
width: 100%;
height: 100%;
height: auto;
width:100%;
}
}

.glyph .oo{
.xd-button {
height: 100%;
width:100%;
align-items: center;
padding: 8px 12px;
margin-right: 4px;
border-radius: 4px;
transition: background 200ms ease, color 200ms ease;
color: white;
}
}
.xd-button.xd-white {
.glyph .mo{
position: relative;
background: #f2f2f3
top:-90%;
left:10%;
width:70%;
height:70%;
}
}
.glyph .ldL {
.xd-button.xd-red {
width: 100%;
background: #dd3333
}
height: 100%;
.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 {
.glyph .lud {
font-style: normal;
position:relative;
top: -100%;
left: 0%;
width: 70%;
height: 70%
}
}


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


@media (prefers-color-scheme: dark) {
.glyph .ru7 {
.xw-yellow {
width: 100%;
background: #933
height: 100%;
}
}
}


@media (prefers-color-scheme: light) {
.glyph .ruL {
.xw-yellow {
position: relative;
background: #CC9
top: -100%;
}
left: 30%;
width: 70%;
height: 70%;
}
}


@font-face {
.glyph .rdP {
position: relative;
font-family: 'XEGOEPUAall';
src: local("XEGOEPUAall"), url('/xdi8/XEGOEPUAall Regular.ttf') format('truetype');
top: -45%;
left: 30%;
width: 70%;
height: 45%;
}
}


@font-face {
.glyph .rdd {
width: 100%;
font-family: "xlA writing";
src: url('/xdi8/xla-writing.ttf') format('truetype');
height: 100%;
}
}


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


@font-face {
.glyph .u3 {
height: 30%;
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('/xdi8/Xegoe UI Regular.ttf') format('truetype')
}
}


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


@font-face {
.glyph .d3 {
height: 30%;
font-family: "Noto Emoji";
src: url('/xdi8/NotoEmoji-Regular.ttf') format('truetype')
}
}



.glyph .l3 {

float: left;
/* 正文字重为 400, 强调字重为 600 */
width: 30%;
#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 {
.glyph .lrm3 {
font-weight: inherit;
float: left;
width: 40%;
}
}


.glyph .r3 {
strong, b {
font-weight: 600;
float: left;
width: 30%;
}
}


#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 {
.glyph .l {
float: left;
margin-bottom: 0.25em;
width: 50%;
padding: 0;
font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}
}



.glyph .r {
.infoBox {
float: left;
font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif; }
width: 50%;

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


span.xdi8-pua-text {
.glyph .u {
height: 50%;
font-family: "XEGOEPUAall";
}
}


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


.disambiguation::before {
.glyph .lt90 {
content: "🔀";
transform:rotate(90deg);
margin-left: 1em;
-ms-transform:rotate(90deg); /* IE 9 */
font-size: 1.2em;
-moz-transform:rotate(90deg); /* Firefox */
}
-webkit-transform:rotate(90deg); /* Safari Chrome */

-o-transform:rotate(90deg); /* Opera */
.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('/xdi8/XEGOEPUAjustXvionz.ttf') format('truetype')
}

@font-face {
font-family: "Half_Xdly";
src: local('Half_Xdly'), url('/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;
}

.page-xdi span {
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 !important;
}

/* 生存难度 */
.level-class {
overflow: hidden;
position: relative;
}
.level-class .level-class-caption {
background: var(--level-class-color);
color: white;
font-size: 2em;
padding: 8px;
margin-bottom: 0;
}
.level-class ul {
font-size: 1.5em;
line-height: 2em;
list-style-type: circle; /* 後備 */
list-style-type: '» ';
}
.level-class .level-class-hexagon {
position: absolute;
top: 0;
right: 0;
background: var(--level-class-color);
clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
}
.level-class .level-class-hexagon p {
.glyph .horizon{
font-size: 120px;
-moz-transform: scaleX(-1);
font-weight: bold;
-webkit-transform: scaleX(-1);
width: 180px;
-o-transform: scaleX(-1);
position: absolute;
transform: scaleX(-1);
left: 0;
filter: fliph; /*IE*/
top: 42px;
text-align: center;
line-height: 1;
color: white;
}
}

2024年4月7日 (日) 21:31的最新版本

/* 本文以 CC BY-NC-SA 4.0 而非本站默认的 CC BY-SA 4.0 授权 */

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

pre, code, tt, kbd, samp, .mw-code {
    font-family: monospace,monospace,"XEGOEPUAall";
}

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

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

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

.oldpuabox .sprites{ /*处理oldpuabox子页面样式*/
	transform: scale(0.6667,0.6667);
	margin: -12px;mix-blend-mode: darken;
	display: inline-block;
	vertical-align: middle;
	overflow: hidden;
	position: relative;
    height:48px; 
    width:48px;
}

.main-page-frame p{  /*处理主页经常出现错误而导致页面格式破坏的元素*/
	word-break: break-all;
}

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

.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,
.choose-container * {
	display: none;	
}
.choose-container :first-child {
    display: initial;
}

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

.xd-button {
    align-items: center;
    padding: 8px 12px;
    margin-right: 4px;
    border-radius: 4px;
    transition: background 200ms ease, color 200ms ease;
	color: white;
}
.xd-button.xd-white {
    background: #f2f2f3
}
.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('/xdi8/XEGOEPUAall Regular.ttf') format('truetype');
}

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

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

@font-face {
    font-family: "Noto Emoji";
    src: url('/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('/xdi8/XEGOEPUAjustXvionz.ttf') format('truetype')
}

@font-face {
    font-family: "Half_Xdly";
    src: local('Half_Xdly'), url('/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;
}

.page-xdi span {
        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 !important;
}

/* 生存难度 */
.level-class {
	overflow: hidden;
	position: relative;
}
.level-class .level-class-caption {
	background: var(--level-class-color);
	color: white;
	font-size: 2em;
	padding: 8px;
	margin-bottom: 0;
}
.level-class ul {
	font-size: 1.5em;
	line-height: 2em;
	list-style-type: circle;	/* 後備 */
	list-style-type: '» ';
}
.level-class .level-class-hexagon {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--level-class-color);
	clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}
.level-class .level-class-hexagon p {
	font-size: 120px;
	font-weight: bold;
	width: 180px;
	position: absolute;
	left: 0;
	top: 42px;
	text-align: center;
	line-height: 1;
	color: white;
}