User:弃权者/Template:折叠章节/styles.css:修订间差异
来自OGAS数据中枢
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
.citizen-fold | .citizen-section-fold { | ||
margin: 1.5em 0; | |||
width: 100%; | |||
margin: | |||
} | } | ||
.citizen- | .citizen-section-header { | ||
position: relative; | |||
display: flex; | display: flex; | ||
align-items: center; | align-items: center; | ||
margin: 0 0 0.5em 0; | |||
padding: 0. | padding: 0.25em 0; | ||
border-bottom: 1px solid var(--border-color-base, #eaecf0); | |||
} | } | ||
.citizen- | .citizen-section-header:hover { | ||
background-color: var(--background-color-neutral-subtle, | background-color: var(--background-color-neutral-subtle, rgba(0, 0, 0, 0.02)); | ||
} | } | ||
.citizen- | .citizen-section-header::before { | ||
content: ""; | content: ""; | ||
display: inline-block; | display: inline-block; | ||
width: | margin-right: 0.5em; | ||
height: | width: 8px; | ||
border-right: | height: 8px; | ||
border-bottom: | border-right: 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; | |||
} | } | ||
.citizen-fold | .citizen-section-fold.mw-collapsed .citizen-section-header::before { | ||
transform: rotate(-45deg); | transform: rotate(-45deg); | ||
} | } | ||
.citizen- | .citizen-section-header .mw-collapsible-toggle { | ||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | width: 100%; | ||
height: 100%; | |||
cursor: pointer; | |||
text-indent: -9999px; | |||
overflow: hidden; | |||
float: none !important; | |||
} | } | ||
.citizen- | .citizen-section-content { | ||
padding: 0.5em 0.1em; | |||
overflow-x: auto; | |||
} | } | ||
.citizen- | .citizen-section-content table.wikitable { | ||
width: 100%; | |||
margin: 0; | margin: 0; | ||
} | } | ||
2026年5月16日 (六) 12:04的版本
.citizen-section-fold {
margin: 1.5em 0;
width: 100%;
}
.citizen-section-header {
position: relative;
display: flex;
align-items: center;
margin: 0 0 0.5em 0;
padding: 0.25em 0;
border-bottom: 1px solid var(--border-color-base, #eaecf0);
}
.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-toggle {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
cursor: pointer;
text-indent: -9999px;
overflow: hidden;
float: none !important;
}
.citizen-section-content {
padding: 0.5em 0.1em;
overflow-x: auto;
}
.citizen-section-content table.wikitable {
width: 100%;
margin: 0;
}