MediaWiki:Common.css:修订间差异

MediaWiki系统消息页面
(创建页面,内容为“→‎由 御坂秋生 于 2024-02-09 14:00 开始编写,参考 StarCitizen Wiki、HydCraft Wiki 排版及 CSS 样式:​ →‎首页:​ .page-首页 .mw-body-header, .page-首页 .previewnote, .page-首页 .page-info { display: none; } .page-首页 .header-image { background-image: linear-gradient(to top,var(--color-surface-0),transparent 150%),url(https://gufengcheng.top/w/images/4/4c/Blackimg.jpg); background-size: cover; background-position: top center; h…”
 
无编辑摘要
 
第8行: 第8行:


.page-首页 .header-image {
.page-首页 .header-image {
background-image: linear-gradient(to top,var(--color-surface-0),transparent 150%),url(https://gufengcheng.top/w/images/4/4c/Blackimg.jpg);
background-image: linear-gradient(to top,var(--color-surface-0),transparent 150%),url(https://image.hokubu.cn/i/2024/02/10/65c6f584ee3d4.png);
background-size: cover;
background-size: cover;
background-position: top center;
background-position: top center;

2024年2月10日 (六) 12:04的最新版本

/* 由 御坂秋生 于 2024-02-09 14:00 开始编写,参考 StarCitizen Wiki、HydCraft Wiki 排版及 CSS 样式 */
/* 首页 */
.page-首页 .mw-body-header,
.page-首页 .previewnote,
.page-首页 .page-info {
	display: none;
}

.page-首页 .header-image {
	background-image: linear-gradient(to top,var(--color-surface-0),transparent 150%),url(https://image.hokubu.cn/i/2024/02/10/65c6f584ee3d4.png);
	background-size: cover;
	background-position: top center;
	height: 46vh;
	margin-bottom: -42vh;
}

@media (max-width: 720px) {
	.page-首页 .header-image {
		background-position: top;
		height: 36vh;
		margin-bottom: -32vh;
	}
}

.skin-citizen-dark .adaptive-img img {
	filter: invert(1)!important;
}

/* Powered By HydCraft Wiki and Aurora_Lemon */
:root {
	--box-shadow-plist: 0 3px 10px rgb(0 0 0 / 4%), 0 -3px 10px rgb(0 0 0 / 4%);
	--homecard-box-shadow: 0 3px 6px rgba(0,0,0,0.04), 0 3px 6px rgba(0,0,0,0.0575);
	--box-shadow-cardhover: 0 10px 20px rgba(0,0,0,0.0475), 0 6px 6px rgba(0,0,0,0.0575);
}