Template:MainPageBanner/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Reverted |
||
Line 1: | Line 1: | ||
/* General | /* General reset */ | ||
* { | |||
box-sizing: border-box; | |||
margin: 0; | |||
padding: 0; | |||
} | } | ||
#mp- | /* Top Banner */ | ||
#mp-topbanner { | |||
background-color: #0077cc; /* Modern blue */ | |||
color: white; | |||
padding: 25px 20px; | |||
text-align: center; | text-align: center; | ||
border-radius: 10px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |||
} | } | ||
#mp-welcome h1 { | #mp-welcome h1 { | ||
font-size: | font-size: 2.5em; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
#mp-free { | #mp-free { | ||
font-size: 1. | font-size: 1.25em; | ||
margin-top: | margin-top: 10px; | ||
} | } | ||
#articlecount { | #articlecount { | ||
font-size: 1. | font-size: 1.2em; | ||
color: # | color: #f0f0f0; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
/* Main Banner Section */ | |||
#mp-banner { | #mp-banner { | ||
background-color: # | background-color: #e6f7ff; /* Soft blue background */ | ||
padding: 15px; | padding: 15px; | ||
border: | margin-top: 20px; | ||
border-radius: 10px; | |||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |||
} | } | ||
/* Sections | /* Layout for Sections */ | ||
.mp-section { | .mp-section { | ||
width: | width: 48%; | ||
margin-top: 20px; | |||
padding: 20px; | |||
border-radius: 8px; | |||
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |||
float: left; | float: left; | ||
} | } | ||
#mp-leftsection { | #mp-leftsection { | ||
background-color: # | background-color: #ffffff; | ||
border: 1px solid # | border: 1px solid #dcdcdc; | ||
} | } | ||
#mp-rightsection { | #mp-rightsection { | ||
background-color: # | background-color: #ffffff; | ||
border: 1px solid # | border: 1px solid #dcdcdc; | ||
margin-left: 4%; | |||
} | } | ||
/* Stats | /* Section Headers */ | ||
.mp-section h2 { | |||
font-size: 1.5em; | |||
background-color: #0077cc; /* Header background color */ | |||
color: white; | |||
padding: 10px; | |||
border-radius: 5px; | |||
margin-bottom: 15px; | |||
} | |||
/* Stats and Admins Section */ | |||
#mp-stats { | #mp-stats { | ||
clear: both; | clear: both; | ||
padding: | margin-top: 30px; | ||
background-color: # | padding: 20px; | ||
border: | background-color: #f7f7f7; | ||
border-radius: 10px; | |||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | |||
text-align: center; | text-align: center; | ||
} | |||
#mp-stats h2 { | |||
font-size: 1.5em; | |||
color: #0077cc; | |||
margin-bottom: 20px; | |||
} | |||
#mp-stats p { | |||
font-size: 1.1em; | |||
color: #333; | |||
} | |||
/* Clearfix for float */ | |||
.clearfix::after { | |||
content: ""; | |||
display: table; | |||
clear: both; | |||
} | } |
Revision as of 19:36, 2 January 2025
/* General reset */ * { box-sizing: border-box; margin: 0; padding: 0; } /* Top Banner */ #mp-topbanner { background-color: #0077cc; /* Modern blue */ color: white; padding: 25px 20px; text-align: center; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } #mp-welcome h1 { font-size: 2.5em; font-weight: bold; } #mp-free { font-size: 1.25em; margin-top: 10px; } #articlecount { font-size: 1.2em; color: #f0f0f0; margin-top: 10px; } /* Main Banner Section */ #mp-banner { background-color: #e6f7ff; /* Soft blue background */ padding: 15px; margin-top: 20px; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); } /* Layout for Sections */ .mp-section { width: 48%; margin-top: 20px; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); float: left; } #mp-leftsection { background-color: #ffffff; border: 1px solid #dcdcdc; } #mp-rightsection { background-color: #ffffff; border: 1px solid #dcdcdc; margin-left: 4%; } /* Section Headers */ .mp-section h2 { font-size: 1.5em; background-color: #0077cc; /* Header background color */ color: white; padding: 10px; border-radius: 5px; margin-bottom: 15px; } /* Stats and Admins Section */ #mp-stats { clear: both; margin-top: 30px; padding: 20px; background-color: #f7f7f7; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); text-align: center; } #mp-stats h2 { font-size: 1.5em; color: #0077cc; margin-bottom: 20px; } #mp-stats p { font-size: 1.1em; color: #333; } /* Clearfix for float */ .clearfix::after { content: ""; display: table; clear: both; }