MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary |
No edit summary |
||
| Line 1,469: | Line 1,469: | ||
.wikitable.wizlords-example-table caption, | .wikitable.wizlords-example-table caption, | ||
.wizlords-example-table caption { | .wizlords-example-table caption { | ||
color: var(--wiz-heading, #e7e1d4); | color: var(--wiz-heading, #e7e1d4); | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
} | } | ||
.wikitable.wizlords-example-table.mw- | .wikitable.wizlords-example-table caption .mw-collapsible-toggle, | ||
.wizlords-example-table.mw- | .wizlords-example-table caption .mw-collapsible-toggle { | ||
color: var(--wiz-text, #d2d2d2) !important; | |||
} | } | ||
.wikitable.wizlords-example-table | .wikitable.wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text, | ||
.wizlords-example-table | .wizlords-example-table caption .mw-collapsible-toggle .mw-collapsible-text, | ||
.wikitable.wizlords-example-table caption .mw-collapsible-toggle a, | |||
.wizlords-example-table caption .mw-collapsible-toggle a { | |||
color: var(--wiz-link, #ff942d) !important; | |||
.wikitable.wizlords-example-table caption .mw-collapsible-toggle, | |||
.wizlords-example-table caption .mw-collapsible-toggle { | |||
} | } | ||
| Line 1,525: | Line 1,511: | ||
.wikitable.wizlords-example-table caption, | .wikitable.wizlords-example-table caption, | ||
.wizlords-example-table caption { | .wizlords-example-table caption { | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.35em; | |||
width: 100%; | |||
padding: 0; | padding: 0; | ||
white-space: nowrap; | |||
cursor: pointer; | |||
} | |||
.wikitable.wizlords-example-table.mw-collapsed caption::before, | |||
.wizlords-example-table.mw-collapsed caption::before { | |||
content: ""; | |||
display: block; | |||
width: 8px; | |||
height: 8px; | |||
border-right: 2px solid currentColor; | |||
border-bottom: 2px solid currentColor; | |||
transform: translateY(-15%) rotate(45deg); | |||
transform-origin: 50% 50%; | |||
} | |||
.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before, | |||
.wizlords-example-table:not(.mw-collapsed) caption::before { | |||
content: ""; | |||
display: block; | |||
width: 8px; | |||
height: 8px; | |||
border-right: 2px solid currentColor; | |||
border-bottom: 2px solid currentColor; | |||
transform: translateY(15%) rotate(225deg); | |||
transform-origin: 50% 50%; | |||
} | |||
.wikitable.wizlords-example-table caption .mw-collapsible-toggle, | |||
.wizlords-example-table caption .mw-collapsible-toggle { | |||
display: none !important; | |||
} | } | ||
} | } | ||