MediaWiki:Common.css:修订间差异
MediaWiki界面页面
更多操作
创建页面,内容为“→这里放置的CSS将应用于所有皮肤: →============================================= Ander.SYSTEM Wiki — Global Styles Dark flat theme with purple accent =============================================: →Base: body { background-color: #111114; color: #c8c8d0; font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; font-size: 14px; line-height: 1.7; } →Page background: #content, #mw-content-text { back…” |
无编辑摘要 |
||
| 第351行: | 第351行: | ||
.as-hero { | .as-hero { | ||
padding: 28px 20px; | padding: 28px 20px; | ||
} | |||
} | |||
/* ============================================= | |||
Page Header | |||
============================================= */ | |||
.as-page-header { | |||
background: #18181c; | |||
border-bottom: 2px solid #7c4dff; | |||
padding: 32px 40px 28px; | |||
margin-bottom: 32px; | |||
} | |||
.as-page-label { | |||
font-size: 10px; | |||
font-weight: 700; | |||
letter-spacing: 0.2em; | |||
text-transform: uppercase; | |||
color: #7c4dff; | |||
margin-bottom: 8px; | |||
} | |||
.as-page-title { | |||
font-size: 26px; | |||
font-weight: 700; | |||
color: #ffffff; | |||
margin: 0 0 8px 0; | |||
letter-spacing: 0.03em; | |||
border: none; | |||
} | |||
.as-page-desc { | |||
font-size: 13px; | |||
color: #909099; | |||
margin: 0; | |||
line-height: 1.6; | |||
} | |||
/* ============================================= | |||
Filter Bar | |||
============================================= */ | |||
.as-filter-bar { | |||
display: flex; | |||
align-items: center; | |||
gap: 16px; | |||
background: #18181c; | |||
border: 1px solid #2a2a32; | |||
padding: 14px 20px; | |||
margin-bottom: 32px; | |||
flex-wrap: wrap; | |||
} | |||
.as-filter-label { | |||
font-size: 11px; | |||
font-weight: 600; | |||
letter-spacing: 0.1em; | |||
text-transform: uppercase; | |||
color: #7c4dff; | |||
} | |||
.as-filter-tabs { | |||
display: flex; | |||
gap: 6px; | |||
flex-wrap: wrap; | |||
} | |||
.as-filter-tab { | |||
font-size: 12px; | |||
font-weight: 500; | |||
padding: 5px 14px; | |||
border: 1px solid #2a2a32; | |||
color: #909099; | |||
background: transparent; | |||
cursor: pointer; | |||
transition: all 0.15s; | |||
text-decoration: none; | |||
display: inline-block; | |||
} | |||
.as-filter-tab:hover { | |||
border-color: #7c4dff; | |||
color: #b87fff; | |||
text-decoration: none; | |||
} | |||
.as-filter-tab.as-active { | |||
background: #7c4dff; | |||
border-color: #7c4dff; | |||
color: #ffffff; | |||
} | |||
/* ============================================= | |||
Character Card Grid | |||
============================================= */ | |||
.as-char-grid { | |||
display: grid; | |||
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); | |||
gap: 18px; | |||
margin-bottom: 40px; | |||
} | |||
.as-char-card { | |||
background: #18181c; | |||
border: 1px solid #2a2a32; | |||
overflow: hidden; | |||
transition: border-color 0.15s, transform 0.15s; | |||
} | |||
.as-char-card:hover { | |||
border-color: #7c4dff; | |||
transform: translateY(-2px); | |||
} | |||
.as-char-card-image { | |||
width: 100%; | |||
height: 200px; | |||
background: #0d0d10; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
border-bottom: 1px solid #2a2a32; | |||
} | |||
.as-char-card-image img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
} | |||
.as-char-card-body { | |||
padding: 16px 18px; | |||
} | |||
.as-char-card-name { | |||
font-size: 15px; | |||
font-weight: 600; | |||
color: #ffffff; | |||
margin-bottom: 4px; | |||
} | |||
.as-char-card-name a { | |||
color: #ffffff; | |||
} | |||
.as-char-card-name a:hover { | |||
color: #b87fff; | |||
} | |||
.as-char-card-role { | |||
font-size: 11px; | |||
color: #7c4dff; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
margin-bottom: 10px; | |||
} | |||
.as-char-card-tags { | |||
margin-bottom: 10px; | |||
display: flex; | |||
gap: 6px; | |||
flex-wrap: wrap; | |||
} | |||
.as-char-card-tags .as-tag { | |||
margin-left: 0; | |||
} | |||
.as-char-card-desc { | |||
font-size: 12px; | |||
color: #606070; | |||
line-height: 1.6; | |||
margin: 0; | |||
} | |||
/* ============================================= | |||
Character List (Alternative Layout) | |||
============================================= */ | |||
.as-char-list { | |||
display: flex; | |||
flex-direction: column; | |||
gap: 0; | |||
background: #18181c; | |||
border: 1px solid #2a2a32; | |||
margin-bottom: 40px; | |||
} | |||
.as-char-list-item { | |||
display: flex; | |||
gap: 18px; | |||
padding: 18px 20px; | |||
border-bottom: 1px solid #1e1e24; | |||
transition: background 0.15s; | |||
} | |||
.as-char-list-item:last-child { | |||
border-bottom: none; | |||
} | |||
.as-char-list-item:hover { | |||
background: #1a1a1e; | |||
} | |||
.as-char-list-thumb { | |||
flex-shrink: 0; | |||
width: 80px; | |||
height: 80px; | |||
background: #0d0d10; | |||
border: 1px solid #2a2a32; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
overflow: hidden; | |||
} | |||
.as-char-list-thumb img { | |||
width: 100%; | |||
height: 100%; | |||
object-fit: cover; | |||
} | |||
.as-char-list-body { | |||
flex: 1; | |||
min-width: 0; | |||
} | |||
.as-char-list-name { | |||
font-size: 16px; | |||
font-weight: 600; | |||
color: #ffffff; | |||
margin-bottom: 4px; | |||
} | |||
.as-char-list-name a { | |||
color: #ffffff; | |||
} | |||
.as-char-list-name a:hover { | |||
color: #b87fff; | |||
} | |||
.as-char-list-meta { | |||
font-size: 11px; | |||
color: #7c4dff; | |||
letter-spacing: 0.06em; | |||
margin-bottom: 8px; | |||
} | |||
.as-char-list-desc { | |||
font-size: 13px; | |||
color: #909099; | |||
line-height: 1.6; | |||
margin: 0; | |||
} | |||
/* ============================================= | |||
CTA Box | |||
============================================= */ | |||
.as-cta-box { | |||
background: #18181c; | |||
border: 1px solid #2a2a32; | |||
border-left: 3px solid #7c4dff; | |||
padding: 24px 28px; | |||
text-align: center; | |||
} | |||
.as-cta-title { | |||
font-size: 16px; | |||
font-weight: 600; | |||
color: #ffffff; | |||
margin-bottom: 8px; | |||
} | |||
.as-cta-desc { | |||
font-size: 13px; | |||
color: #909099; | |||
margin-bottom: 18px; | |||
} | |||
.as-cta-box .as-btn { | |||
margin: 0 6px; | |||
} | |||
/* ============================================= | |||
Responsive | |||
============================================= */ | |||
@media (max-width: 768px) { | |||
.as-char-grid { | |||
grid-template-columns: 1fr; | |||
} | |||
.as-page-header { | |||
padding: 24px 20px 20px; | |||
} | |||
.as-filter-bar { | |||
flex-direction: column; | |||
align-items: flex-start; | |||
} | |||
.as-char-list-item { | |||
flex-direction: column; | |||
} | |||
.as-char-list-thumb { | |||
width: 100%; | |||
height: 180px; | |||
} | } | ||
} | } | ||
2026年7月28日 (二) 17:22的版本
/* 这里放置的CSS将应用于所有皮肤 */
/* =============================================
Ander.SYSTEM Wiki — Global Styles
Dark flat theme with purple accent
============================================= */
/* Base */
body {
background-color: #111114;
color: #c8c8d0;
font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
font-size: 14px;
line-height: 1.7;
}
/* Page background */
#content,
#mw-content-text {
background-color: #111114;
border: none;
padding: 0;
}
#mw-page-base,
#mw-head-base {
background: #18181c;
}
/* Header / nav bar */
#mw-head {
background: #18181c;
border-bottom: 1px solid #2a2a32;
}
/* Sidebar */
#mw-panel {
background: #18181c;
}
#mw-panel .portal h3 {
color: #7c4dff;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
border-bottom: 1px solid #2a2a32;
padding-bottom: 4px;
margin-bottom: 6px;
}
#mw-panel .portal .body li a {
color: #909099;
font-size: 13px;
}
#mw-panel .portal .body li a:hover {
color: #b87fff;
}
/* Links */
a, a:visited {
color: #9d6fff;
text-decoration: none;
}
a:hover {
color: #c4a0ff;
text-decoration: underline;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: #e8e8f0;
font-weight: 600;
letter-spacing: 0.02em;
border-bottom: none;
}
/* =============================================
Main Page Layout
============================================= */
/* Hero banner */
.as-hero {
background: #18181c;
border-bottom: 2px solid #7c4dff;
padding: 48px 40px;
margin-bottom: 32px;
}
.as-hero-logo {
font-size: 11px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #7c4dff;
margin-bottom: 8px;
}
.as-hero-title {
font-size: 28px;
font-weight: 700;
color: #ffffff;
margin: 0 0 10px 0;
letter-spacing: 0.04em;
}
.as-hero-subtitle {
font-size: 13px;
color: #606070;
letter-spacing: 0.15em;
text-transform: uppercase;
margin: 0;
}
.as-hero-actions {
margin-top: 24px;
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.as-btn {
display: inline-block;
padding: 9px 22px;
font-size: 12px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
border: 1px solid #7c4dff;
color: #b87fff;
background: transparent;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.as-btn:hover {
background: #7c4dff;
color: #ffffff;
text-decoration: none;
}
.as-btn-fill {
background: #7c4dff;
color: #ffffff;
border-color: #7c4dff;
}
.as-btn-fill:hover {
background: #9d6fff;
border-color: #9d6fff;
color: #ffffff;
}
/* Stats bar */
.as-stats {
display: flex;
gap: 0;
background: #18181c;
border: 1px solid #2a2a32;
margin-bottom: 32px;
}
.as-stat-item {
flex: 1;
padding: 18px 24px;
border-right: 1px solid #2a2a32;
text-align: center;
}
.as-stat-item:last-child {
border-right: none;
}
.as-stat-num {
font-size: 22px;
font-weight: 700;
color: #ffffff;
display: block;
}
.as-stat-label {
font-size: 11px;
color: #505060;
letter-spacing: 0.1em;
text-transform: uppercase;
margin-top: 2px;
display: block;
}
/* Section heading */
.as-section-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #7c4dff;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
}
.as-section-label::after {
content: '';
flex: 1;
height: 1px;
background: #2a2a32;
display: block;
}
/* Grid layout */
.as-grid-2 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
margin-bottom: 32px;
}
.as-grid-3 {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 16px;
margin-bottom: 32px;
}
/* Card */
.as-card {
background: #18181c;
border: 1px solid #2a2a32;
padding: 24px;
transition: border-color 0.15s;
}
.as-card:hover {
border-color: #7c4dff;
}
.as-card-icon {
font-size: 18px;
margin-bottom: 12px;
display: block;
color: #7c4dff;
}
.as-card-title {
font-size: 14px;
font-weight: 600;
color: #e8e8f0;
margin: 0 0 8px 0;
}
.as-card-desc {
font-size: 12px;
color: #606070;
margin: 0;
line-height: 1.6;
}
/* News / updates list */
.as-updates {
background: #18181c;
border: 1px solid #2a2a32;
margin-bottom: 32px;
}
.as-update-item {
display: flex;
align-items: baseline;
gap: 16px;
padding: 14px 24px;
border-bottom: 1px solid #1e1e24;
}
.as-update-item:last-child {
border-bottom: none;
}
.as-update-date {
font-size: 11px;
color: #505060;
white-space: nowrap;
font-family: 'Courier New', monospace;
letter-spacing: 0.05em;
}
.as-update-dot {
width: 4px;
height: 4px;
background: #7c4dff;
border-radius: 50%;
flex-shrink: 0;
margin-top: 2px;
}
.as-update-text {
font-size: 13px;
color: #909099;
}
.as-update-text a {
color: #c8c8d0;
font-weight: 500;
}
.as-update-text a:hover {
color: #b87fff;
}
/* Tag chip */
.as-tag {
display: inline-block;
font-size: 10px;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
padding: 2px 8px;
border: 1px solid #7c4dff;
color: #9d6fff;
margin-left: 8px;
vertical-align: middle;
}
/* Footer note */
.as-footer-note {
text-align: center;
font-size: 11px;
color: #404050;
letter-spacing: 0.1em;
padding: 24px 0;
border-top: 1px solid #1e1e24;
text-transform: uppercase;
}
/* Responsive */
@media (max-width: 768px) {
.as-grid-2,
.as-grid-3 {
grid-template-columns: 1fr;
}
.as-stats {
flex-direction: column;
}
.as-stat-item {
border-right: none;
border-bottom: 1px solid #2a2a32;
}
.as-hero {
padding: 28px 20px;
}
}
/* =============================================
Page Header
============================================= */
.as-page-header {
background: #18181c;
border-bottom: 2px solid #7c4dff;
padding: 32px 40px 28px;
margin-bottom: 32px;
}
.as-page-label {
font-size: 10px;
font-weight: 700;
letter-spacing: 0.2em;
text-transform: uppercase;
color: #7c4dff;
margin-bottom: 8px;
}
.as-page-title {
font-size: 26px;
font-weight: 700;
color: #ffffff;
margin: 0 0 8px 0;
letter-spacing: 0.03em;
border: none;
}
.as-page-desc {
font-size: 13px;
color: #909099;
margin: 0;
line-height: 1.6;
}
/* =============================================
Filter Bar
============================================= */
.as-filter-bar {
display: flex;
align-items: center;
gap: 16px;
background: #18181c;
border: 1px solid #2a2a32;
padding: 14px 20px;
margin-bottom: 32px;
flex-wrap: wrap;
}
.as-filter-label {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: #7c4dff;
}
.as-filter-tabs {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.as-filter-tab {
font-size: 12px;
font-weight: 500;
padding: 5px 14px;
border: 1px solid #2a2a32;
color: #909099;
background: transparent;
cursor: pointer;
transition: all 0.15s;
text-decoration: none;
display: inline-block;
}
.as-filter-tab:hover {
border-color: #7c4dff;
color: #b87fff;
text-decoration: none;
}
.as-filter-tab.as-active {
background: #7c4dff;
border-color: #7c4dff;
color: #ffffff;
}
/* =============================================
Character Card Grid
============================================= */
.as-char-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 18px;
margin-bottom: 40px;
}
.as-char-card {
background: #18181c;
border: 1px solid #2a2a32;
overflow: hidden;
transition: border-color 0.15s, transform 0.15s;
}
.as-char-card:hover {
border-color: #7c4dff;
transform: translateY(-2px);
}
.as-char-card-image {
width: 100%;
height: 200px;
background: #0d0d10;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
border-bottom: 1px solid #2a2a32;
}
.as-char-card-image img {
width: 100%;
height: 100%;
object-fit: cover;
}
.as-char-card-body {
padding: 16px 18px;
}
.as-char-card-name {
font-size: 15px;
font-weight: 600;
color: #ffffff;
margin-bottom: 4px;
}
.as-char-card-name a {
color: #ffffff;
}
.as-char-card-name a:hover {
color: #b87fff;
}
.as-char-card-role {
font-size: 11px;
color: #7c4dff;
letter-spacing: 0.08em;
text-transform: uppercase;
margin-bottom: 10px;
}
.as-char-card-tags {
margin-bottom: 10px;
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.as-char-card-tags .as-tag {
margin-left: 0;
}
.as-char-card-desc {
font-size: 12px;
color: #606070;
line-height: 1.6;
margin: 0;
}
/* =============================================
Character List (Alternative Layout)
============================================= */
.as-char-list {
display: flex;
flex-direction: column;
gap: 0;
background: #18181c;
border: 1px solid #2a2a32;
margin-bottom: 40px;
}
.as-char-list-item {
display: flex;
gap: 18px;
padding: 18px 20px;
border-bottom: 1px solid #1e1e24;
transition: background 0.15s;
}
.as-char-list-item:last-child {
border-bottom: none;
}
.as-char-list-item:hover {
background: #1a1a1e;
}
.as-char-list-thumb {
flex-shrink: 0;
width: 80px;
height: 80px;
background: #0d0d10;
border: 1px solid #2a2a32;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
}
.as-char-list-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.as-char-list-body {
flex: 1;
min-width: 0;
}
.as-char-list-name {
font-size: 16px;
font-weight: 600;
color: #ffffff;
margin-bottom: 4px;
}
.as-char-list-name a {
color: #ffffff;
}
.as-char-list-name a:hover {
color: #b87fff;
}
.as-char-list-meta {
font-size: 11px;
color: #7c4dff;
letter-spacing: 0.06em;
margin-bottom: 8px;
}
.as-char-list-desc {
font-size: 13px;
color: #909099;
line-height: 1.6;
margin: 0;
}
/* =============================================
CTA Box
============================================= */
.as-cta-box {
background: #18181c;
border: 1px solid #2a2a32;
border-left: 3px solid #7c4dff;
padding: 24px 28px;
text-align: center;
}
.as-cta-title {
font-size: 16px;
font-weight: 600;
color: #ffffff;
margin-bottom: 8px;
}
.as-cta-desc {
font-size: 13px;
color: #909099;
margin-bottom: 18px;
}
.as-cta-box .as-btn {
margin: 0 6px;
}
/* =============================================
Responsive
============================================= */
@media (max-width: 768px) {
.as-char-grid {
grid-template-columns: 1fr;
}
.as-page-header {
padding: 24px 20px 20px;
}
.as-filter-bar {
flex-direction: column;
align-items: flex-start;
}
.as-char-list-item {
flex-direction: column;
}
.as-char-list-thumb {
width: 100%;
height: 180px;
}
}