Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* General styles for sections */
/* General reset */
#mp-topbanner {
* {
     background-color: #f4f4f4;
     box-sizing: border-box;
     padding: 15px;
     margin: 0;
     border: 1px solid #ccc;
     padding: 0;
    margin-bottom: 10px;
}
}


#mp-welcomecount {
/* 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: 2em;
     font-size: 2.5em;
     font-weight: bold;
     font-weight: bold;
}
}


#mp-free {
#mp-free {
     font-size: 1.2em;
     font-size: 1.25em;
     margin-top: 5px;
     margin-top: 10px;
}
}


#articlecount {
#articlecount {
     font-size: 1.1em;
     font-size: 1.2em;
     color: #333;
     color: #f0f0f0;
     margin-top: 10px;
     margin-top: 10px;
}
}


/* Main Banner Section */
#mp-banner {
#mp-banner {
     background-color: #e7f7fc;
     background-color: #e6f7ff; /* Soft blue background */
     padding: 15px;
     padding: 15px;
     border: 1px solid #8a8a8a;
    margin-top: 20px;
     margin-top: 15px;
     border-radius: 10px;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
}


/* Sections Layout */
/* Layout for Sections */
.mp-section {
.mp-section {
     width: 45%;
     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;
    padding: 10px;
    margin: 10px;
}
}


#mp-leftsection {
#mp-leftsection {
     background-color: #f9f9f9;
     background-color: #ffffff;
     border: 1px solid #ccc;
     border: 1px solid #dcdcdc;
}
}


#mp-rightsection {
#mp-rightsection {
     background-color: #f9f9f9;
     background-color: #ffffff;
     border: 1px solid #ccc;
     border: 1px solid #dcdcdc;
    margin-left: 4%;
}
}


/* Stats Box */
/* 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: 15px;
    margin-top: 30px;
     background-color: #e7f7fc;
     padding: 20px;
     border: 1px solid #8a8a8a;
     background-color: #f7f7f7;
     margin-top: 20px;
     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;
}