|
|
| 第1行: |
第1行: |
| /* ========== 迷雾Wiki 主题样式 ========== */ | | /* 迷雾 Wiki 的字体、组件及响应式样式统一由 MistChronicle 皮肤维护。 |
| | | * 旧版样式保留于此页历史记录。请勿在此复制皮肤样式。 */ |
| /* Hero 区域 */
| |
| .mist-hero {
| |
| position: relative;
| |
| background: #0d1117;
| |
| border: 1px solid #30363d;
| |
| border-radius: 16px;
| |
| padding: 64px 48px;
| |
| margin-bottom: 32px;
| |
| overflow: hidden;
| |
| text-align: center;
| |
| }
| |
| .mist-hero::before {
| |
| content: '';
| |
| position: absolute;
| |
| background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(88,166,255,0.08), transparent),
| |
| radial-gradient(ellipse 60% 40% at 80% 100%, rgba(210,168,255,0.06), transparent);
| |
| animation: fogFloat 15s ease-in-out infinite alternate;
| |
| pointer-events: none;
| |
| }
| |
| @keyframes fogFloat {
| |
| 0%{ opacity: 0.6; transform: translateX(-5%) scaleY(1); }
| |
| 100% { opacity: 1;transform: translateX(5%) scaleY(1.05); }
| |
| }
| |
| .mist-hero-title {
| |
| font-size: 3.5rem;
| |
| font-weight: 900;
| |
| background: linear-gradient(135deg, #e6edf3 30%, #58a6ff);
| |
| -webkit-background-clip: text;
| |
| -webkit-text-fill-color: transparent;
| |
| margin: 0 0 12px 0;
| |
| letter-spacing: -2px;
| |
| }
| |
| .mist-hero-subtitle {
| |
| color: #8b949e;
| |
| font-size: 1.1rem;
| |
| margin-bottom: 36px;
| |
| }
| |
| .mist-stats {
| |
| display: inline-flex;
| |
| gap: 40px;
| |
| justify-content: center;
| |
| }
| |
| .mist-stat { text-align: center; }
| |
| .mist-stat-num {
| |
| display: block;
| |
| font-size: 2rem;
| |
| font-weight: 800;
| |
| color: #e6edf3;
| |
| }
| |
| .mist-stat-label { color: #8b949e; font-size: 0.85rem; }
| |
| | |
| /* 三栏入口卡片 */
| |
| .mist-portal-row {
| |
| display: grid;
| |
| grid-template-columns: repeat(3, 1fr);
| |
| gap: 20px;
| |
| margin-bottom: 32px;
| |
| }
| |
| .mist-portal-card {
| |
| background: #161b22;
| |
| border: 1px solid #30363d;
| |
| border-radius: 12px;
| |
| overflow: hidden;
| |
| transition: transform 0.2s, box-shadow 0.2s;
| |
| padding-bottom: 20px;
| |
| }
| |
| .mist-portal-card:hover {
| |
| transform: translateY(-3px);
| |
| box-shadow: 0 12px 32px rgba(0,0,0,0.5);
| |
| }
| |
| .mist-portal-bar { height: 4px; }
| |
| .mist-portal-bar-blue{ background: linear-gradient(90deg, #58a6ff, #79c0ff); }
| |
| .mist-portal-bar-purple{ background: linear-gradient(90deg, #d2a8ff, #bc8cff); }
| |
| .mist-portal-bar-green { background: linear-gradient(90deg, #56d364, #3fb950); }
| |
| .mist-portal-body { padding: 24px 24px 0; }
| |
| .mist-portal-icon {
| |
| font-size: 2rem;
| |
| margin-bottom: 12px;
| |
| display: block;
| |
| }
| |
| .mist-portal-title {
| |
| font-size: 1.2rem;
| |
| font-weight: 700;
| |
| color: #e6edf3;
| |
| margin-bottom: 8px;
| |
| }
| |
| .mist-portal-desc { color: #8b949e; font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }
| |
| .mist-portal-btn {
| |
| display: block;
| |
| margin: 0 24px;
| |
| padding: 8px;
| |
| text-align: center;
| |
| background: #21262d;
| |
| border: 1px solid #30363d;
| |
| border-radius: 8px;
| |
| color: #e6edf3 ;
| |
| font-size: 0.875rem;
| |
| font-weight: 500;
| |
| text-decoration: none ;
| |
| transition: background 0.2s;
| |
| }
| |
| .mist-portal-btn:hover { background: #58a6ff; border-color: #58a6ff; color: #fff ; }
| |
| | |
| /* 精选 ARG */
| |
| .mist-section-title {
| |
| font-size: 1.4rem;
| |
| font-weight: 700;
| |
| color: #e6edf3;
| |
| margin-bottom: 20px;
| |
| padding-bottom: 12px;
| |
| border-bottom: 1px solid #30363d;
| |
| }
| |
| .mist-featured-row {
| |
| display: grid;
| |
| grid-template-columns: repeat(3, 1fr);
| |
| gap: 20px;
| |
| margin-bottom: 32px;
| |
| }
| |
| .mist-featured-card {
| |
| background: #161b22;
| |
| border: 1px solid #30363d;
| |
| border-radius: 12px;
| |
| overflow: hidden;
| |
| transition: border-color 0.2s;
| |
| }
| |
| .mist-featured-card:hover { border-color: #58a6ff; }
| |
| .mist-featured-cover {
| |
| height: 120px;
| |
| position: relative;
| |
| }
| |
| .mist-cover-blue{ background: linear-gradient(135deg, #0d2137, #1a3a5c); }
| |
| .mist-cover-purple { background: linear-gradient(135deg, #1a0d37, #2d1a5c); }
| |
| .mist-cover-amber { background: linear-gradient(135deg, #211a08, #3d3010); }
| |
| .mist-badge {
| |
| position: absolute;
| |
| top: 10px; right: 10px;
| |
| padding: 2px 8px;
| |
| border-radius: 4px;
| |
| font-size: 0.7rem;
| |
| font-weight: 700;
| |
| text-transform: uppercase;
| |
| letter-spacing: 0.5px;
| |
| }
| |
| .mist-badge-on{ background:#0d2a12; color:#56d364; border:1px solid #238636; }
| |
| .mist-badge-end { background:#1f0d37; color:#d2a8ff; border:1px solid #6e40c9; }
| |
| .mist-badge-sus { background:#2a1a00; color:#f0883e; border:1px solid #9e6a03; }
| |
| .mist-featured-body { padding: 16px; }
| |
| .mist-featured-title { font-size: 1rem; font-weight: 700; color: #e6edf3; margin-bottom: 6px; }
| |
| .mist-featured-desc{ color: #8b949e; font-size: 0.8rem; line-height: 1.5; }
| |
| | |
| /* 最近更新 */
| |
| .mist-recent {
| |
| background: #161b22;
| |
| border: 1px solid #30363d;
| |
| border-radius: 12px;
| |
| padding: 24px;
| |
| margin-bottom: 32px;
| |
| }
| |
| .mist-recent-item {
| |
| display: flex;
| |
| align-items: flex-start;
| |
| gap: 12px;
| |
| padding: 10px 0;
| |
| border-bottom: 1px solid #21262d;
| |
| }
| |
| .mist-recent-item:last-child { border-bottom: none; }
| |
| .mist-tag {
| |
| display: inline-block;
| |
| padding: 1px 7px;
| |
| border-radius: 4px;
| |
| font-size: 0.65rem;
| |
| font-weight: 700;
| |
| text-transform: uppercase;
| |
| white-space: nowrap;
| |
| margin-top: 2px;
| |
| }
| |
| .mist-tag-arg{ background:#0d1d37;color:#58a6ff;border:1px solid #1c3458; }
| |
| .mist-tag-tl{ background:#1f0d37;color:#d2a8ff;border:1px solid #3b1f6e; }
| |
| .mist-tag-term { background:#0d2a12;color:#56d364;border:1px solid #1c4a26; }
| |
| .mist-recent-link { color: #58a6ff ; font-size: 0.875rem; font-weight: 500; }
| |
| .mist-recent-meta { color: #8b949e; font-size: 0.75rem; margin-top: 2px; }
| |
| | |
| /* 页脚 */
| |
| .mist-footer {
| |
| background: #161b22;
| |
| border: 1px solid #30363d;
| |
| border-radius: 12px;
| |
| padding: 24px;
| |
| text-align: center;
| |
| color: #8b949e;
| |
| font-size: 0.8rem;
| |
| }
| |
| | |
| /* 响应式 */
| |
| @media (max-width: 768px) {
| |
| .mist-portal-row, .mist-featured-row { grid-template-columns: 1fr; }
| |
| .mist-hero-title { font-size: 2.2rem; }
| |
| .mist-stats { flex-direction: column; gap: 16px; }
| |
| }
| |
| | |
| | |
| | |
| /* ================================================
| |
| 卡片模板系统 v2 - 暗色主题
| |
| 支持模板:卡片组开始 / 卡片 / 卡片组结束
| |
| ================================================ */
| |
| | |
| | |
| /* ---- 卡片网格容器 ---- */
| |
| .wiki-card-grid {
| |
| display: flex;
| |
| flex-wrap: wrap;
| |
| gap: 20px;
| |
| margin: 24px 0;
| |
| align-items: stretch;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 卡片基础结构(暗色)
| |
| ================================================ */
| |
| | |
| .wiki-card {
| |
| flex: 0 0 calc(33.333% - 14px);
| |
| min-width: 180px;
| |
| position: relative;
| |
| overflow: hidden;
| |
| background: #1e2030;
| |
| border: 1px solid #313244;
| |
| border-top: 3px solid #89b4fa; /* 顶部蓝色强调线 */
| |
| border-radius: 8px;
| |
| box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
| |
| transition: transform 0.28s ease, box-shadow 0.28s ease;
| |
| box-sizing: border-box;
| |
| display: flex;
| |
| flex-direction: column;
| |
| cursor: default;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 悬停动效
| |
| ================================================ */
| |
| | |
| /* 动效1:扫光(暗色版,极细腻) */
| |
| .wiki-card::before {
| |
| content: '';
| |
| position: absolute;
| |
| top: 0;
| |
| left: -100%;
| |
| width: 60%;
| |
| height: 100%;
| |
| background: linear-gradient(
| |
| 90deg,
| |
| transparent,
| |
| rgba(255, 255, 255, 0.05),
| |
| transparent
| |
| );
| |
| transition: left 0.6s ease;
| |
| pointer-events: none;
| |
| z-index: 0;
| |
| }
| |
| | |
| /* 动效2:上浮 + 阴影加深 */
| |
| .wiki-card:hover {
| |
| transform: translateY(-7px);
| |
| box-shadow: 0 22px 52px rgba(0, 0, 0, 0.65);
| |
| }
| |
| | |
| /* 触发扫光 */
| |
| .wiki-card:hover::before {
| |
| left: 150%;
| |
| }
| |
| | |
| /* 动效3:图标弹跳放大 */
| |
| .wiki-card:hover .wiki-card-icon-wrap {
| |
| transform: scale(1.18);
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 卡片内部结构
| |
| ================================================ */
| |
| | |
| /* 图标区域 */
| |
| .wiki-card-icon-wrap {
| |
| padding: 20px 20px 4px;
| |
| font-size: 2.2em;
| |
| line-height: 1;
| |
| transition: transform 0.28s ease;
| |
| position: relative;
| |
| z-index: 1;
| |
| }
| |
| .wiki-card-icon-wrap:empty { display: none; }
| |
| | |
| /* 主体区域 */
| |
| .wiki-card-body {
| |
| padding: 14px 20px 16px;
| |
| flex: 1;
| |
| position: relative;
| |
| z-index: 1;
| |
| }
| |
| | |
| /* 标题 */
| |
| .wiki-card-title {
| |
| font-size: 1.05em;
| |
| font-weight: bold;
| |
| color: #cdd6f4;
| |
| margin-bottom: 4px;
| |
| line-height: 1.4;
| |
| }
| |
| | |
| /* 副标题 */
| |
| .wiki-card-subtitle {
| |
| font-size: 0.83em;
| |
| color: #585b70;
| |
| margin-bottom: 10px;
| |
| font-style: italic;
| |
| }
| |
| .wiki-card-subtitle:empty { display: none; }
| |
| | |
| /* 正文 */
| |
| .wiki-card-content {
| |
| font-size: 0.92em;
| |
| color: #a6adc8;
| |
| line-height: 1.68;
| |
| }
| |
| | |
| /* 底部链接区域 */
| |
| .wiki-card-footer {
| |
| padding: 10px 20px 14px;
| |
| border-top: 1px solid #313244;
| |
| position: relative;
| |
| z-index: 1;
| |
| }
| |
| | |
| /* ---- 底部链接双模式控制(data属性驱动)---- */
| |
| | |
| /* 默认隐藏两种链接 span */
| |
| .wiki-card-footer .wc-ext,
| |
| .wiki-card-footer .wc-int {
| |
| display: none;
| |
| }
| |
| | |
| /* data-ext 不为空时,显示外部链接 */
| |
| .wiki-card-footer:not([data-ext=""]) .wc-ext {
| |
| display: inline;
| |
| }
| |
| | |
| /* data-int 不为空时,显示内部链接 */
| |
| .wiki-card-footer:not([data-int=""]) .wc-int {
| |
| display: inline;
| |
| }
| |
| | |
| /* 两者都为空时,隐藏整个底部区域 */
| |
| .wiki-card-footer[data-ext=""][data-int=""] {
| |
| display: none;
| |
| padding: 0;
| |
| border-top: none;
| |
| }
| |
| | |
| .wiki-card-footer a {
| |
| font-size: 0.88em;
| |
| font-weight: bold;
| |
| color: #89b4fa;
| |
| text-decoration: none;
| |
| }
| |
| .wiki-card-footer a:hover {
| |
| text-decoration: underline;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 颜色主题(暗色系)
| |
| ================================================ */
| |
| | |
| /* card-success:绿色 */
| |
| .wiki-card.card-success {
| |
| border-top-color: #a6e3a1;
| |
| background: #1a2820;
| |
| }
| |
| .wiki-card.card-success:hover {
| |
| box-shadow: 0 22px 52px rgba(166, 227, 161, 0.2);
| |
| }
| |
| .wiki-card.card-success .wiki-card-title { color: #a6e3a1; }
| |
| .wiki-card.card-success .wiki-card-footer a { color: #a6e3a1; }
| |
| | |
| /* card-warning:黄色 */
| |
| .wiki-card.card-warning {
| |
| border-top-color: #f9e2af;
| |
| background: #272218;
| |
| }
| |
| .wiki-card.card-warning:hover {
| |
| box-shadow: 0 22px 52px rgba(249, 226, 175, 0.2);
| |
| }
| |
| .wiki-card.card-warning .wiki-card-title { color: #f9e2af; }
| |
| .wiki-card.card-warning .wiki-card-footer a { color: #f9e2af; }
| |
| | |
| /* card-danger:红色 */
| |
| .wiki-card.card-danger {
| |
| border-top-color: #f38ba8;
| |
| background: #271820;
| |
| }
| |
| .wiki-card.card-danger:hover {
| |
| box-shadow: 0 22px 52px rgba(243, 139, 168, 0.2);
| |
| }
| |
| .wiki-card.card-danger .wiki-card-title { color: #f38ba8; }
| |
| .wiki-card.card-danger .wiki-card-footer a { color: #f38ba8; }
| |
| | |
| /* card-info:灰色 */
| |
| .wiki-card.card-info {
| |
| border-top-color: #9399b2;
| |
| background: #222232;
| |
| }
| |
| .wiki-card.card-info:hover {
| |
| box-shadow: 0 22px 52px rgba(147, 153, 178, 0.18);
| |
| }
| |
| .wiki-card.card-info .wiki-card-title { color: #9399b2; }
| |
| .wiki-card.card-info .wiki-card-footer a { color: #9399b2; }
| |
| | |
| /* card-purple:紫色 */
| |
| .wiki-card.card-purple {
| |
| border-top-color: #cba6f7;
| |
| background: #221828;
| |
| }
| |
| .wiki-card.card-purple:hover {
| |
| box-shadow: 0 22px 52px rgba(203, 166, 247, 0.2);
| |
| }
| |
| .wiki-card.card-purple .wiki-card-title { color: #cba6f7; }
| |
| .wiki-card.card-purple .wiki-card-footer a { color: #cba6f7; }
| |
| | |
| | |
| /* ================================================
| |
| 多列布局
| |
| ================================================ */
| |
| | |
| .wiki-card-grid.col-2 .wiki-card {
| |
| flex: 0 0 calc(50% - 10px);
| |
| }
| |
| | |
| .wiki-card-grid.col-4 .wiki-card {
| |
| flex: 0 0 calc(25% - 15px);
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 响应式适配
| |
| ================================================ */
| |
| | |
| @media screen and (max-width: 860px) {
| |
| .wiki-card-grid.col-4 .wiki-card {
| |
| flex: 0 0 calc(50% - 10px);
| |
| }
| |
| }
| |
| | |
| @media screen and (max-width: 600px) {
| |
| .wiki-card,
| |
| .wiki-card-grid.col-2 .wiki-card,
| |
| .wiki-card-grid.col-4 .wiki-card {
| |
| flex: 0 0 100%;
| |
| min-width: unset;
| |
| }
| |
| }
| |
| | |
| | |
| | |
| /* ================================================时间轴模板系统 v4 暗色版- MediaWiki:Common.css
| |
| 单侧布局:轴线居左,所有事件在右侧
| |
| 支持模板:TL开始 / TL项目 / TL结束
| |
| TL项目组开始 / TL子项目 / TL项目组结束
| |
| ================================================ */
| |
| | |
| | |
| /* ---- 1. 容器 ---- */
| |
| .wiki-tl {position: relative;
| |
| margin: 24px auto;
| |
| padding: 10px 0 10px 50px;
| |
| max-width: 860px;
| |
| box-sizing: border-box;
| |
| overflow: hidden;
| |
| }
| |
| | |
| /* ---- 2. 左侧竖线(暗色:蓝紫色) ---- */
| |
| .wiki-tl::before {
| |
| content: '';
| |
| position: absolute;
| |
| left: 18px;
| |
| top: 0;
| |
| bottom: 0;
| |
| width: 3px;
| |
| background: #89b4fa;
| |
| opacity: 0.6;
| |
| }
| |
| | |
| /* ---- 3. 清除浮动 ---- */
| |
| .wiki-tl::after {
| |
| content: '';
| |
| display: block;
| |
| clear: both;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 条目基础样式(暗色)================================================ */
| |
| | |
| .wiki-tl-item {
| |
| position: relative;
| |
| width: 100%;
| |
| padding: 12px 16px;
| |
| background: #1e2030;
| |
| border: 1px solid #313244;
| |
| border-left: 3px solid #89b4fa;/* 左侧彩色强调线 */
| |
| border-radius: 6px;
| |
| margin-bottom: 22px;
| |
| box-sizing: border-box;
| |
| text-align: left;
| |
| float: none;
| |
| clear: none;
| |
| transition: transform 0.22s ease, box-shadow 0.22s ease;
| |
| }
| |
| | |
| /* ----悬停微动效 ---- */
| |
| .wiki-tl-item:hover {
| |
| transform: translateX(4px);
| |
| box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
| |
| }
| |
| | |
| /* ---- 覆盖旧版nth-child 双侧规则 ---- */
| |
| .wiki-tl-item:nth-child(odd),
| |
| .wiki-tl-item:nth-child(even) {
| |
| float: none;
| |
| clear: none;
| |
| left: auto;
| |
| width: 100%;
| |
| text-align: left;
| |
| }
| |
| | |
| /* ---- 圆点(对齐左侧轴线,暗色版)---- */
| |
| .wiki-tl-item::after {
| |
| content: '';
| |
| position: absolute;
| |
| top: 15px;
| |
| left: -38px;
| |
| right: auto;
| |
| width: 13px;
| |
| height: 13px;
| |
| background: #89b4fa;
| |
| border-radius: 50%;
| |
| border: 2px solid #181825; /* 暗色描边,与页面背景融合 */
| |
| z-index: 1;
| |
| }
| |
| | |
| /* ---- 同步覆盖旧版 nth-child 圆点定位 ---- */
| |
| .wiki-tl-item:nth-child(odd)::after,
| |
| .wiki-tl-item:nth-child(even)::after {
| |
| left: -40px;
| |
| right: auto;
| |
| }
| |
| | |
| /* ---- 日期标签 ---- */
| |
| .wiki-tl-date {
| |
| font-weight: bold;
| |
| color: #89b4fa;
| |
| font-size: 1em;
| |
| margin-bottom: 6px;
| |
| }
| |
| | |
| /* ---- 事件内容 ---- */
| |
| .wiki-tl-content {
| |
| color: #a6adc8;
| |
| font-size: 0.93em;
| |
| line-height: 1.68;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 条目颜色类型(暗色系)
| |
| ================================================ */
| |
| | |
| /* tl-highlight:重要 /黄色 */
| |
| .wiki-tl-item.tl-highlight {
| |
| background: #272218;
| |
| border-color: #414030;
| |
| border-left-color: #f9e2af;
| |
| }
| |
| .wiki-tl-item.tl-highlight:hover {
| |
| box-shadow: 0 6px 24px rgba(249, 226, 175, 0.15);
| |
| }
| |
| .wiki-tl-item.tl-highlight .wiki-tl-date { color: #f9e2af; }
| |
| .wiki-tl-item.tl-highlight::after { background: #f9e2af; }
| |
| | |
| /* tl-success:成功 / 绿色 */
| |
| .wiki-tl-item.tl-success {
| |
| background: #1a2820;
| |
| border-color: #2a3e30;
| |
| border-left-color: #a6e3a1;
| |
| }
| |
| .wiki-tl-item.tl-success:hover {
| |
| box-shadow: 0 6px 24px rgba(166, 227, 161, 0.15);
| |
| }
| |
| .wiki-tl-item.tl-success .wiki-tl-date { color: #a6e3a1; }
| |
| .wiki-tl-item.tl-success::after { background: #a6e3a1; }
| |
| | |
| /* tl-danger:警示 / 红色 */
| |
| .wiki-tl-item.tl-danger {
| |
| background: #271820;
| |
| border-color: #3e2830;
| |
| border-left-color: #f38ba8;
| |
| }
| |
| .wiki-tl-item.tl-danger:hover {
| |
| box-shadow: 0 6px 24px rgba(243, 139, 168, 0.15);
| |
| }
| |
| .wiki-tl-item.tl-danger .wiki-tl-date { color: #f38ba8; }
| |
| .wiki-tl-item.tl-danger::after { background: #f38ba8; }
| |
| | |
| /* tl-info:说明 / 灰色 */
| |
| .wiki-tl-item.tl-info {
| |
| background: #222232;
| |
| border-color: #35354a;
| |
| border-left-color: #9399b2;
| |
| }
| |
| .wiki-tl-item.tl-info:hover {
| |
| box-shadow: 0 6px 24px rgba(147, 153, 178, 0.15);
| |
| }
| |
| .wiki-tl-item.tl-info .wiki-tl-date { color: #9399b2; }
| |
| .wiki-tl-item.tl-info::after { background: #9399b2; }
| |
| | |
| | |
| /* ================================================
| |
| 分组多事件扩展样式(暗色)
| |
| ================================================ */
| |
| | |
| /* 分组日期标题底线 */
| |
| .wiki-tl-group .wiki-tl-date {
| |
| margin-bottom: 10px;
| |
| padding-bottom: 8px;
| |
| border-bottom: 1px solid #313244;
| |
| }
| |
| | |
| /* 子事件列表容器 */
| |
| .wiki-tl-group-body {
| |
| display: flex;
| |
| flex-direction: column;
| |
| gap: 8px;
| |
| }
| |
| | |
| /* 单个子事件(暗色) */
| |
| .wiki-tl-subitem {
| |
| padding: 7px 12px;
| |
| border-left: 3px solid #89b4fa;
| |
| background: #181825;
| |
| border-radius: 4px;
| |
| text-align: left;
| |
| }
| |
| | |
| /* 子事件标签徽章(暗色) */
| |
| .wiki-tl-sub-tag {
| |
| display: inline-block;
| |
| font-size: 0.78em;
| |
| font-weight: bold;
| |
| background: #89b4fa;
| |
| color: #1e1e2e; /* 暗色文字保证可读性 */
| |
| padding: 1px 8px;
| |
| border-radius: 10px;
| |
| margin-bottom: 4px;
| |
| }
| |
| | |
| /* 标签为空时自动隐藏 */
| |
| .wiki-tl-sub-tag:empty { display: none; }
| |
| | |
| /* ---- 子事件类型颜色(暗色)---- */
| |
| | |
| .wiki-tl-subitem.tl-highlight {
| |
| border-left-color: #f9e2af;
| |
| background: #232018;
| |
| }
| |
| .wiki-tl-subitem.tl-highlight .wiki-tl-sub-tag {
| |
| background: #f9e2af;
| |
| color: #1e1e2e;
| |
| }
| |
| | |
| .wiki-tl-subitem.tl-success {
| |
| border-left-color: #a6e3a1;
| |
| background: #182018;
| |
| }
| |
| .wiki-tl-subitem.tl-success .wiki-tl-sub-tag {
| |
| background: #a6e3a1;
| |
| color: #1e1e2e;
| |
| }
| |
| | |
| .wiki-tl-subitem.tl-danger {
| |
| border-left-color: #f38ba8;
| |
| background: #231820;
| |
| }
| |
| .wiki-tl-subitem.tl-danger .wiki-tl-sub-tag {
| |
| background: #f38ba8;
| |
| color: #1e1e2e;
| |
| }
| |
| | |
| .wiki-tl-subitem.tl-info {
| |
| border-left-color: #9399b2;
| |
| background: #202028;
| |
| }
| |
| .wiki-tl-subitem.tl-info .wiki-tl-sub-tag {
| |
| background: #9399b2;
| |
| color: #1e1e2e;
| |
| }
| |
| | |
| /* ---- 子事件正文---- */
| |
| .wiki-tl-subitem .wiki-tl-content {
| |
| color: #a6adc8;
| |
| }
| |
| | |
| | |
| /* ================================================
| |
| 移动端响应式适配
| |
| ================================================ */
| |
| | |
| @media screen and (max-width: 600px) {
| |
| .wiki-tl {
| |
| padding-left: 36px;
| |
| }
| |
| .wiki-tl::before {
| |
| left: 12px;
| |
| }
| |
| .wiki-tl-item::after,
| |
| .wiki-tl-item:nth-child(odd)::after,
| |
| .wiki-tl-item:nth-child(even)::after {
| |
| left: -28px;
| |
| }
| |
| }
| |