MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* QME Wiki Responsive Two-Column Layout Fix */ | |||
/* === QME Wiki Responsive Two-Column Layout Fix === */ | |||
.qme-flex-wrapper { | .qme-flex-wrapper { | ||
display: flex; | display: flex; | ||
Line 9: | Line 10: | ||
} | } | ||
/* Base styles for all column content */ | |||
.qme-column { | .qme-column { | ||
flex: 1 1 100%; | flex: 1 1 100%; | ||
Line 16: | Line 18: | ||
background: #fcfcfc; | background: #fcfcfc; | ||
color: #000; | color: #000; | ||
font-size: 16px; /* | font-size: 16px; /* Ensures consistent readability */ | ||
line-height: 1.5; | line-height: 1.5; | ||
display: flex; | display: flex; | ||
Line 23: | Line 25: | ||
} | } | ||
/* | /* Explicitly apply font size and spacing to child elements */ | ||
.qme-column p, | |||
.qme-column ul { | |||
font-size: 16px; | |||
line-height: 1.5; | |||
} | |||
/* Optional: cleaner bullets on lists */ | |||
.qme-column ul { | |||
padding-left: 1.2em; | |||
list-style-type: disc; | |||
} | |||
/* Responsive: switch to 2 columns on screens 600px and wider */ | |||
@media (min-width: 600px) { | @media (min-width: 600px) { | ||
.qme-column { | .qme-column { |
Revision as of 19:39, 23 June 2025
/* CSS placed here will be applied to all skins */
/* === QME Wiki Responsive Two-Column Layout Fix === */
.qme-flex-wrapper {
display: flex;
flex-wrap: wrap;
gap: 16px;
margin: 0 -8px;
align-items: stretch;
}
/* Base styles for all column content */
.qme-column {
flex: 1 1 100%;
min-height: 600px;
padding: 12px;
border: 1px solid #0000B6;
background: #fcfcfc;
color: #000;
font-size: 16px; /* Ensures consistent readability */
line-height: 1.5;
display: flex;
flex-direction: column;
justify-content: space-between;
}
/* Explicitly apply font size and spacing to child elements */
.qme-column p,
.qme-column ul {
font-size: 16px;
line-height: 1.5;
}
/* Optional: cleaner bullets on lists */
.qme-column ul {
padding-left: 1.2em;
list-style-type: disc;
}
/* Responsive: switch to 2 columns on screens 600px and wider */
@media (min-width: 600px) {
.qme-column {
flex: 1 1 48%;
}
}
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.