User:弃权者/Template:折叠章节/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
小 弃权者移动页面User:弃权者/Template:折叠/styles.css至User:弃权者/Template:折叠章节/styles.css,不留重定向 |
||
| (未显示同一用户的5个中间版本) | |||
| 第2行: | 第2行: | ||
margin: 1.5em 0; | margin: 1.5em 0; | ||
width: 100%; | width: 100%; | ||
} | |||
.citizen-section-title { | |||
font-size: var(--font-size-heading-2, 1.5em); | |||
font-weight: var(--font-weight-heading, 600); | |||
} | |||
.citizen-section-fold h2.citizen-hidden-headline { | |||
position: absolute !important; | |||
clip: rect(1px, 1px, 1px, 1px); | |||
padding: 0 !important; | |||
border: 0 !important; | |||
height: 1px !important; | |||
width: 1px !important; | |||
overflow: hidden; | |||
} | } | ||
.citizen-section-header { | .citizen-section-header { | ||
display: flex; | position: relative; | ||
display: flex !important; | |||
align-items: center; | align-items: center; | ||
margin: 0 0 0.5em 0; | margin: 0 0 0.5em 0; | ||
padding: 0.25em 0; | padding: 0.25em 0.5em; | ||
border-bottom: 1px solid var(--border-color-base, #eaecf0); | border-bottom: 1px solid var(--border-color-base, #eaecf0); | ||
user-select: none; | user-select: none; | ||
float: none !important; | |||
cursor: pointer; /* ← 整行可点击 */ | |||
text-decoration: none; | |||
} | } | ||
.citizen-section-header:hover { | .citizen-section-header:hover { | ||
background-color: var(--background-color-neutral-subtle, rgba(0, 0, 0, 0. | background-color: var(--background-color-neutral-subtle, rgba(0, 0, 0, 0.04)); | ||
} | } | ||
/* 箭头指示器 */ | |||
.citizen-section-header::before { | .citizen-section-header::before { | ||
content: ""; | content: ""; | ||
| 第26行: | 第45行: | ||
border-right: 3px solid var(--color-base-weak, #72777d); | border-right: 3px solid var(--color-base-weak, #72777d); | ||
border-bottom: 3px solid var(--color-base-weak, #72777d); | border-bottom: 3px solid var(--color-base-weak, #72777d); | ||
transform: rotate(45deg); | transform: rotate(45deg); /* 展开时向下 */ | ||
transition: transform 0.2s ease; | transition: transform 0.2s ease; | ||
flex-shrink: 0; | flex-shrink: 0; | ||
| 第32行: | 第51行: | ||
.citizen-section-fold.mw-collapsed .citizen-section-header::before { | .citizen-section-fold.mw-collapsed .citizen-section-header::before { | ||
transform: rotate(-45deg); | transform: rotate(-45deg); /* 折叠时向右 */ | ||
} | } | ||
2026年5月16日 (六) 15:26的最新版本
.citizen-section-fold {
margin: 1.5em 0;
width: 100%;
}
.citizen-section-title {
font-size: var(--font-size-heading-2, 1.5em);
font-weight: var(--font-weight-heading, 600);
}
.citizen-section-fold h2.citizen-hidden-headline {
position: absolute !important;
clip: rect(1px, 1px, 1px, 1px);
padding: 0 !important;
border: 0 !important;
height: 1px !important;
width: 1px !important;
overflow: hidden;
}
.citizen-section-header {
position: relative;
display: flex !important;
align-items: center;
margin: 0 0 0.5em 0;
padding: 0.25em 0.5em;
border-bottom: 1px solid var(--border-color-base, #eaecf0);
user-select: none;
float: none !important;
cursor: pointer; /* ← 整行可点击 */
text-decoration: none;
}
.citizen-section-header:hover {
background-color: var(--background-color-neutral-subtle, rgba(0, 0, 0, 0.04));
}
/* 箭头指示器 */
.citizen-section-header::before {
content: "";
display: inline-block;
margin-right: 0.5em;
width: 8px;
height: 8px;
border-right: 3px solid var(--color-base-weak, #72777d);
border-bottom: 3px solid var(--color-base-weak, #72777d);
transform: rotate(45deg); /* 展开时向下 */
transition: transform 0.2s ease;
flex-shrink: 0;
}
.citizen-section-fold.mw-collapsed .citizen-section-header::before {
transform: rotate(-45deg); /* 折叠时向右 */
}
.citizen-section-content {
padding: 0.5em 0.1em;
overflow-x: auto;
}
.citizen-section-content table.wikitable {
width: 100%;
margin: 0;
}