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 { | .mw-parser-output #mp-topbanner { | ||
background-color: | background-color: rgba(31, 42, 68, 0.1); /* Light transparent color */ | ||
color: white; | color: white; | ||
padding: 40px 20px; | padding: 40px 20px; | ||
text-align: center; | text-align: center; | ||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
border-radius: 12px; | |||
border: 1px solid rgba(128, 128, 128, 0.3); /* Soft border color */ | |||
} | } | ||
Line 32: | Line 34: | ||
background-color: #ffffff; | background-color: #ffffff; | ||
border-radius: 12px; | border-radius: 12px; | ||
padding: | padding: 20px; | ||
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); | box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); | ||
flex: 1; | flex: 1; | ||
Line 38: | Line 40: | ||
overflow: hidden; | overflow: hidden; | ||
border: 1px solid #f0f0f0; /* Soft border for subtle definition */ | border: 1px solid #f0f0f0; /* Soft border for subtle definition */ | ||
display: flex; | |||
justify-content: center; | |||
align-items: center; | |||
} | } | ||
Line 45: | Line 50: | ||
} | } | ||
/* Buttons */ | |||
button { | |||
background-color: #007bff; | |||
color: white; | |||
border: none; | |||
padding: 15px 30px; | |||
font-size: 18px; | |||
font-weight: bold; | |||
font-size: | |||
font-weight: | |||
text-transform: uppercase; | text-transform: uppercase; | ||
border-radius: 8px; | |||
cursor: pointer; | |||
transition: background-color 0.3s ease; | |||
} | } | ||
button:hover { | |||
background-color: #0056b3; | |||
} | } | ||
Revision as of 20:15, 2 January 2025
/* Top Banner */ .mw-parser-output #mp-topbanner { background-color: rgba(31, 42, 68, 0.1); /* Light transparent color */ color: white; padding: 40px 20px; text-align: center; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); border-radius: 12px; border: 1px solid rgba(128, 128, 128, 0.3); /* Soft border color */ } #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: 12px; padding: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05); flex: 1; transition: all 0.3s ease; overflow: hidden; border: 1px solid #f0f0f0; /* Soft border for subtle definition */ display: flex; justify-content: center; align-items: center; } .mp-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); } /* Buttons */ button { background-color: #007bff; color: white; border: none; padding: 15px 30px; font-size: 18px; font-weight: bold; text-transform: uppercase; border-radius: 8px; cursor: pointer; transition: background-color 0.3s ease; } button:hover { background-color: #0056b3; } /* Responsive Design */ @media (max-width: 768px) { #mp-container { flex-direction: column; } .mp-card { margin-bottom: 20px; } }