Content deleted Content added
use display flow-root to force a new Block formatting context |
Override font-size for embedded side boxes. Non-embedded Template:Side box gets `font-size: 88%;` from Module:Side box/styles.css#L-6; an embedded Template:Side box (usually through the module) gets the same 88% plus another 88% from class .infobox at MediaWiki:Common.css (to be migrated to Module:Infobox/styles.css). 0.88*0.88=0.7744, which is less than 85% from the guideline MOS:FONTSIZE. See also Special:Diff/1290232777 |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 6:
font-size: 88%;
line-height: 1.25em;
background-color: var(--background-color-interactive-subtle, #
display: flow-root;
}
/* embedded side boxes need larger font */
.infobox .side-box {
font-size: 100%;
}
Line 36 ⟶ 40:
.side-box-text {
flex: 1;
min-width: 0;
}
}
|