打开/关闭菜单
59
83
13
872
诺布百科 · Noblecraft Wiki
打开/关闭外观设置菜单
打开/关闭个人菜单
未登录
未登录用户的IP地址会在进行任意编辑后公开展示。

MediaWiki:Common.css

MediaWiki界面页面
Baneq留言 | 贡献2026年6月3日 (三) 13:00的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
/* Noblecraft homepage recovery polish.
   Append this at the very bottom of MediaWiki:Common.css after removing broken test rules. */

.nc-mascot {
	max-width: 1180px;
	margin: 0 auto 10px;
	text-align: center;
}

.nc-mascot img {
	max-width: min(560px, 88vw);
	height: auto;
	filter: drop-shadow(0 18px 28px rgba(45,52,68,.18));
}

.nc-home-intro {
	max-width: 1180px;
	margin: 8px auto 18px;
	padding: 20px 24px;
	background: rgba(255,255,255,.58);
	border: 1px solid rgba(255,255,255,.82);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 18px 42px -30px rgba(45,52,68,.55);
	backdrop-filter: blur(18px) saturate(135%);
	-webkit-backdrop-filter: blur(18px) saturate(135%);
}

.nc-home-intro h2 {
	margin-top: 0;
	border-bottom: 0;
	color: #24282f;
	font-size: 1.45rem;
	line-height: 1.35;
}

.nc-home-subtitle {
	margin: -4px 0 14px;
	color: #75808c;
	font-size: .96rem;
	font-weight: 700;
}

.nc-home-intro p {
	color: #4f5663;
	font-size: 1.02rem;
	line-height: 1.75;
}

.nc-home-meta {
	max-width: 1180px;
	margin: -4px auto 12px;
	padding: 10px 14px;
	background: rgba(255,255,255,.46);
	border: 1px solid rgba(210,216,222,.78);
	color: #56616d;
	font-size: .94rem;
	font-weight: 620;
	box-shadow: 0 10px 24px -24px rgba(45,52,68,.45);
}

.nc-home-meta a {
	color: #0f4c5c;
	font-weight: 800;
	text-decoration: none;
}

.nc-cards {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
	gap: 16px !important;
	max-width: 1180px;
	margin: 18px auto 0 !important;
}

.nc-card {
	flex: 1 1 230px !important;
	min-width: 230px;
	min-height: 520px;
	align-self: stretch !important;
	overflow: hidden;
}

.nc-card ul {
	padding-bottom: 84px !important;
}

@media (max-width: 760px) {
	.nc-mascot img {
		max-width: min(360px, 86vw);
	}
	.nc-home-intro {
		padding: 16px;
	}
	.nc-home-intro h2 {
		font-size: 1.22rem;
	}
	.nc-card {
		min-width: 100%;
	}
}