MediaWiki:Mobile.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 59: | Line 59: | ||
font-size: 1.2em; | font-size: 1.2em; | ||
padding: 1em; | padding: 1em; | ||
text-align: center; | |||
} | } | ||
Line 83: | Line 84: | ||
flex-direction: column; | flex-direction: column; | ||
gap: 10px; | gap: 10px; | ||
} | |||
/* Featured content section header adjustments */ | |||
.featured-content .section-header { | |||
flex-direction: column; | |||
text-align: center; | |||
} | |||
.featured-content .section-header h2 { | |||
margin-bottom: 0.5em; | |||
text-align: center; | |||
} | |||
/* Card content alignment */ | |||
.card-content { | |||
text-align: center; | |||
} | |||
/* List item spacing */ | |||
.section-content ul { | |||
padding-left: 1em; | |||
} | |||
.section-content li { | |||
margin-bottom: 0.5em; | |||
} | } | ||
} | } | ||
Line 102: | Line 128: | ||
.section-content { | .section-content { | ||
padding: 0.8em; | padding: 0.8em; | ||
} | |||
/* Ensure section headers are properly centered on very small screens */ | |||
.section-header { | |||
padding: 0.8em 0.5em; | |||
} | } | ||
} | } | ||
/* end of new front page CSS */ | /* end of new front page CSS */ | ||
.infobox { | .infobox { |