MediaWiki:Common.css: Difference between revisions
Arisepedia (talk | contribs) No edit summary Tag: Reverted |
Arisepedia (talk | contribs) No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
/* MediaWiki:Common.css */ | /* MediaWiki:Common.css */ | ||
/* Main Page*/ | |||
body { | body { | ||
font-family: 'Arial', sans-serif; | font-family: 'Arial', sans-serif; | ||
color: | color: #333; | ||
background-color: | background-color: #f9f9f9; | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
/* Hero Section */ | |||
.hero { | .hero { | ||
background: | background: #fc5351; | ||
color: | color: #ffffff; | ||
padding: 60px 20px; | padding: 60px 20px; | ||
border-radius: 20px; | border-radius: 20px; | ||
Line 63: | Line 32: | ||
} | } | ||
.hero | .hero a { | ||
display: inline-block; | display: inline-block; | ||
background: | background: #ffffff; | ||
color: | color: #fc5351; | ||
padding: 15px 30px; | padding: 15px 30px; | ||
border-radius: 30px; | border-radius: 30px; | ||
Line 74: | Line 43: | ||
margin-top: 20px; | margin-top: 20px; | ||
transition: background 0.3s, color 0.3s; | transition: background 0.3s, color 0.3s; | ||
border: 2px solid | border: 2px solid #fc5351; | ||
} | } | ||
.hero | .hero a:hover { | ||
background: | background: #fc5351; | ||
color: | color: #ffffff; | ||
} | } | ||
/* Info Cards */ | |||
.card { | .card { | ||
background: | background: #ffffff; | ||
border-radius: 15px; | border-radius: 15px; | ||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); | box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); | ||
padding: 20px; | padding: 20px; | ||
border: 1px solid | border: 1px solid #e0e0e0; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
} | } | ||
Line 93: | Line 63: | ||
.card h2 { | .card h2 { | ||
font-size: 2em; | font-size: 2em; | ||
color: | color: #6c0cec; | ||
border-bottom: 3px solid | border-bottom: 3px solid #e0e0e0; | ||
padding-bottom: 10px; | padding-bottom: 10px; | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
Line 102: | Line 72: | ||
.card p { | .card p { | ||
font-size: 1.2em; | font-size: 1.2em; | ||
color: #555; | |||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
/* CTA Section */ | |||
.cta { | .cta { | ||
background: | background: #f4f4f4; | ||
color: | color: #333; | ||
padding: 40px; | padding: 40px; | ||
border-radius: 15px; | border-radius: 15px; | ||
Line 118: | Line 90: | ||
font-size: 2.2em; | font-size: 2.2em; | ||
font-weight: 700; | font-weight: 700; | ||
color: | color: #fc5351; | ||
margin: 0; | margin: 0; | ||
} | } | ||
Line 128: | Line 100: | ||
.cta a { | .cta a { | ||
color: | color: #fc5351; | ||
font-weight: 600; | font-weight: 600; | ||
text-decoration: underline; | text-decoration: underline; | ||
Line 135: | Line 107: | ||
.cta a:hover { | .cta a:hover { | ||
color: | color: #b03a30; | ||
} | } | ||
/* Footer */ | |||
.footer { | .footer { | ||
text-align: center; | text-align: center; | ||
padding: 20px; | padding: 20px; | ||
background: | background: #ffffff; | ||
border-top: 1px solid | border-top: 1px solid #ddd; | ||
margin-top: 40px; | margin-top: 40px; | ||
box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); | box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); | ||
Line 149: | Line 122: | ||
.footer p { | .footer p { | ||
margin: 0; | margin: 0; | ||
color: | color: #777; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
} | } | ||
Line 155: | Line 128: | ||
/* Media Queries */ | /* Media Queries */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.hero h1 { font-size: 1.8em; } | .hero h1 { | ||
.hero p { font-size: 1em; } | font-size: 1.8em; | ||
.hero | } | ||
.card h2 { font-size: 1.5em; } | .hero p { | ||
.card p { font-size: 1em; } | font-size: 1em; | ||
.cta h2 { font-size: 1.8em; } | } | ||
.cta p { font-size: 1em; } | .hero a { | ||
font-size: 1em; | |||
padding: 10px 20px; | |||
} | |||
.card h2 { | |||
font-size: 1.5em; | |||
} | |||
.card p { | |||
font-size: 1em; | |||
} | |||
.cta h2 { | |||
font-size: 1.8em; | |||
} | |||
.cta p { | |||
font-size: 1em; | |||
} | |||
} | } | ||
@media (max-width: 480px) { | @media (max-width: 480px) { | ||
.hero h1 { font-size: 1.5em; } | .hero h1 { | ||
.hero p { font-size: 0.9em; } | font-size: 1.5em; | ||
.hero | } | ||
.card h2 { font-size: 1.3em; } | .hero p { | ||
.card p { font-size: 0.9em; } | font-size: 0.9em; | ||
.cta h2 { font-size: 1.5em; } | } | ||
.cta p { font-size: 0.9em; } | .hero a { | ||
font-size: 0.9em; | |||
padding: 8px 15px; | |||
} | |||
.card h2 { | |||
font-size: 1.3em; | |||
} | |||
.card p { | |||
font-size: 0.9em; | |||
} | |||
.cta h2 { | |||
font-size: 1.5em; | |||
} | |||
.cta p { | |||
font-size: 0.9em; | |||
} | |||
} | } | ||
Revision as of 18:14, 5 October 2024
/* MediaWiki:Common.css */ /* Main Page*/ body { font-family: 'Arial', sans-serif; color: #333; background-color: #f9f9f9; margin: 0; padding: 0; } /* Hero Section */ .hero { background: #fc5351; color: #ffffff; padding: 60px 20px; border-radius: 20px; box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); text-align: center; margin-bottom: 40px; } .hero h1 { font-size: 2.5em; font-weight: 700; margin: 0; } .hero p { font-size: 1.25em; margin: 20px 0; font-weight: 300; } .hero a { display: inline-block; background: #ffffff; color: #fc5351; padding: 15px 30px; border-radius: 30px; text-decoration: none; font-size: 1.2em; font-weight: 600; margin-top: 20px; transition: background 0.3s, color 0.3s; border: 2px solid #fc5351; } .hero a:hover { background: #fc5351; color: #ffffff; } /* Info Cards */ .card { background: #ffffff; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); padding: 20px; border: 1px solid #e0e0e0; margin-bottom: 20px; } .card h2 { font-size: 2em; color: #6c0cec; border-bottom: 3px solid #e0e0e0; padding-bottom: 10px; margin-bottom: 20px; font-weight: 700; } .card p { font-size: 1.2em; color: #555; line-height: 1.6; } /* CTA Section */ .cta { background: #f4f4f4; color: #333; padding: 40px; border-radius: 15px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15); text-align: center; margin-top: 40px; } .cta h2 { font-size: 2.2em; font-weight: 700; color: #fc5351; margin: 0; } .cta p { font-size: 1.2em; margin-top: 15px; } .cta a { color: #fc5351; font-weight: 600; text-decoration: underline; transition: color 0.3s; } .cta a:hover { color: #b03a30; } /* Footer */ .footer { text-align: center; padding: 20px; background: #ffffff; border-top: 1px solid #ddd; margin-top: 40px; box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1); } .footer p { margin: 0; color: #777; font-size: 1.1em; } /* Media Queries */ @media (max-width: 768px) { .hero h1 { font-size: 1.8em; } .hero p { font-size: 1em; } .hero a { font-size: 1em; padding: 10px 20px; } .card h2 { font-size: 1.5em; } .card p { font-size: 1em; } .cta h2 { font-size: 1.8em; } .cta p { font-size: 1em; } } @media (max-width: 480px) { .hero h1 { font-size: 1.5em; } .hero p { font-size: 0.9em; } .hero a { font-size: 0.9em; padding: 8px 15px; } .card h2 { font-size: 1.3em; } .card p { font-size: 0.9em; } .cta h2 { font-size: 1.5em; } .cta p { font-size: 0.9em; } } #ca-viewsource { display: none; }