模板:Homepage/styles.css:修订间差异
来自Blockland Wiki
更多操作
创建页面,内容为“→容器:BanG Dream! 的灵动感: .hp-wrapper { background: #fdfdfd; padding: 20px; border-radius: 20px; } →顶部 Banner: .hp-hero { background: linear-gradient(135deg, #ff527b 0%, #33ccff 100%); color: white; padding: 40px 30px; border-radius: 15px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); } .hp-hero h1 { color: white !important; border: none !important; font-size: 2.5em !importa…” |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* | /* 容器布局 */ | ||
. | .wiki-main-container { | ||
background: # | display: grid; | ||
grid-template-columns: 2fr 1fr; /* 典型的 Wikipedia/Star Citizen 左右结构 */ | |||
gap: 20px; | |||
font-family: "Segoe UI", "Microsoft YaHei", sans-serif; | |||
color: #eee; | |||
background: #0b0e11; /* 深色背景,符合星际/硬核风 */ | |||
padding: 20px; | padding: 20px; | ||
} | } | ||
/* | /* 顶部大标题:模仿星际公民的系统界面 */ | ||
. | .wiki-header { | ||
grid-column: 1 / 3; | |||
border-bottom: 2px solid #00f2ff; | |||
padding-bottom: 10px; | |||
margin-bottom: 10px; | |||
display: flex; | |||
justify-content: space-between; | |||
align-items: flex-end; | |||
} | } | ||
. | .wiki-header h1 { | ||
color: | color: #00f2ff !important; | ||
text-transform: uppercase; | |||
letter-spacing: 2px; | |||
margin: 0 !important; | |||
border: none !important; | border: none !important; | ||
} | } | ||
/* | /* 模块盒子:严谨的工业边框 */ | ||
. | .wiki-section { | ||
background: rgba(255, 255, 255, 0.03); | |||
border: 1px solid rgba(0, 242, 255, 0.2); | |||
padding: 15px; | |||
position: relative; | |||
} | |||
.wiki-section::before { | |||
content: ""; | |||
position: absolute; | |||
top: -1px; left: -1px; | |||
width: 10px; height: 10px; | |||
border-top: 2px solid #00f2ff; | |||
border-left: 2px solid #00f2ff; | |||
} | |||
.wiki-section-title { | |||
background: rgba(0, 242, 255, 0.1); | |||
color: #00f2ff; | |||
padding: 5px 15px; | |||
margin: -15px -15px 15px -15px; | |||
font-weight: bold; | |||
font-size: 0.9em; | |||
text-transform: uppercase; | |||
} | } | ||
/* | /* 列表美化 */ | ||
. | .wiki-list { | ||
list-style: none; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
padding: | |||
} | } | ||
. | .wiki-list li { | ||
padding: 8px 0; | |||
border-bottom: 1px solid rgba(255,255,255,0.05); | |||
} | } | ||
. | .wiki-list li a { | ||
color: #aaa; | |||
text-decoration: none; | |||
} | } | ||
.wiki-list li a:hover { | |||
. | color: #00f2ff; | ||
} | |||
2026年1月29日 (四) 15:00的版本
/* 容器布局 */
.wiki-main-container {
display: grid;
grid-template-columns: 2fr 1fr; /* 典型的 Wikipedia/Star Citizen 左右结构 */
gap: 20px;
font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
color: #eee;
background: #0b0e11; /* 深色背景,符合星际/硬核风 */
padding: 20px;
}
/* 顶部大标题:模仿星际公民的系统界面 */
.wiki-header {
grid-column: 1 / 3;
border-bottom: 2px solid #00f2ff;
padding-bottom: 10px;
margin-bottom: 10px;
display: flex;
justify-content: space-between;
align-items: flex-end;
}
.wiki-header h1 {
color: #00f2ff !important;
text-transform: uppercase;
letter-spacing: 2px;
margin: 0 !important;
border: none !important;
}
/* 模块盒子:严谨的工业边框 */
.wiki-section {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(0, 242, 255, 0.2);
padding: 15px;
position: relative;
}
.wiki-section::before {
content: "";
position: absolute;
top: -1px; left: -1px;
width: 10px; height: 10px;
border-top: 2px solid #00f2ff;
border-left: 2px solid #00f2ff;
}
.wiki-section-title {
background: rgba(0, 242, 255, 0.1);
color: #00f2ff;
padding: 5px 15px;
margin: -15px -15px 15px -15px;
font-weight: bold;
font-size: 0.9em;
text-transform: uppercase;
}
/* 列表美化 */
.wiki-list {
list-style: none;
margin: 0 !important;
padding: 0 !important;
}
.wiki-list li {
padding: 8px 0;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.wiki-list li a {
color: #aaa;
text-decoration: none;
}
.wiki-list li a:hover {
color: #00f2ff;
}