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 */
/* Top Banner */
#mp-topbanner {
.mw-parser-output #mp-topbanner {
     background-color: #1f2a44;
     background-color: rgba(31, 42, 68, 0.1); /* Light transparent color */
     color: white;
     color: white;
     padding: 40px 20px;
     padding: 40px 20px;
     text-align: center;
     text-align: center;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.3); /* Soft border color */
}
}


Line 32: Line 34:
     background-color: #ffffff;
     background-color: #ffffff;
     border-radius: 12px;
     border-radius: 12px;
     padding: 30px;
     padding: 20px;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
     flex: 1;
     flex: 1;
Line 38: Line 40:
     overflow: hidden;
     overflow: hidden;
     border: 1px solid #f0f0f0;  /* Soft border for subtle definition */
     border: 1px solid #f0f0f0;  /* Soft border for subtle definition */
    display: flex;
    justify-content: center;
    align-items: center;
}
}


Line 45: Line 50:
}
}


.section-header {
/* Buttons */
     padding-bottom: 15px;
button {
     border-bottom: 2px solid #eee;
     background-color: #007bff;
     margin-bottom: 20px;
     color: white;
}
     border: none;
 
     padding: 15px 30px;
.section-header h2 {
     font-size: 18px;
     margin: 0;
     font-weight: bold;
     font-size: 28px;
     font-weight: 600;
    color: #333;
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 0.5px;
     border-radius: 8px;
}
     cursor: pointer;
 
     transition: background-color 0.3s ease;
/* Paragraphs */
p {
     font-size: 16px;
     color: #555;
    line-height: 1.7;
}
 
/* Links */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}
}


a:hover {
button:hover {
     text-decoration: underline;
     background-color: #0056b3;
}
}



Revision as of 20:15, 2 January 2025

/* Top Banner */
.mw-parser-output #mp-topbanner {
    background-color: rgba(31, 42, 68, 0.1); /* Light transparent color */
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(128, 128, 128, 0.3); /* Soft border color */
}

#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: 20px;
    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 */
    display: flex;
    justify-content: center;
    align-items: center;
}

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

/* Buttons */
button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0056b3;
}

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

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