MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 9: | Line 9: | ||
div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: initial !important; } | div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: initial !important; } | ||
/* {{pp|small=yes}} */ | |||
.div-col { | |||
margin-top: 0.3em; | |||
column-width: 30em; | |||
} | |||
.div-col-rules { | |||
column-rule: 1px solid #aaa; | |||
} | |||
/* Reset top margin for lists in div col */ | |||
.div-col dl, | |||
.div-col ol, | |||
.div-col ul { | |||
margin-top: 0; | |||
} | |||
/* Avoid elements breaking between columns | |||
See also Template:No col break */ | |||
.div-col li, | |||
.div-col dd { | |||
page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */ | |||
break-inside: avoid-column; | |||
} |
Revision as of 10:39, 21 February 2024
/* CSS placed here will be applied to all skins */ .fullwidth img{ width: 50%; height: auto; } div.gallerytext > p { font-size: 1px !important; color: transparent !important; line-height: 1% !important } div.gallerytext > p a { font-size: initial !important; line-height: initial !important; color: initial !important; } /* {{pp|small=yes}} */ .div-col { margin-top: 0.3em; column-width: 30em; } .div-col-rules { column-rule: 1px solid #aaa; } /* Reset top margin for lists in div col */ .div-col dl, .div-col ol, .div-col ul { margin-top: 0; } /* Avoid elements breaking between columns See also Template:No col break */ .div-col li, .div-col dd { page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */ break-inside: avoid-column; }