Template:MainPageBanner/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary Tag: Manual revert |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* General styles for sections */ | /* General styles for sections */ | ||
#mp-topbanner { | #mp-topbanner { | ||
background-color: # | background-color: #f8f9fa; | ||
padding: | padding: 30px; | ||
border: | border-radius: 10px; | ||
margin-bottom: | margin-bottom: 20px; | ||
text-align: center; | text-align: center; | ||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); | |||
} | } | ||
Line 11: | Line 12: | ||
font-size: 1.2em; | font-size: 1.2em; | ||
color: #333; | color: #333; | ||
font-weight: bold; | |||
} | } | ||
#mp-welcome h1 { | #mp-welcome h1 { | ||
font-size: | font-size: 3em; | ||
font-weight: bold; | font-weight: bold; | ||
color: # | color: #343a40; | ||
margin: 10px 0; | margin: 10px 0; | ||
} | } | ||
Line 23: | Line 25: | ||
font-size: 1.2em; | font-size: 1.2em; | ||
margin-top: 5px; | margin-top: 5px; | ||
color: # | color: #495057; | ||
} | } | ||
#articlecount { | #articlecount { | ||
font-size: 1.1em; | font-size: 1.1em; | ||
color: # | color: #6c757d; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
Line 36: | Line 38: | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: | gap: 20px; | ||
margin-top: | margin-top: 20px; | ||
} | } | ||
Line 43: | Line 45: | ||
.mp-section { | .mp-section { | ||
width: 48%; | width: 48%; | ||
padding: | padding: 25px; | ||
border-radius: | border-radius: 12px; | ||
background-color: # | background-color: #ffffff; | ||
box-shadow: 0px | box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); | ||
box-sizing: border-box; | box-sizing: border-box; | ||
transition: all 0.3s ease; | |||
} | } | ||
.mp-section h2 { | .mp-section h2 { | ||
font-size: 1.8em; | font-size: 1.8em; | ||
font-weight: | font-weight: 700; | ||
color: # | color: #343a40; | ||
margin-bottom: | margin-bottom: 20px; | ||
text-transform: uppercase; | |||
letter-spacing: 1px; | |||
} | } | ||
Line 60: | Line 65: | ||
.mp-section p { | .mp-section p { | ||
font-size: 1.1em; | font-size: 1.1em; | ||
color: # | color: #495057; | ||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
Line 66: | Line 71: | ||
/* Styling for the "About the Wiki" section */ | /* Styling for the "About the Wiki" section */ | ||
#mp-leftsection { | #mp-leftsection { | ||
background-color: # | background-color: #f7f8fa; | ||
border: 1px solid #e0e0e0; | border: 1px solid #e0e0e0; | ||
border-radius: 10px; | |||
} | } | ||
/* Styling for the "Report Problems" section */ | /* Styling for the "Report Problems" section */ | ||
#mp-rightsection { | #mp-rightsection { | ||
background-color: # | background-color: #f7f8fa; | ||
border: 1px solid #e0e0e0; | border: 1px solid #e0e0e0; | ||
border-radius: 10px; | |||
} | } | ||
/* A little hover effect for better interaction */ | /* A little hover effect for better interaction */ | ||
.mp-section:hover { | .mp-section:hover { | ||
box-shadow: 0px | box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.1); | ||
transform: translateY(-5px); | transform: translateY(-5px); | ||
transition: | } | ||
/* 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; }