MediaWiki:Common.css:修订间差异

此后如竟没有炬火,我便是唯一的光。
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
 
(未显示3个用户的33个中间版本)
第2行: 第2行:


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

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

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


第18行: 第25行:
}
}


.oldpuabox .sprites{ /*处理oldpuabox子页面样式*/
.mw-parser-output .main-page-left {
transform: scale(0.6667,0.6667);
width: 66% !important;
margin: -12px;mix-blend-mode: darken;
float: left !important;
display: inline-block;
vertical-align: middle;
overflow: hidden;
position: relative;
height:48px;
width:48px;
}
}

.mw-parser-output .main-page-right {
.main-page-frame p{ /*处理主页经常出现错误而导致页面格式破坏的元素*/
width: 33% !important;
word-break: break-all;
float: right !important;
}
}


.cwo {
.mw-parser-output{
display: inline-block;
word-break:break-all;
line-height: 1em;
}
}


第49行: 第63行:
background-image: linear-gradient(to top,#fff 0,#fff 1px,#fff 100%);
background-image: linear-gradient(to top,#fff 0,#fff 1px,#fff 100%);
color: #96c82d;
color: #96c82d;
}

/* 见 [[模板:长引文]]*/
blockquote:before {
content: '「';
color: #a5d5f7;
float: left;
height: 100%;
}

blockquote p {
display: inline-block;
}

blockquote {
margin: 0 auto;
}
}


第83行: 第81行:
/* overflow: scroll;
/* overflow: scroll;
white-space: pre; */
white-space: pre; */
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;
font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
background-color: white;
background-color: white;
letter-spacing: 0.5px;
letter-spacing: 0.5px;
第90行: 第88行:


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


第216行: 第214行:
body.page-希顶维基_首页 .firstHeading,
body.page-希顶维基_首页 .firstHeading,
body.page-希顶维基_首页 #siteSub,
body.page-希顶维基_首页 #siteSub,
body.page-希顶维基_首页 #header-pagetitle{
body.page-希顶维基_首页 #header-pagetitle,
.choose-container * {
display: none;
display: none;
}
.choose-container :first-child {
display: initial;
}
}


第227行: 第229行:
.xd-button {
.xd-button {
align-items: center;
align-items: center;
padding: 4px 12px;
padding: 8px 12px;
margin-right: 4px;
margin-right: 4px;
border-radius: 4px;
border-radius: 4px;
transition: background 200ms ease, color 200ms ease;
transition: background 200ms ease, color 200ms ease;
}
.xd-button.xd-red a, .xd-button.xd-blue a {
color: white;
color: white;
}
.xd-button.xd-white {
background: #f2f2f3
}
}
.xd-button.xd-red {
.xd-button.xd-red {
第279行: 第282行:
@font-face {
@font-face {
font-family: 'XEGOEPUAall';
font-family: 'XEGOEPUAall';
src: url('/w/resources/assets/XEGOEPUAall Regular.ttf') format('truetype');
src: local("XEGOEPUAall"), url('/xdi8/XEGOEPUAall Regular.ttf') format('truetype');
}

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


第294行: 第302行:
@font-face {
@font-face {
font-family: "Xegoe UI";
font-family: "Xegoe UI";
src: url('/w/resources/assets/Xegoe UI Regular.ttf') format('truetype')
src: url('/xdi8/Xegoe UI Regular.ttf') format('truetype')
}
}


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


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


第334行: 第342行:
margin-bottom: 0.25em;
margin-bottom: 0.25em;
padding: 0;
padding: 0;
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-ser ;
font-family: "XEGOEPUAall",-apple-system,"Helvetica Neue","Segoe UI",Helvetica,"Nimbus Sans L",Arial,"Liberation Sans",sans-serif;
}
}




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

#mw-content-text:lang(zh-hant) p,
#mw-content-text:lang(zh-hant) li,
#mw-content-text:lang(zh-hant) table,
#mw-content-text:lang(zh-hant) dt,
#mw-content-text:lang(zh-hant) dd,
.infoBox:lang(zh-hant),
#firstHeading:lang(zh-hant) {
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 {
span.xdi8-text {
font-family: "XEGOEPUAall", "Xegoe UI", "Fira Xdi8 Variable", "Fira Xdi8";
font-family: "XEGOEPUAall", "Xegoe UI", "Fira Xdi8 Variable", "Fira Xdi8";
margin-left: -.844em; /* m 字符实际宽度 */
/* margin-left: -.844em; m 字符实际宽度 */
}
}



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



div.xdi8-text p, div.xdi8-text li, span.xdi8-num {
div.xdi8-text p, div.xdi8-text li, span.xdi8-num {
第384行: 第380行:
@font-face {
@font-face {
font-family: "Xvionz";
font-family: "Xvionz";
src: local('XEGOEPUAjustXvionz'), url('/w/resources/assets/XEGOEPUAjustXvionz.ttf') format('truetype')
src: local('XEGOEPUAjustXvionz'), url('/xdi8/XEGOEPUAjustXvionz.ttf') format('truetype')
}
}


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


第420行: 第416行:
.xdi8-gloss a:not(.new) {
.xdi8-gloss a:not(.new) {
color: green;
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;
}
}

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