MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Mobile-first grid styling for Wikiwide */ | ||
.wikiwide-hero { | |||
text-align: center; | |||
padding: 20px 10px; | |||
background: #fff; | |||
border-bottom: 1px solid #ccc; | |||
} | } | ||
.wikiwide-hero h1 { | |||
.hero | font-size: 1.5em; | ||
margin: 10px 0; | |||
. | |||
margin | |||
} | } | ||
.cta-button { | |||
. | display: inline-block; | ||
background: black; | |||
color: white; | |||
padding: 10px 16px; | |||
text-decoration: none; | |||
border-radius: 8px; | |||
font-weight: bold; | |||
} | } | ||
.section-title { | |||
. | font-weight: bold; | ||
font-size: 1.2em; | |||
margin: 20px 10px 10px; | |||
margin | |||
} | } | ||
.horizontal-scroll { | |||
. | |||
display: flex; | display: flex; | ||
overflow-x: auto; | |||
gap: 10px; | |||
padding: 10px; | padding: 10px; | ||
} | } | ||
.card { | |||
. | min-width: 160px; | ||
padding: 12px; | |||
border: 1px solid #ccc; | |||
border-radius: 10px; | |||
background: #f9f9f9; | |||
text-align: center; | |||
flex-shrink: 0; | |||
} | } | ||
.updates-list { | |||
padding: 0 15px; | |||
} | } | ||
.wikiwide-footer { | |||
. | text-align: center; | ||
margin-top: 30px; | |||
padding: 15px 10px; | |||
font-size: 0.9em; | |||
color: #888; | |||
border-top: 1px solid #ddd; | |||
} | } | ||
. | .footer-links a { | ||
margin: 0 8px; | |||
color: #555; | |||
text-decoration: none; | |||
} | } |
Revision as of 16:18, 23 April 2025
/* Mobile-first grid styling for Wikiwide */ .wikiwide-hero { text-align: center; padding: 20px 10px; background: #fff; border-bottom: 1px solid #ccc; } .wikiwide-hero h1 { font-size: 1.5em; margin: 10px 0; } .cta-button { display: inline-block; background: black; color: white; padding: 10px 16px; text-decoration: none; border-radius: 8px; font-weight: bold; } .section-title { font-weight: bold; font-size: 1.2em; margin: 20px 10px 10px; } .horizontal-scroll { display: flex; overflow-x: auto; gap: 10px; padding: 10px; } .card { min-width: 160px; padding: 12px; border: 1px solid #ccc; border-radius: 10px; background: #f9f9f9; text-align: center; flex-shrink: 0; } .updates-list { padding: 0 15px; } .wikiwide-footer { text-align: center; margin-top: 30px; padding: 15px 10px; font-size: 0.9em; color: #888; border-top: 1px solid #ddd; } .footer-links a { margin: 0 8px; color: #555; text-decoration: none; }