Jump to content

Template:MainPageBanner/styles.css

From nUSA Wiki
/* General styles for sections */
#mp-topbanner {
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    text-align: center;
}

#mp-welcomecount {
    font-size: 1.2em;
    color: #333;
}

#mp-welcome h1 {
    font-size: 2.5em;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

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

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

/* Main container for the left and right sections */
#mp-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 15px;
}

/* General section styling */
.mp-section {
    width: 48%;
    padding: 20px;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
}

.mp-section h2 {
    font-size: 1.8em;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

/* Styling for the text inside the sections */
.mp-section p {
    font-size: 1.1em;
    color: #555;
    line-height: 1.6;
}

/* Styling for the "About the Wiki" section */
#mp-leftsection {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

/* Styling for the "Report Problems" section */
#mp-rightsection {
    background-color: #fafafa;
    border: 1px solid #e0e0e0;
}

/* A little hover effect for better interaction */
.mp-section:hover {
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    transition: all 0.3s ease;
}