跳转到内容

希顶维基:首页/样式.css

此后如竟没有炬火,我便是唯一的光。
h2 {
	display: inline-block;
	padding: 0; 
}
.wiki-tools {
	display: none;
	position: absolute;
	right: 0;
	top: 1rem;
	text-align: right;
}
.wiki-tools a {
	margin-right: 1em;
}
.main-page-header {
	text-align: center;
	position: relative;
	padding: 1em;
}

.main-page-hello {
	font-size: 28px;
}
.main-page-header p {
	margin: 0;
}
.main-page-header img {
	display: none;
	left: 0;
	bottom: 0;
	position: absolute;
	width: auto;
	height: 100%;
}

.fanse {
	filter: invert(1);
}

.main-page-frame {
	margin-top: 9px;
	border-radius: 8px;
	padding: 16px 20px;
	box-shadow: 0 2px 6px 0 var(--background-color-neutral-subtle);
}

.chinese .main-page-frame > h2 {
	margin: 0;
	letter-spacing: 4px;			/* XXX: Chinese only */
	font: 20px/2 "Noto Serif CJK SC", PMingLiU, MingLiU, STSong, STZhongsong, SimSun, 宋体, XEGOEPUAall, serif;
	border-bottom: none;	/* 暂留此句,因为 Common.css 里还在 */
}

@media screen and (min-width: 720px) {
	.main-page-left {
		width: 66%;
		float: left;
	}
	.main-page-right {
		width: 33%;
		float: right;
	}
	.wiki-tools, .main-page-header img {
		display: block;
	}
}

.btns {
	display: flex;
	flex-wrap: wrap;
}

.btns a {
	box-sizing: border-box;
    padding: 4px;
    display: flex;
    width: calc(50% - 4px);
    color: inherit;
    border: 1px solid white;
    background: none;
}

.btns a:hover {
	background: #e97;
	text-decoration: none;
}

.btns a span:last-child {
	flex: 1;
}