希顶维基:首页/样式.css:修订间差异

此后如竟没有炬火,我便是唯一的光。
跳转到导航 跳转到搜索
无编辑摘要
无编辑摘要
第32行: 第32行:


.fanse {
.fanse {
filter: hue-rotate(180deg);
filter: invert(1);
}
}



2022年9月30日 (五) 10:24的版本

/* 完成后移动至 [[XW:首页/样式.css]] 并修改对应调用 */

.wiki-tools {
	display: none;
	position: absolute;
	right: 0;
	top: 1rem;
}
.wiki-tools a {
	margin-right: 1em;
}
.main-page-header {
	text-align: center;
	position: relative;
	padding: 1em;
	background: #FDFCFA;
}
.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: 1px solid #999;
	padding: 4px;
	border-radius: 4px;
}

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

#catlinks {
	display: none;
}
.fanse {
	filter: hue-rotate(180deg);
}

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