MediaWiki:Common.css: Difference between revisions
m Prevent floating page tool overlap |
Fix caption collapsible header layout |
||
| Line 215: | Line 215: | ||
padding: 0.2rem 0.55rem; | padding: 0.2rem 0.55rem; | ||
} | } | ||
} | |||
/* Keep caption-based collapsible section tables readable while collapsed. */ | |||
.mw-parser-output table.muhro-caption-collapsible { | |||
width: 100%; | |||
} | |||
.mw-parser-output table.muhro-caption-collapsible > caption { | |||
box-sizing: border-box; | |||
min-width: 100%; | |||
position: relative; | |||
padding-right: 4.5rem !important; | |||
} | |||
.mw-parser-output table.muhro-caption-collapsible > caption > .muhro-early-toggle { | |||
float: none; | |||
position: absolute; | |||
right: 0; | |||
top: 50%; | |||
transform: translateY(-50%); | |||
white-space: nowrap; | |||
} | } | ||