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

MediaWiki:Common.css:修订间差异

MediaWiki界面页面
Baneq留言 | 贡献
无编辑摘要
标签已被回退
Baneq留言 | 贡献
无编辑摘要
标签已被回退
第1行: 第1行:
/* Noblecraft homepage polish. Append after the current homepage CSS in MediaWiki:Common.css */
/* Noblecraft homepage recovery polish.
 
  Append this at the very bottom of MediaWiki:Common.css after removing broken test rules. */
/* Keep polish scoped to the existing homepage pieces. */
.nc-stage,
.nc-cards {
max-width: 1180px;
margin-left: auto;
margin-right: auto;
}


.nc-mascot {
.nc-mascot {
第21行: 第14行:
}
}


/* A compact intro panel for the current homepage text area. */
.nc-home-intro {
.nc-home-intro {
max-width: 1180px;
max-width: 1180px;
第72行: 第64行:
}
}


/* Make the original four-card layout feel more deliberate. */
.nc-cards {
.nc-cards {
display: grid !important;
display: flex !important;
grid-template-columns: repeat(4, minmax(0, 1fr));
flex-wrap: wrap !important;
gap: 16px;
align-items: stretch !important;
margin-top: 18px;
gap: 16px !important;
align-items: stretch;
max-width: 1180px;
margin: 18px auto 0 !important;
}
}


.nc-card {
.nc-card {
position: relative;
flex: 1 1 230px !important;
min-width: 230px;
min-width: 230px;
min-height: 520px;
min-height: 520px;
border-color: rgba(225,229,234,.95);
align-self: stretch !important;
overflow: hidden;
overflow: hidden;
align-self: stretch;
}
}


第94行: 第85行:
}
}


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

2026年6月3日 (三) 13:00的版本

/* 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%;
	}
}