Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
No edit summary
Line 2: Line 2:
#mp-topbanner {
#mp-topbanner {
     background-color: #f4f4f4;
     background-color: #f4f4f4;
     padding: 15px;
     padding: 20px;
     border: 1px solid #ccc;
     border: 1px solid #ccc;
     margin-bottom: 10px;
     margin-bottom: 15px;
    text-align: center;
}
}


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


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


Line 19: Line 23:
     font-size: 1.2em;
     font-size: 1.2em;
     margin-top: 5px;
     margin-top: 5px;
    color: #555;
}
}


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


#mp-banner {
/* Main container for the left and right sections */
    background-color: #e7f7fc;
    padding: 15px;
    border: 1px solid #8a8a8a;
    margin-top: 15px;
}
 
/* Sections Layout */
#mp-container {
#mp-container {
    width: 100%;
     display: flex;
     display: flex;
     justify-content: space-between; /* Ensures left and right sections are on opposite sides */
     justify-content: space-between;
     gap: 20px; /* Adds space between the two sections */
     gap: 30px;
     margin-top: 15px;
     margin-top: 15px;
}
}


/* General section styling */
.mp-section {
.mp-section {
     width: 48%; /* Ensures the sections take up equal width */
     width: 48%;
     padding: 10px;
     padding: 20px;
     background-color: #f9f9f9;
    border-radius: 8px;
     border: 1px solid #ccc;
     background-color: #fff;
     box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
     box-sizing: border-box;
     box-sizing: border-box;
}
}


/* Stats Box */
.mp-section h2 {
#mp-stats {
    font-size: 1.8em;
     clear: both;
    font-weight: 600;
     padding: 15px;
    color: #333;
     background-color: #e7f7fc;
    margin-bottom: 15px;
     border: 1px solid #8a8a8a;
}
     margin-top: 20px;
 
     text-align: center;
/* 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;
}
}

Revision as of 19:52, 2 January 2025

/* 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;
}