Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 1: Line 1:
/* Top Banner Styles */
/* Top Banner */
#mp-topbanner {
#mp-topbanner {
     background-color: #3a3f47;
     background-color: #1f2a44;
     color: white;
     color: white;
     padding: 20px;
     padding: 40px 20px;
     text-align: center;
     text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
}


Line 10: Line 11:
     font-size: 36px;
     font-size: 36px;
     margin: 0;
     margin: 0;
    font-weight: 700;
}
}


#mp-free, #articlecount {
#mp-topbanner p {
     font-size: 18px;
     font-size: 18px;
     margin: 5px 0;
     margin: 5px 0;
Line 21: Line 23:
     display: flex;
     display: flex;
     justify-content: space-between;
     justify-content: space-between;
     padding: 20px;
     padding: 30px 20px;
     gap: 20px;
     gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}
}


.mp-card {
.mp-card {
     background-color: #ffffff;
     background-color: #ffffff;
     border-radius: 8px;
     border-radius: 10px;
     padding: 15px;
     padding: 20px;
     box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
     box-shadow: 0 8px 16px 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 4px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}
}


/* Section Header Styles */
.section-header {
.section-header {
     background-color: #f5f5f5; /* Soft gray background */
     background-color: #f5f5f5;
    color: #333;  /* Darker text for contrast */
     padding: 15px;
     padding: 12px;
     border-radius: 8px;
     border-radius: 4px;
    border-bottom: 1px solid #e1e1e1;
     margin-bottom: 15px;
     margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
}


Line 53: Line 55:
     font-size: 24px;
     font-size: 24px;
     font-weight: 600;
     font-weight: 600;
    color: #333;
}
p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}
/* Links */
a {
    color: #007bff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
}


/* Responsive Adjustments */
/* Responsive Design */
@media (max-width: 768px) {
@media (max-width: 768px) {
     #mp-container {
     #mp-container {

Revision as of 20:09, 2 January 2025

/* Top Banner */
#mp-topbanner {
    background-color: #1f2a44;
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

#mp-topbanner p {
    font-size: 18px;
    margin: 5px 0;
}

/* Main Container */
#mp-container {
    display: flex;
    justify-content: space-between;
    padding: 30px 20px;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.mp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.section-header {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

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

p {
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Links */
a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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