MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
No edit summary Tag: Manual revert |
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 { | ||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
gap: 0.35em; | |||
width: 100%; | |||
color: var(--wiz-heading, #e7e1d4); | color: var(--wiz-heading, #e7e1d4); | ||
font-weight: bold; | font-weight: bold; | ||
text-align: center; | text-align: center; | ||
white-space: nowrap; | |||
cursor: pointer; | |||
} | |||
.wikitable.wizlords-example-table.mw-collapsed caption::before, | |||
.wizlords-example-table.mw-collapsed caption::before { | |||
content: "⌄"; | |||
font-size: 0.9em; | |||
line-height: 1; | |||
} | |||
.wikitable.wizlords-example-table:not(.mw-collapsed) caption::before, | |||
.wizlords-example-table:not(.mw-collapsed) caption::before { | |||
content: "⌃"; | |||
font-size: 0.9em; | |||
line-height: 1; | |||
} | } | ||
.wikitable.wizlords-example-table caption .mw-collapsible-toggle, | .wikitable.wizlords-example-table caption .mw-collapsible-toggle, | ||
.wizlords-example-table caption .mw-collapsible-toggle { | .wizlords-example-table caption .mw-collapsible-toggle { | ||
display: none !important; | |||
} | } | ||
| Line 1,491: | Line 1,505: | ||
.wizlords-example-table td { | .wizlords-example-table td { | ||
text-align: center; | text-align: center; | ||
} | |||
@media (max-width: 899px) { | |||
.wikitable.wizlords-example-table, | |||
.wizlords-example-table { | |||
min-width: 0; | |||
width: 100%; | |||
max-width: 680px; | |||
margin: 14px auto 18px; | |||
border-radius: 0; | |||
} | |||
.wikitable.wizlords-example-table.mw-collapsed, | |||
.wizlords-example-table.mw-collapsed { | |||
border: 0 !important; | |||
background: transparent !important; | |||
} | |||
.wikitable.wizlords-example-table caption, | |||
.wizlords-example-table caption { | |||
padding: 0; | |||
} | |||
} | } | ||