MediaWiki:Common.css: Difference between revisions
From The Radical Buddhism Project
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
} | } | ||
/* | /* Mobile view: Force single column for all reference elements */ | ||
.mw-references-wrap, | |||
ol.references, | |||
.references { | |||
column-count: 1 !important; | |||
column-width: auto !important; | |||
} | } | ||
/* | /* Tablet & Desktop view: Force exactly 2 columns for all reference elements */ | ||
@media screen and (min-width: 768px) { | @media screen and (min-width: 768px) { | ||
ol.references { | .mw-references-wrap, | ||
ol.references, | |||
.references { | |||
column-count: 2 !important; | column-count: 2 !important; | ||
column-width: auto !important; | |||
column-gap: 2em; | |||
} | } | ||
} | } | ||
Revision as of 01:09, 27 October 2026
/* Make the Cite extension list of references look smaller */
ol.references {
font-size: 90%;
}
/* Mobile view: Force single column for all reference elements */
.mw-references-wrap,
ol.references,
.references {
column-count: 1 !important;
column-width: auto !important;
}
/* Tablet & Desktop view: Force exactly 2 columns for all reference elements */
@media screen and (min-width: 768px) {
.mw-references-wrap,
ol.references,
.references {
column-count: 2 !important;
column-width: auto !important;
column-gap: 2em;
}
}
