Template:Collapse/styles.css: Difference between revisions
Template page
More actions
Fix `font‑size` of `.tpl‑collapsible‑header > .mw‑collapsible‑toggle` |
Match {{collapse top}}’s `font‑size` of `.tpl‑collapsible‑header` |
||
| Line 12: | Line 12: | ||
padding: 0.2em 0.3em; | padding: 0.2em 0.3em; | ||
text-align: center; | text-align: center; | ||
font-size: 87%; | |||
} | } | ||
| Line 18: | Line 19: | ||
} | } | ||
.tpl-collapsible .tpl-collapsible-header > . | .tpl-collapsible .tpl-collapsible-header > .tpl-collapsible-header-text { | ||
font-size: 87 | font-size: 1.15%; | ||
font-size: calc(100% / 0.87); | |||
} | } | ||
Revision as of 23:11, 3 August 2021
.tpl-collapsible {
text-align: left;
border: 1px solid Silver;
margin: 0.2em auto auto;
width: 100%;
clear: both;
padding: 1px;
}
.tpl-collapsible .tpl-collapsible-header {
background: #CFC;
padding: 0.2em 0.3em;
text-align: center;
font-size: 87%;
}
body.ns-0 .tpl-collapsible .tpl-collapsible-header {
background: #EEF;
}
.tpl-collapsible .tpl-collapsible-header > .tpl-collapsible-header-text {
font-size: 1.15%;
font-size: calc(100% / 0.87);
}
.tpl-collapsible .tpl-collapsible-warning {
text-align: center;
font-style: italic;
}
.tpl-collapsible .tpl-collapsible-content {
border: 1px solid Silver;
padding: 0.6em;
background: White;
}