MediaWiki:Common.css:修订间差异
外观
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
/* 简中Robloxian Wiki 全局样式 */ | /* 简中Robloxian Wiki 全局样式 */ | ||
/* | /* 构成主义重构版 / Constructivism Reloaded */ | ||
html { | |||
background-color: #d4d4d4; | |||
} | |||
body, | body, | ||
#content, | #content, | ||
| 第6行: | 第11行: | ||
.mw-page-container, | .mw-page-container, | ||
#bodyContent { | #bodyContent { | ||
background-color: # | background-color: #d4d4d4 !important; | ||
color: #0a0a0a !important; | |||
font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif; | |||
} | } | ||
.mw-parser-output { | |||
background | background: transparent; | ||
} | } | ||
.mw-parser-output { | /* 强制全局文字色 */ | ||
.mw-body p, | |||
.mw-body li, | |||
.mw-body td, | |||
.mw-body th, | |||
.mw-body h1, | |||
.mw-body h2, | |||
.mw-body h3, | |||
.mw-body h4, | |||
.mw-body h5, | |||
.mw-body h6, | |||
#firstHeading, | |||
.mw-page-title-main, | |||
.mw-parser-output p, | |||
.mw-parser-output li, | |||
.mw-parser-output h2, | |||
.mw-parser-output h3 { | |||
color: #0a0a0a; | |||
} | } | ||
/* 链接:工业红 */ | |||
a { | |||
color: #c41e3a; | |||
text-decoration: none; | |||
font-weight: 800; | |||
border-bottom: 1px solid transparent; | |||
transition: all 0.15s; | |||
} | |||
a:hover { | |||
color: #000; | |||
border-bottom-color: #c41e3a; | |||
} | |||
a:visited { | |||
color: #8b1329; | |||
} | } | ||
/* ========== 核心布局 ========== */ | |||
.chanmoegrid { | .chanmoegrid { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 24px; | ||
max-width: 1200px; | max-width: 1200px; | ||
margin: 0 auto; | margin: 0 auto; | ||
padding: | padding: 24px; | ||
} | } | ||
/* ========== 卡片系统:黑框 + 红色应力线 ========== */ | |||
.chanmoecard { | .chanmoecard { | ||
background: # | background: #fff; | ||
border-radius: | border-radius: 0; | ||
box-shadow: 0 | box-shadow: 4px 4px 0 rgba(0,0,0,0.12); | ||
padding: | padding: 24px; | ||
border: 2px solid | border: 2px solid #000; | ||
position: relative; | |||
overflow: hidden; | |||
transition: all 0.2s ease; | |||
} | |||
.chanmoecard::before { | |||
content: ""; | |||
position: absolute; | |||
top: 0; left: 0; | |||
width: 6px; height: 100%; | |||
background: #c41e3a; | |||
z-index: 1; | |||
} | } | ||
.chanmoecard:hover { | .chanmoecard:hover { | ||
border-color: # | transform: translate(-2px, -2px); | ||
box-shadow: 6px 6px 0 rgba(196, 30, 58, 0.25); | |||
border-color: #c41e3a; | |||
} | } | ||
/* ========== 欢迎区:红黑宣言 ========== */ | |||
.chanmoe-welcome { | .chanmoe-welcome { | ||
flex: 1 1 100%; | flex: 1 1 100%; | ||
background: | background: #000; | ||
color: # | color: #fff; | ||
text-align: center; | text-align: center; | ||
border-radius: | border-radius: 0; | ||
padding: | padding: 44px 28px; | ||
border: 3px solid #c41e3a; | |||
position: relative; | |||
overflow: hidden; | |||
} | |||
.chanmoe-welcome::after { | |||
content: ""; | |||
position: absolute; | |||
top: 0; right: 0; | |||
width: 140px; height: 140px; | |||
background: repeating-linear-gradient( | |||
45deg, | |||
transparent, | |||
transparent 8px, | |||
rgba(196, 30, 58, 0.12) 8px, | |||
rgba(196, 30, 58, 0.12) 16px | |||
); | |||
clip-path: polygon(100% 0, 0 0, 100% 100%); | |||
pointer-events: none; | |||
} | } | ||
.chanmoe-welcome .ascii-divider { | |||
color: #c41e3a; | |||
font-weight: 900; | |||
letter-spacing: 0.2em; | |||
font-size: 1em; | |||
border-top: 2px solid #333; | |||
border-bottom: 2px solid #333; | |||
padding: 10px 0; | |||
margin: 24px auto; | |||
max-width: 640px; | |||
} | |||
/* ========== 主侧栏 ========== */ | |||
.chanmoe-main { | .chanmoe-main { | ||
flex: 2; | flex: 2; | ||
| 第61行: | 第145行: | ||
} | } | ||
/* ========== 标题:粗野主义 ========== */ | |||
.chanmoe-title { | .chanmoe-title { | ||
font-size: 1. | font-size: 1.25em; | ||
font-weight: | font-weight: 900; | ||
margin-bottom: | margin-bottom: 16px; | ||
padding | padding: 0 0 10px 18px; | ||
border-bottom: 3px | border-bottom: 3px solid #c41e3a; | ||
color: # | color: #000; | ||
text-transform: uppercase; | |||
letter-spacing: 0.06em; | |||
position: relative; | |||
} | } | ||
.chanmoe-title::before { | |||
content: "▶"; | |||
position: absolute; | |||
left: 0; | |||
top: -2px; | |||
color: #c41e3a; | |||
font-size: 1.1em; | |||
} | |||
/* ========== 板块按钮:斜切工业风 ========== */ | |||
.chanboard-grid { | .chanboard-grid { | ||
display: flex; | display: flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
gap: | gap: 12px; | ||
} | } | ||
.chanboard-btn { | .chanboard-btn { | ||
background: | background: transparent; | ||
padding: 10px | padding: 10px 22px; | ||
border-radius: | border-radius: 0; | ||
color: # | color: #000; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: | font-weight: 900; | ||
font-family: | font-family: 'Helvetica Neue', 'Arial', sans-serif; | ||
box-shadow: | box-shadow: none; | ||
border: 2px solid #000; | |||
transform: skewX(-10deg); | |||
display: inline-block; | |||
transition: all 0.15s ease; | |||
text-transform: uppercase; | |||
font-size: 0.9em; | |||
letter-spacing: 0.04em; | |||
} | |||
.chanboard-btn a { | |||
color: inherit; | |||
text-decoration: none; | |||
display: inline-block; | |||
transform: skewX(10deg); | |||
} | } | ||
.chanboard-btn:hover { | .chanboard-btn:hover { | ||
background: # | background: #c41e3a; | ||
color: # | color: #fff; | ||
border-color: #c41e3a; | |||
box-shadow: 4px 4px 0 rgba(0,0,0,0.25); | |||
transform: skewX(-10deg) translateY(-2px); | |||
} | } | ||
/* ========== 列表:红色箭头 ========== */ | |||
.chanlist { | .chanlist { | ||
list-style: none; | list-style: none; | ||
| 第99行: | 第215行: | ||
.chanlist li { | .chanlist li { | ||
padding: | padding: 10px 0 10px 22px; | ||
border-bottom: 1px solid # | border-bottom: 1px solid #bbb; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
font-weight: 800; | |||
text-transform: uppercase; | |||
letter-spacing: 0.03em; | |||
position: relative; | |||
transition: all 0.15s; | |||
} | |||
.chanlist li::before { | |||
content: "▸"; | |||
position: absolute; | |||
left: 0; | |||
color: #c41e3a; | |||
font-size: 1.3em; | |||
line-height: 1; | |||
top: 8px; | |||
} | } | ||
| 第109行: | 第240行: | ||
.chanlist a { | .chanlist a { | ||
color: # | color: #000; | ||
text-decoration: none; | text-decoration: none; | ||
font-weight: | font-weight: 900; | ||
border-bottom: none; | |||
} | } | ||
.chanlist a:hover { | .chanlist a:hover { | ||
color: # | color: #c41e3a; | ||
} | } | ||
. | .chanlist li:hover { | ||
padding-left: 26px; | |||
background: rgba(196, 30, 58, 0.04); | |||
padding | |||
} | } | ||
. | .chanlist li:hover::before { | ||
content: "▶"; | |||
} | } | ||
/* ========== 留言卡片 ========== */ | |||
.chanpost { | |||
background: #f0f0f0; | |||
border-radius: 0; | |||
padding: 16px; | |||
margin-top: 12px; | |||
/* ========== | |||
2026年5月29日 (五) 20:07的版本
/* 简中Robloxian Wiki 全局样式 */
/* 构成主义重构版 / Constructivism Reloaded */
html {
background-color: #d4d4d4;
}
body,
#content,
.mw-body,
.mw-page-container,
#bodyContent {
background-color: #d4d4d4 !important;
color: #0a0a0a !important;
font-family: 'Helvetica Neue', 'Arial', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
}
.mw-parser-output {
background: transparent;
}
/* 强制全局文字色 */
.mw-body p,
.mw-body li,
.mw-body td,
.mw-body th,
.mw-body h1,
.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6,
#firstHeading,
.mw-page-title-main,
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output h2,
.mw-parser-output h3 {
color: #0a0a0a;
}
/* 链接:工业红 */
a {
color: #c41e3a;
text-decoration: none;
font-weight: 800;
border-bottom: 1px solid transparent;
transition: all 0.15s;
}
a:hover {
color: #000;
border-bottom-color: #c41e3a;
}
a:visited {
color: #8b1329;
}
/* ========== 核心布局 ========== */
.chanmoegrid {
display: flex;
flex-wrap: wrap;
gap: 24px;
max-width: 1200px;
margin: 0 auto;
padding: 24px;
}
/* ========== 卡片系统:黑框 + 红色应力线 ========== */
.chanmoecard {
background: #fff;
border-radius: 0;
box-shadow: 4px 4px 0 rgba(0,0,0,0.12);
padding: 24px;
border: 2px solid #000;
position: relative;
overflow: hidden;
transition: all 0.2s ease;
}
.chanmoecard::before {
content: "";
position: absolute;
top: 0; left: 0;
width: 6px; height: 100%;
background: #c41e3a;
z-index: 1;
}
.chanmoecard:hover {
transform: translate(-2px, -2px);
box-shadow: 6px 6px 0 rgba(196, 30, 58, 0.25);
border-color: #c41e3a;
}
/* ========== 欢迎区:红黑宣言 ========== */
.chanmoe-welcome {
flex: 1 1 100%;
background: #000;
color: #fff;
text-align: center;
border-radius: 0;
padding: 44px 28px;
border: 3px solid #c41e3a;
position: relative;
overflow: hidden;
}
.chanmoe-welcome::after {
content: "";
position: absolute;
top: 0; right: 0;
width: 140px; height: 140px;
background: repeating-linear-gradient(
45deg,
transparent,
transparent 8px,
rgba(196, 30, 58, 0.12) 8px,
rgba(196, 30, 58, 0.12) 16px
);
clip-path: polygon(100% 0, 0 0, 100% 100%);
pointer-events: none;
}
.chanmoe-welcome .ascii-divider {
color: #c41e3a;
font-weight: 900;
letter-spacing: 0.2em;
font-size: 1em;
border-top: 2px solid #333;
border-bottom: 2px solid #333;
padding: 10px 0;
margin: 24px auto;
max-width: 640px;
}
/* ========== 主侧栏 ========== */
.chanmoe-main {
flex: 2;
min-width: 280px;
}
.chanmoe-side {
flex: 1;
min-width: 250px;
}
/* ========== 标题:粗野主义 ========== */
.chanmoe-title {
font-size: 1.25em;
font-weight: 900;
margin-bottom: 16px;
padding: 0 0 10px 18px;
border-bottom: 3px solid #c41e3a;
color: #000;
text-transform: uppercase;
letter-spacing: 0.06em;
position: relative;
}
.chanmoe-title::before {
content: "▶";
position: absolute;
left: 0;
top: -2px;
color: #c41e3a;
font-size: 1.1em;
}
/* ========== 板块按钮:斜切工业风 ========== */
.chanboard-grid {
display: flex;
flex-wrap: wrap;
gap: 12px;
}
.chanboard-btn {
background: transparent;
padding: 10px 22px;
border-radius: 0;
color: #000;
text-decoration: none;
font-weight: 900;
font-family: 'Helvetica Neue', 'Arial', sans-serif;
box-shadow: none;
border: 2px solid #000;
transform: skewX(-10deg);
display: inline-block;
transition: all 0.15s ease;
text-transform: uppercase;
font-size: 0.9em;
letter-spacing: 0.04em;
}
.chanboard-btn a {
color: inherit;
text-decoration: none;
display: inline-block;
transform: skewX(10deg);
}
.chanboard-btn:hover {
background: #c41e3a;
color: #fff;
border-color: #c41e3a;
box-shadow: 4px 4px 0 rgba(0,0,0,0.25);
transform: skewX(-10deg) translateY(-2px);
}
/* ========== 列表:红色箭头 ========== */
.chanlist {
list-style: none;
margin: 0;
padding: 0;
}
.chanlist li {
padding: 10px 0 10px 22px;
border-bottom: 1px solid #bbb;
font-size: 0.95em;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.03em;
position: relative;
transition: all 0.15s;
}
.chanlist li::before {
content: "▸";
position: absolute;
left: 0;
color: #c41e3a;
font-size: 1.3em;
line-height: 1;
top: 8px;
}
.chanlist li:last-child {
border-bottom: none;
}
.chanlist a {
color: #000;
text-decoration: none;
font-weight: 900;
border-bottom: none;
}
.chanlist a:hover {
color: #c41e3a;
}
.chanlist li:hover {
padding-left: 26px;
background: rgba(196, 30, 58, 0.04);
}
.chanlist li:hover::before {
content: "▶";
}
/* ========== 留言卡片 ========== */
.chanpost {
background: #f0f0f0;
border-radius: 0;
padding: 16px;
margin-top: 12px;