Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
Line 1: Line 1:
/* Top Banner */
/* General styles for sections */
.mw-parser-output #mp-topbanner {
#mp-topbanner {
     background-color: rgba(31, 42, 68, 0.1); /* Light transparent color */
     background-color: #f8f9fa;
     color: white;
    padding: 30px;
     padding: 40px 20px;
     border-radius: 10px;
     margin-bottom: 20px;
     text-align: center;
     text-align: center;
     box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
     border-radius: 12px;
}
     border: 1px solid rgba(128, 128, 128, 0.3); /* Soft border color */
 
#mp-welcomecount {
     font-size: 1.2em;
    color: #333;
    font-weight: bold;
}
 
#mp-welcome h1 {
    font-size: 3em;
    font-weight: bold;
    color: #343a40;
     margin: 10px 0;
}
}


#mp-topbanner h1 {
#mp-free {
     font-size: 36px;
     font-size: 1.2em;
     margin: 0;
     margin-top: 5px;
     font-weight: 700;
     color: #495057;
}
}


#mp-topbanner p {
#articlecount {
     font-size: 18px;
     font-size: 1.1em;
     margin: 5px 0;
    color: #6c757d;
     margin-top: 10px;
}
}


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


/* Left and Right Sections as Cards with Text Links */
/* General section styling */
.mp-card {
.mp-section {
    width: 48%;
    padding: 25px;
    border-radius: 12px;
     background-color: #ffffff;
     background-color: #ffffff;
    border-radius: 12px;
     box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
     box-sizing: border-box;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
     flex: 1;
     transition: all 0.3s ease;
     transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid #f0f0f0; /* Soft border for subtle definition */
    text-align: center;
}
}


.mp-card a {
.mp-section h2 {
     text-decoration: none;
     font-size: 1.8em;
     color: #007bff;
     font-weight: 700;
     font-size: 20px;
     color: #343a40;
     font-weight: bold;
     margin-bottom: 20px;
     text-transform: uppercase;
     text-transform: uppercase;
    letter-spacing: 1px;
}
/* Styling for the text inside the sections */
.mp-section p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
}
/* Styling for the "About the Wiki" section */
#mp-leftsection {
    background-color: #f7f8fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
}


.mp-card a:hover {
/* Styling for the "Report Problems" section */
     color: #0056b3;
#mp-rightsection {
     background-color: #f7f8fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}
}


/* Text Link Hover Effect */
/* A little hover effect for better interaction */
.mp-card:hover {
.mp-section:hover {
     background-color: #f8f9fa;
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}
 
/* Adding more dynamic effect on hovering */
#mp-leftsection:hover, #mp-rightsection:hover {
     background-color: #f1f3f5;
    transform: translateY(-4px);
    transition: background-color 0.3s ease;
}
}

Latest revision as of 20:20, 2 January 2025

/* General styles for sections */
#mp-topbanner {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#mp-welcomecount {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

#mp-welcome h1 {
    font-size: 3em;
    font-weight: bold;
    color: #343a40;
    margin: 10px 0;
}

#mp-free {
    font-size: 1.2em;
    margin-top: 5px;
    color: #495057;
}

#articlecount {
    font-size: 1.1em;
    color: #6c757d;
    margin-top: 10px;
}

/* Main container for the left and right sections */
#mp-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

/* General section styling */
.mp-section {
    width: 48%;
    padding: 25px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.mp-section h2 {
    font-size: 1.8em;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Styling for the text inside the sections */
.mp-section p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
}

/* Styling for the "About the Wiki" section */
#mp-leftsection {
    background-color: #f7f8fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

/* Styling for the "Report Problems" section */
#mp-rightsection {
    background-color: #f7f8fa;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
}

/* A little hover effect for better interaction */
.mp-section:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

/* Adding more dynamic effect on hovering */
#mp-leftsection:hover, #mp-rightsection:hover {
    background-color: #f1f3f5;
    transform: translateY(-4px);
    transition: background-color 0.3s ease;
}