Jump to content

Template:MainPageBanner/styles.css: Difference between revisions

From nUSA Wiki
No edit summary
No edit summary
Tag: Reverted
Line 53: Line 53:
}
}


.mp-section h2 {
/* Card design for content */
     font-size: 1.8em;
.mp-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}
 
/* Title styling inside the card */
.mp-card h2 {
     font-size: 2em;
     font-weight: 700;
     font-weight: 700;
     color: #343a40;
     color: #343a40;
Line 60: Line 71:
     text-transform: uppercase;
     text-transform: uppercase;
     letter-spacing: 1px;
     letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff; /* Blue border below title */
}
}


/* Styling for the text inside the sections */
/* Text styling inside the card */
.mp-section p {
.mp-card p {
     font-size: 1.1em;
     font-size: 1.1em;
     color: #495057;
     color: #495057;
     line-height: 1.6;
     line-height: 1.6;
}
/* Hover effects for the cards */
.mp-card:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


Line 72: Line 92:
#mp-leftsection {
#mp-leftsection {
     background-color: #f7f8fa;
     background-color: #f7f8fa;
     border: 1px solid #e0e0e0;
     padding: 20px;
     border-radius: 10px;
     border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}
}


Line 79: Line 100:
#mp-rightsection {
#mp-rightsection {
     background-color: #f7f8fa;
     background-color: #f7f8fa;
     border: 1px solid #e0e0e0;
     padding: 20px;
     border-radius: 10px;
     border-radius: 12px;
}
     box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
 
/* 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 */
/* Hover effect for the sections */
#mp-leftsection:hover, #mp-rightsection:hover {
#mp-leftsection:hover, #mp-rightsection:hover {
     background-color: #f1f3f5;
     background-color: #f1f3f5;
     transform: translateY(-4px);
     transform: translateY(-4px);
     transition: background-color 0.3s ease;
     transition: background-color 0.3s ease;
}
/* Remove default borders */
#mp-leftsection, #mp-rightsection {
    border: none;
}
/* Clean up the layout and make it more dynamic */
#mp-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}
}

Revision as of 19:58, 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;
}

/* Card design for content */
.mp-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 600px;
}

/* Title styling inside the card */
.mp-card h2 {
    font-size: 2em;
    font-weight: 700;
    color: #343a40;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 10px;
    border-bottom: 3px solid #007bff; /* Blue border below title */
}

/* Text styling inside the card */
.mp-card p {
    font-size: 1.1em;
    color: #495057;
    line-height: 1.6;
}

/* Hover effects for the cards */
.mp-card:hover {
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Styling for the "About the Wiki" section */
#mp-leftsection {
    background-color: #f7f8fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

/* Styling for the "Report Problems" section */
#mp-rightsection {
    background-color: #f7f8fa;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover effect for the sections */
#mp-leftsection:hover, #mp-rightsection:hover {
    background-color: #f1f3f5;
    transform: translateY(-4px);
    transition: background-color 0.3s ease;
}

/* Remove default borders */
#mp-leftsection, #mp-rightsection {
    border: none;
}

/* Clean up the layout and make it more dynamic */
#mp-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 20px;
}