这是测试站点!!!!
不要保存重要内容!不要保存重要内容!不要保存重要内容!不要保存重要内容!不要保存重要内容!
模板:某不知名鸽子/common.css:修订间差异
来自Limbo Wiki
小无编辑摘要 标签:(旧)WikiEditor |
小无编辑摘要 标签:(旧)WikiEditor |
||
| 第184行: | 第184行: | ||
.mw-parser-output a.new:hover { color: #c96b6b; } | .mw-parser-output a.new:hover { color: #c96b6b; } | ||
.mw-parser-output a.new:visited:hover { color: #c2955c; } | .mw-parser-output a.new:visited:hover { color: #c2955c; } | ||
/* ===== 表格整体:边框 + 底色 ===== */ | |||
.mw-parser-output table.wikitable { | |||
background: #f8f9fa; | |||
border: 1px solid #c8ccd1; | |||
border-collapse: collapse; | |||
margin: 1em 0; | |||
font-size: 0.95em; | |||
} | |||
/* 单元格边框 */ | |||
.mw-parser-output table.wikitable > tr > th, | |||
.mw-parser-output table.wikitable > tr > td, | |||
.mw-parser-output table.wikitable > * > tr > th, | |||
.mw-parser-output table.wikitable > * > tr > td { | |||
border: 1px solid #d5d9e0; | |||
padding: 0.45em 0.75em; | |||
vertical-align: top; | |||
} | |||
/* ===== 表头:灰底 + 黑色字 + 左侧深色竖条 ===== */ | |||
.mw-parser-output table.wikitable > tr > th, | |||
.mw-parser-output table.wikitable > * > tr > th { | |||
background: #e4e7eb; | |||
color: #1b1b1f; | |||
font-weight: bold; | |||
text-align: left; | |||
border-left: 4px solid #54595d; | |||
} | |||
/* 第一列表头左侧竖条不要重复(避免双线) */ | |||
.mw-parser-output table.wikitable > tr > th:first-child, | |||
.mw-parser-output table.wikitable > * > tr > th:first-child { | |||
border-left: 1px solid #d5d9e0; | |||
} | |||
/* 行悬停轻微高亮 */ | |||
.mw-parser-output table.wikitable > tr:hover > td, | |||
.mw-parser-output table.wikitable > * > tr:hover > td { | |||
background: #eef1f4; | |||
} | |||
/* ===== 可折叠表格的 [展开]/[折叠] 按钮 ===== */ | |||
.mw-parser-output .mw-collapsible-toggle { | |||
background: #3c4043; | |||
color: #ffffff; | |||
border-radius: 4px; | |||
padding: 0.1em 0.6em; | |||
font-size: 0.85em; | |||
font-weight: bold; | |||
cursor: pointer; | |||
} | |||
.mw-parser-output .mw-collapsible-toggle a, | |||
.mw-parser-output .mw-collapsible-toggle a:visited, | |||
.mw-parser-output .mw-collapsible-toggle a:hover { | |||
color: #ffffff; | |||
text-decoration: none; | |||
} | |||
/* 折叠表格本身的表头也跟随灰底黑字 */ | |||
.mw-parser-output .mw-collapsible th { | |||
background: #e4e7eb; | |||
color: #1b1b1f; | |||
} | |||
2026年9月30日 (三) 10:44的版本
/* ===== 二级标题 ===== */
.mw-parser-output h2 {
font-size: 1.5em;
font-weight: bold;
margin: 1.2em 0 0.6em;
padding-bottom: 0.25em;
border-bottom:0px solid #000;
}
.mw-parser-output h2::before {
content: "";
display: inline-block;
width: 0.22em;
height: 1em;
margin-right: 0.4em;
background: #444444;
border-radius: 0em;
vertical-align: -0.12em;
}
/* ===== 三级标题 ===== */
.mw-parser-output h3 {
font-size: 1.3em;
font-weight: bold;
color: #202122;
margin: 1.2em 0 0.6em;
padding-bottom: 0.25em;
border-bottom: 1px solid #eaecf0;
}
.mw-parser-output h3::before {
content: "";
display: inline-block;
width: 0.22em;
height: 1em;
margin-right: 0.4em;
background: #444444;
border-radius: 0em;
vertical-align: -0.12em;
}
/* ===== 四级标题 ===== */
.mw-parser-output h4 {
font-size: 1.1em;
font-weight: bold;
color: #202122;
margin: 1.2em 0 0.6em;
padding-bottom: 0.25em;
border-bottom: 1px solid #eaecf0;
}
.mw-parser-output h4::before {
content: "";
display: inline-block;
width: 0.22em;
height: 1em;
margin-right: 0.4em;
background: #444444;
border-radius: 0em;
vertical-align: -0.12em;
}
/* ===== 5级标题 ===== */
.mw-parser-output h5 {
font-size: 1.0em;
font-weight: bold;
color: #202122;
margin: 1.2em 0 0.6em;
padding-bottom: 0.25em;
border-bottom: 1px solid #eaecf0;
}
.mw-parser-output h5::before {
content: "";
display: inline-block;
width: 0.22em;
height: 1em;
margin-right: 0.4em;
background: #444444;
border-radius: 0em;
vertical-align: -0.12em;
}
pre {
border-top: none;
border-right: none;
border-bottom: none;
border-left: 4px solid #666666;
padding: 10px 10px;
margin: 10px 10px;
background: #f3f3f3;
}
blockquote {
border-left:4px solid #666666;
padding:10px 10px;
margin:10px 10px;
background:#f3f3f3;
position: relative;
}
blockquote::after {
content: "";
position: absolute;
right: 0;
bottom: 0;
width: 0;
height: 0;
border-bottom: 22px solid #eeeeee;
border-left: 22px solid transparent;
}
code {
border-color:#EEEEEE;
background-color:#F3F3F3
}
.mw-parser-output hr,
hr {
height: 5px;
border: none;
margin: 1em 0;
background: repeating-linear-gradient(
45deg,
#dedede 0,
#dedede 5px,
transparent 5px,
transparent 10px
);
}
/* ===== ul 列表符号改成方块 ===== */
.mw-parser-output ul {
list-style: none;
}
.mw-parser-output ul > li::before {
content: "";
display: inline-block;
width: 0.5em;
height: 0.5em;
margin-right: 0.5em;
margin-left: -1em;
background: #666666;
vertical-align: 0.05em;
}
/* ===== 有序列表:方块 + 右下角白色数字 ===== */
.mw-parser-output ol {
list-style: none;
counter-reset: olblock;
}
.mw-parser-output ol > li {
counter-increment: olblock;
}
.mw-parser-output ol > li::before {
content: counter(olblock);
display: inline-block;
box-sizing: border-box;
width: 1em;
height: 1em;
margin-left: -2.4em;
margin-right: 0.75em;
background: #666666;
color: #fff;
font-size: 0.6em;
font-weight: bold;
line-height: 1.7em; /* 数字往下压 */
text-align: right; /* 数字靠右 */
padding-right: 0.15em;
border-radius: 0em;
vertical-align: 0.12em;
}
/* ===== 蓝链(页面存在)===== */
.mw-parser-output a:link { color: #5b6c9e; } /* 低饱和靛蓝 */
.mw-parser-output a:visited { color: #837a9e; } /* 已访问 → 低饱和灰紫 */
/* ===== 红链(页面不存在)===== */
.mw-parser-output a.new,
.mw-parser-output a.new:link { color: #b05a5a; } /* 低饱和红 */
.mw-parser-output a.new:visited { color: #b0854f; } /* 已访问 → 低饱和土橘 */
/* ===== 悬停:稍微亮一点 ===== */
.mw-parser-output a:hover { color: #6b7cb8; }
.mw-parser-output a:visited:hover { color: #9388b0; }
.mw-parser-output a.new:hover { color: #c96b6b; }
.mw-parser-output a.new:visited:hover { color: #c2955c; }
/* ===== 表格整体:边框 + 底色 ===== */
.mw-parser-output table.wikitable {
background: #f8f9fa;
border: 1px solid #c8ccd1;
border-collapse: collapse;
margin: 1em 0;
font-size: 0.95em;
}
/* 单元格边框 */
.mw-parser-output table.wikitable > tr > th,
.mw-parser-output table.wikitable > tr > td,
.mw-parser-output table.wikitable > * > tr > th,
.mw-parser-output table.wikitable > * > tr > td {
border: 1px solid #d5d9e0;
padding: 0.45em 0.75em;
vertical-align: top;
}
/* ===== 表头:灰底 + 黑色字 + 左侧深色竖条 ===== */
.mw-parser-output table.wikitable > tr > th,
.mw-parser-output table.wikitable > * > tr > th {
background: #e4e7eb;
color: #1b1b1f;
font-weight: bold;
text-align: left;
border-left: 4px solid #54595d;
}
/* 第一列表头左侧竖条不要重复(避免双线) */
.mw-parser-output table.wikitable > tr > th:first-child,
.mw-parser-output table.wikitable > * > tr > th:first-child {
border-left: 1px solid #d5d9e0;
}
/* 行悬停轻微高亮 */
.mw-parser-output table.wikitable > tr:hover > td,
.mw-parser-output table.wikitable > * > tr:hover > td {
background: #eef1f4;
}
/* ===== 可折叠表格的 [展开]/[折叠] 按钮 ===== */
.mw-parser-output .mw-collapsible-toggle {
background: #3c4043;
color: #ffffff;
border-radius: 4px;
padding: 0.1em 0.6em;
font-size: 0.85em;
font-weight: bold;
cursor: pointer;
}
.mw-parser-output .mw-collapsible-toggle a,
.mw-parser-output .mw-collapsible-toggle a:visited,
.mw-parser-output .mw-collapsible-toggle a:hover {
color: #ffffff;
text-decoration: none;
}
/* 折叠表格本身的表头也跟随灰底黑字 */
.mw-parser-output .mw-collapsible th {
background: #e4e7eb;
color: #1b1b1f;
}
