Template:MainPageBanner/styles.css
Appearance
/* General styles for sections */ #mp-topbanner { background-color: #f4f4f4; padding: 15px; border: 1px solid #ccc; margin-bottom: 10px; } #mp-welcomecount { text-align: center; } #mp-welcome h1 { font-size: 2em; font-weight: bold; } #mp-free { font-size: 1.2em; margin-top: 5px; } #articlecount { font-size: 1.1em; color: #333; margin-top: 10px; } #mp-banner { background-color: #e7f7fc; padding: 15px; border: 1px solid #8a8a8a; margin-top: 15px; } /* Sections Layout */ .mp-section { width: 45%; float: left; padding: 10px; margin: 10px; } #mp-leftsection, #mp-rightsection { background-color: #f9f9f9; border: 1px solid #ccc; margin-left: 2%; /* Center the boxes */ margin-right: 2%; /* Center the boxes */ box-sizing: border-box; } /* Center the sections in the middle of the page */ #mp-leftsection, #mp-rightsection { display: inline-block; vertical-align: top; width: 45%; } /* Ensuring both left and right sections fit nicely */ #mp-container { width: 100%; display: flex; justify-content: center; gap: 20px; margin-top: 15px; } /* Stats Box */ #mp-stats { clear: both; padding: 15px; background-color: #e7f7fc; border: 1px solid #8a8a8a; margin-top: 20px; text-align: center; }