Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Reverted
Line 31: Line 31:
.mp-card {
.mp-card {
     background-color: #ffffff;
     background-color: #ffffff;
     border-radius: 10px;
     border-radius: 12px;
     padding: 20px;
     padding: 30px;
     box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
     flex: 1;
     flex: 1;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;  /* Soft border for subtle definition */
}
}


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


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


.section-header h2 {
.section-header h2 {
     margin: 0;
     margin: 0;
     font-size: 24px;
     font-size: 28px;
     font-weight: 600;
     font-weight: 600;
     color: #333;
     color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
}


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


Line 68: Line 71:
     color: #007bff;
     color: #007bff;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
}


Line 79: Line 83:
         flex-direction: column;
         flex-direction: column;
     }
     }
   
 
     .mp-card {
     .mp-card {
         margin-bottom: 20px;
         margin-bottom: 20px;
     }
     }
}
}

Revision as of 20:10, 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: 12px;
    padding: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0;  /* Soft border for subtle definition */
}

.mp-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.section-header {
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.section-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Paragraphs */
p {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
}

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

a:hover {
    text-decoration: underline;
}

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

    .mp-card {
        margin-bottom: 20px;
    }
}