User:弃权者/Template:折叠章节/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第2行: | 第2行: | ||
margin: 1.5em 0; | margin: 1.5em 0; | ||
width: 100%; | width: 100%; | ||
} | |||
.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; | |||
} | } | ||
| 第12行: | 第22行: | ||
cursor: pointer; | cursor: pointer; | ||
user-select: none; | user-select: none; | ||
float: none !important; | |||
} | } | ||
| 第35行: | 第46行: | ||
} | } | ||
.citizen-section-header .mw-collapsible- | .citizen-section-header .mw-collapsible-text { | ||
font-size: unset !important; | |||
font-weight: unset !important; | |||
color: unset !important; | |||
} | } | ||
2026年5月16日 (六) 12:08的版本
.citizen-section-fold {
margin: 1.5em 0;
width: 100%;
}
.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 {
display: flex !important;
align-items: center;
margin: 0 0 0.5em 0;
padding: 0.25em 0;
border-bottom: 1px solid var(--border-color-base, #eaecf0);
cursor: pointer;
user-select: none;
float: none !important;
}
.citizen-section-header:hover {
background-color: var(--background-color-neutral-subtle, rgba(0, 0, 0, 0.02));
}
.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-header .mw-collapsible-text {
font-size: unset !important;
font-weight: unset !important;
color: unset !important;
}
.citizen-section-content {
padding: 0.5em 0.1em;
overflow-x: auto;
}
.citizen-section-content table.wikitable {
width: 100%;
margin: 0;
}