Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 26: Line 26:


.mp-card {
.mp-card {
     background-color: #f9f9f9;
     background-color: #ffffff;
     border-radius: 10px;
     border-radius: 8px;
     padding: 20px;
     padding: 15px;
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     flex: 1;
     flex: 1;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    margin-bottom: 20px;
}
}


.mp-card:hover {
.mp-card:hover {
     box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
     box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
}


/* Section Header Styles */
/* Section Header Styles */
.section-header {
.section-header {
     background-color: #0073e6; /* Light blue background */
     background-color: #f5f5f5; /* Soft gray background */
     color: white;
     color: #333; /* Darker text for contrast */
     padding: 10px;
     padding: 12px;
     border-radius: 8px;
     border-radius: 4px;
    border-bottom: 1px solid #e1e1e1;
     margin-bottom: 15px;
     margin-bottom: 15px;
}
}
Line 50: Line 52:
     margin: 0;
     margin: 0;
     font-size: 24px;
     font-size: 24px;
     font-weight: bold;
     font-weight: 600;
}
}



Revision as of 20:06, 2 January 2025

/* Top Banner Styles */
#mp-topbanner {
    background-color: #3a3f47;
    color: white;
    padding: 20px;
    text-align: center;
}

#mp-topbanner h1 {
    font-size: 36px;
    margin: 0;
}

#mp-free, #articlecount {
    font-size: 18px;
    margin: 5px 0;
}

/* Main Container */
#mp-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    gap: 20px;
}

.mp-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.mp-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Section Header Styles */
.section-header {
    background-color: #f5f5f5;  /* Soft gray background */
    color: #333;  /* Darker text for contrast */
    padding: 12px;
    border-radius: 4px;
    border-bottom: 1px solid #e1e1e1;
    margin-bottom: 15px;
}

.section-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    #mp-container {
        flex-direction: column;
    }
    
    .mp-card {
        margin-bottom: 20px;
    }
}