MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>ENunn No edit summary |
imported>Hb1290 (Created page with "→CSS placed here will be applied to all skins: →Reset top margin for lists embedded in columns: div.columns { margin-top: 0.3em; } div.columns dl, div.columns ol, div...") |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /* Reset top margin for lists embedded in columns */ | ||
. | div.columns { | ||
margin-top: 0.3em; | |||
} | } | ||
. | div.columns dl, | ||
div.columns ol, | |||
div.columns ul { | |||
margin-top: 0; | |||
. | |||
. | |||
} | } | ||
. | /* Avoid elements breaking between columns */ | ||
. | .nocolbreak, | ||
div.columns li, | |||
div.columns dd dd { | |||
-webkit-column-break-inside: avoid; | |||
page-break-inside: avoid; | |||
break-inside: avoid-column; | |||
} | } | ||
Revision as of 03:56, 10 June 2020
/* CSS placed here will be applied to all skins */
/* Reset top margin for lists embedded in columns */
div.columns {
margin-top: 0.3em;
}
div.columns dl,
div.columns ol,
div.columns ul {
margin-top: 0;
}
/* Avoid elements breaking between columns */
.nocolbreak,
div.columns li,
div.columns dd dd {
-webkit-column-break-inside: avoid;
page-break-inside: avoid;
break-inside: avoid-column;
}