Template:MainPageBanner/styles.css: Difference between revisions
Appearance
No edit summary Tag: Reverted |
No edit summary Tag: Reverted |
||
Line 36: | Line 36: | ||
.mp-card:hover { | .mp-card:hover { | ||
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); | box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); | ||
} | |||
/* Section Header Styles */ | |||
.section-header { | |||
background-color: #0073e6; /* Light blue background */ | |||
color: white; | |||
padding: 10px; | |||
border-radius: 8px; | |||
margin-bottom: 15px; | |||
} | } | ||
.section-header h2 { | .section-header h2 { | ||
margin: 0; | margin: 0; | ||
font-size: 24px; | |||
font-weight: bold; | font-weight: bold; | ||
} | } |
Revision as of 20:05, 2 January 2025
/* Top Banner Styles */ #mp-topbanner { background-color: #3a3f47; color: white; padding: 20px; text-align: center; } #mp-topbanner h1 { font-size: 36px; margin: 0; } #mp-free, #articlecount { font-size: 18px; margin: 5px 0; } /* Main Container */ #mp-container { display: flex; justify-content: space-between; padding: 20px; gap: 20px; } .mp-card { background-color: #f9f9f9; border-radius: 10px; padding: 20px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); flex: 1; transition: all 0.3s ease; } .mp-card:hover { box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); } /* Section Header Styles */ .section-header { background-color: #0073e6; /* Light blue background */ color: white; padding: 10px; border-radius: 8px; margin-bottom: 15px; } .section-header h2 { margin: 0; font-size: 24px; font-weight: bold; } /* Responsive Adjustments */ @media (max-width: 768px) { #mp-container { flex-direction: column; } .mp-card { margin-bottom: 20px; } }