Template:MainPageBanner/styles.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* Top Banner | /* Top Banner */ | ||
#mp-topbanner { | #mp-topbanner { | ||
background-color: # | background-color: #1f2a44; | ||
color: white; | color: white; | ||
padding: 20px; | padding: 40px 20px; | ||
text-align: center; | text-align: center; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |||
} | } | ||
Line 10: | Line 11: | ||
font-size: 36px; | font-size: 36px; | ||
margin: 0; | margin: 0; | ||
font-weight: 700; | |||
} | } | ||
#mp- | #mp-topbanner p { | ||
font-size: 18px; | font-size: 18px; | ||
margin: 5px 0; | margin: 5px 0; | ||
Line 21: | Line 23: | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
padding: 20px; | padding: 30px 20px; | ||
gap: 20px; | gap: 20px; | ||
max-width: 1200px; | |||
margin: 0 auto; | |||
} | } | ||
.mp-card { | .mp-card { | ||
background-color: #ffffff; | background-color: #ffffff; | ||
border-radius: | border-radius: 10px; | ||
padding: | padding: 20px; | ||
box-shadow: 0 | box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); | ||
flex: 1; | flex: 1; | ||
transition: all 0.3s ease; | transition: all 0.3s ease; | ||
} | } | ||
.mp-card:hover { | .mp-card:hover { | ||
box-shadow: 0 | transform: translateY(-5px); | ||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); | |||
} | } | ||
.section-header { | .section-header { | ||
background-color: #f5f5f5; | background-color: #f5f5f5; | ||
padding: 15px; | |||
padding: | border-radius: 8px; | ||
border-radius: | |||
margin-bottom: 15px; | margin-bottom: 15px; | ||
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); | |||
} | } | ||
Line 53: | Line 55: | ||
font-size: 24px; | font-size: 24px; | ||
font-weight: 600; | font-weight: 600; | ||
color: #333; | |||
} | |||
p { | |||
font-size: 16px; | |||
color: #555; | |||
line-height: 1.5; | |||
} | |||
/* Links */ | |||
a { | |||
color: #007bff; | |||
text-decoration: none; | |||
} | |||
a:hover { | |||
text-decoration: underline; | |||
} | } | ||
/* Responsive | /* Responsive Design */ | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
#mp-container { | #mp-container { |
Revision as of 20:09, 2 January 2025
/* Top Banner */ #mp-topbanner { background-color: #1f2a44; color: white; padding: 40px 20px; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } #mp-topbanner h1 { font-size: 36px; margin: 0; font-weight: 700; } #mp-topbanner p { font-size: 18px; margin: 5px 0; } /* Main Container */ #mp-container { display: flex; justify-content: space-between; padding: 30px 20px; gap: 20px; max-width: 1200px; margin: 0 auto; } .mp-card { background-color: #ffffff; border-radius: 10px; padding: 20px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); flex: 1; transition: all 0.3s ease; } .mp-card:hover { transform: translateY(-5px); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2); } .section-header { background-color: #f5f5f5; padding: 15px; border-radius: 8px; margin-bottom: 15px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); } .section-header h2 { margin: 0; font-size: 24px; font-weight: 600; color: #333; } p { font-size: 16px; color: #555; line-height: 1.5; } /* Links */ a { color: #007bff; text-decoration: none; } a:hover { text-decoration: underline; } /* Responsive Design */ @media (max-width: 768px) { #mp-container { flex-direction: column; } .mp-card { margin-bottom: 20px; } }