MediaWiki:Common.css:修订间差异

来自「荏苒之境」
无编辑摘要
无编辑摘要
第21行: 第21行:
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
font-size: 1em;
font-size: 1.1em;
}
}



2025年7月29日 (二) 14:20的版本

/* 这里放置的CSS将应用于所有皮肤 */

@import url(https://fonts.googleapis.com/css?family=Noto+Serif+SC%3A200%2C300%2Cregular%2C500%2C600%2C700%2C800%2C900%7CNoto+Serif+SC%3Aregular);

@font-face {
   font-family: Shohna;
   src: url(https://gilatod.art/wp-content/uploads/custom_fonts/Shohna.ttf);
   font-weight: normal;
}
@font-face {
   font-family: DoulosSIL-Regular;
   src: url(https://gilatod.art/wp-content/uploads/custom_fonts/DoulosSIL-Regular.ttf);
   font-weight: normal;
}

body {
	font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
	-webkit-font-smoothing: antialiased;
}
#mw-site-navigation h2, #mw-related-navigation h2 {
	font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna";
	-webkit-font-smoothing: antialiased;
	font-size: 1.1em;
}

#mw-content-text {
	font-size: 1em;
	line-height: 1.6em;
}

.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6, .mw-body dt,
#p-logo-text a, #personal h2 {
	font-family: "Noto Serif SC", "SimSun", "DoulosSIL-Regular", "Shohna" !important;
}

.wikiEditor-ui-text textarea.mw-editfont-monospace, .screenplay, code, tt, kbd, pre, samp, .skin-timeless .monospace {
	font-family: 'Menlo','Consolas','Monaco','Noto Mono','Nimbus Mono L', "Noto Serif SC", "Shohna" !important;
}

.infobox {
    background: #f8f9fa;
    border: 1px solid #a2a9b1;
    float: right;
    font-size: 0.77em;
    margin-left: 15px;
    margin-bottom: 15px;
    width: 300px;
}
.overflowed {
	margin: 0;
	position: inherit;
}
.infobox table {
	border-collapse: collapse;
	width: 100%;
}
.infobox tr:only-child {
	display: none;
}
@media screen and (max-width: 660px) {
	.infobox {
		font-size: 0.9em;
		width: 100%;
	}
}
.infobox th {
	padding-top: 0.45em;
	padding-bottom: 0.45em;
	padding-left: 0.7em;
	text-align: left;
    vertical-align: top;
    width: 35%;
    border-top: 1px solid #d4d4d4;
}
.infobox td {
	width: 65%;
	padding-top: 0.45em;
	padding-bottom: 0.45em;
	padding-right: 0.7em;
    vertical-align: top;
    border-top: 1px solid #d4d4d4;
}
.infobox tr:last-child > th { padding-bottom: 0.53em; }
.infobox tr:last-child > td { padding-bottom: 0.53em; }

th.infobox-title {
	border-top: none;
    text-align: center;
    font-weight: bold;
    font-size: 1.2em;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.7em;
    padding-bottom: 0.7em;
}
th.infobox-header {
	text-align: center;
    font-weight: bold;
    font-size: 1em;
    margin-top: 0.5em;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.7em;
	padding-bottom: 0.7em;
}
th.infobox-image {
	padding: 0;
	border-top: none;
	text-align: center;
}
th.infobox-caption {
	border-top: none;
	font-size: 1em;
	font-weight: lighter;
    text-align: center;
    color: #999999;
    padding-left: 0;
    padding-right: 0;
}

.quote {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	background: #FFFFFF;
	font-size: 15px;
	color: #444444;
	border-left: 4px solid #AAAAAA;
	padding:14px 20px 14px 20px
}