More actions
Futureself (talk | contribs) Created page with "→CSS placed here will be applied to all skins: .two-column-list { -webkit-columns: 2; →For older Safari/Chrome: -moz-columns: 2; →For older Firefox: columns: 2; →Modern browsers: column-gap: 1.5em; →Spacing between columns: margin: 0; padding: 0; } .two-column-list ul, .two-column-list ol { margin: 0; padding: 0; } .two-column-list li { margin-bottom: 0.5em; →Optional: spacing between list items: }" |
Futureself (talk | contribs) No edit summary Tag: Manual revert |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
.two-column- | .two-column-manual { | ||
display: flex; /* Use flex to place columns side by side */ | |||
- | flex-wrap: wrap; /* Allows wrapping on smaller screens */ | ||
gap: 1.5em; /* Space between columns */ | |||
align-items: flex-start; | |||
margin: 1em 0; | |||
} | } | ||
.two-column- | .two-column-manual > div { | ||
flex: 1 1 0; | |||
min-width: 250px; /* Optional: prevent columns from becoming too narrow */ | |||
} | } | ||
Latest revision as of 17:30, 19 April 2025
/* CSS placed here will be applied to all skins */
.two-column-manual {
display: flex; /* Use flex to place columns side by side */
flex-wrap: wrap; /* Allows wrapping on smaller screens */
gap: 1.5em; /* Space between columns */
align-items: flex-start;
margin: 1em 0;
}
.two-column-manual > div {
flex: 1 1 0;
min-width: 250px; /* Optional: prevent columns from becoming too narrow */
}