MediaWiki:Common.css:修订间差异
删除的内容 添加的内容
格式化代码 标签:已被回退 |
改版 标签:已被回退 |
||
第1行:
/* ===========================
=========================== */
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
"Noto Sans", "Noto Sans CJK SC", "Noto Sans CJK TC", "Noto Sans JP", "Noto Sans KR",
background-color: #ffffff;
line-height: 1.7;
color: #333;
}
/* ===========================
顶部横幅
=========================== */
.banner {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: linear-gradient(
border-radius: 12px;
padding: 24px 20px;
margin-bottom: 25px;
text-align: center;
box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}
.banner .chinese-text { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.banner .english-text { font-size: 16px; opacity: 0.9; }
/* ===========================
主分类模块
=========================== */
.main-category {
background: #fafafa;
border-left: 6px solid #b30000;
}
/* ===========================
内容
=========================== */
.content-box {
border: 1px solid #e0e0e0;
padding: 22px;
margin: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.content-box
transform: translateY(-6px);
box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.content-box
border-left: 5px solid #b30000;
padding-left: 10px;
color: #333;
}
/* ===========================
区块分色
=========================== */
.section-think { background: #f7f6f4; padding: 30px 20px; border-radius: 12px; }
.section-engineering { background: #f4f8fb; padding: 30px 20px; border-radius: 12px; }
.section-growth { background: #f6faf6; padding: 30px 20px; border-radius: 12px; }
.section-structure { background: #ffffff; padding: 30px 20px; border-radius: 12px; }
/* ===========================
第79行 ⟶ 第77行:
.flex-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap:
}
.flex-container .content-box {
flex: 1 1 calc(33% - 18px);
box-sizing: border-box;
}
/* 让每个部分首卡更突出 */
.flex-container .content-box:first-child {
flex: 2 1 calc(66% - 12px);
background: linear-gradient(135deg, #fff8f8, #ffeaea);
}
第100行 ⟶ 第96行:
响应式设计
=========================== */
@media screen and (max-width: 768px) {
.flex-container { flex-direction: column; }
.flex-container .content-box { flex: 1 1 100%; }
.banner .chinese-text { font-size: 22px; }
.banner .english-text { font-size: 14px; }
}
| |||