MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| Line 2,709: | Line 2,709: | ||
.ooo-v2 .ooo-v2-level-details { | .ooo-v2 .ooo-v2-level-details { | ||
padding: 12px 16px; | padding: 12px 16px; | ||
} | |||
/* V2 LEVEL CARDS - REMOVE MEDIAWIKI SPACING */ | |||
.ooo-v2 .ooo-v2-level-list { | |||
display: flex !important; | |||
flex-direction: column !important; | |||
gap: 6px !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
.ooo-v2 .ooo-v2-level-list > .ooo-v2-level-card { | |||
margin: 0 !important; | |||
} | |||
/* Hide empty paragraphs inserted by MediaWiki */ | |||
.ooo-v2 .ooo-v2-level-list > p:empty { | |||
display: none !important; | |||
} | |||
/* Hide unwanted line breaks between cards */ | |||
.ooo-v2 .ooo-v2-level-list > br { | |||
display: none !important; | |||
} | |||
/* Prevent extra margins on card wrappers */ | |||
.ooo-v2 .ooo-v2-level-list > p { | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | } | ||