MediaWiki:Common.css: Difference between revisions
From The Radical Buddhism Project
No edit summary |
No edit summary |
||
| Line 9: | Line 9: | ||
column-count: 2 !important; | column-count: 2 !important; | ||
column-gap: 2em; | column-gap: 2em; | ||
} | |||
} | |||
/* Limit references to a maximum of 2 columns on desktops, 1 column on mobile */ | |||
@media screen and (min-width: 768px) { | |||
ol.references { | |||
column-count: 2 !important; | |||
max-width: 100%; | |||
} | } | ||
} | } | ||
Revision as of 01:07, 27 October 2026
/* Make the Cite extension list of references look smaller */
ol.references {
font-size: 90%;
}
/* Enforce 2 columns for references on wider screens */
@media screen and (min-width: 768px) {
ol.references {
column-count: 2 !important;
column-gap: 2em;
}
}
/* Limit references to a maximum of 2 columns on desktops, 1 column on mobile */
@media screen and (min-width: 768px) {
ol.references {
column-count: 2 !important;
max-width: 100%;
}
}
