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:
}
}


/* Left and Right Sections as Cards with Text Links */
.mp-card {
.mp-card {
     background-color: #ffffff;
     background-color: #ffffff;
Line 39: Line 40:
     transition: all 0.3s ease;
     transition: all 0.3s ease;
     overflow: hidden;
     overflow: hidden;
     border: 1px solid #f0f0f0; /* Soft border for subtle definition */
     border: 1px solid #f0f0f0; /* Soft border for subtle definition */
     display: flex;
     text-align: center;
    justify-content: center;
    align-items: center;
}
}


.mp-card:hover {
.mp-card a {
     transform: translateY(-5px);
     text-decoration: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
     color: #007bff;
}
     font-size: 20px;
 
/* Buttons */
button {
     background-color: #007bff;
    color: white;
    border: none;
    padding: 15px 30px;
     font-size: 18px;
     font-weight: bold;
     font-weight: bold;
     text-transform: uppercase;
     text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
}


button:hover {
.mp-card a:hover {
     background-color: #0056b3;
     color: #0056b3;
}
}


/* Responsive Design */
/* Text Link Hover Effect */
@media (max-width: 768px) {
.mp-card:hover {
    #mp-container {
    background-color: #f8f9fa;
        flex-direction: column;
    }
 
    .mp-card {
        margin-bottom: 20px;
    }
}
}

Revision as of 20:17, 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;
}

/* Left and Right Sections as Cards with Text Links */
.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 */
    text-align: center;
}

.mp-card a {
    text-decoration: none;
    color: #007bff;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
}

.mp-card a:hover {
    color: #0056b3;
}

/* Text Link Hover Effect */
.mp-card:hover {
    background-color: #f8f9fa;
}