Template:MainPageBanner/styles.css: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
#mp-topbanner { | #mp-topbanner { | ||
background-color: #f4f4f4; | background-color: #f4f4f4; | ||
padding: | padding: 20px; | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
margin-bottom: | margin-bottom: 15px; | ||
text-align: center; | |||
} | } | ||
#mp-welcomecount { | #mp-welcomecount { | ||
font-size: 1.2em; | |||
color: #333; | |||
} | } | ||
#mp-welcome h1 { | #mp-welcome h1 { | ||
font-size: | font-size: 2.5em; | ||
font-weight: bold; | font-weight: bold; | ||
color: #333; | |||
margin: 10px 0; | |||
} | } | ||
Line 19: | Line 23: | ||
font-size: 1.2em; | font-size: 1.2em; | ||
margin-top: 5px; | margin-top: 5px; | ||
color: #555; | |||
} | } | ||
#articlecount { | #articlecount { | ||
font-size: 1.1em; | font-size: 1.1em; | ||
color: # | color: #777; | ||
margin-top: 10px; | margin-top: 10px; | ||
} | } | ||
/* Main container for the left and right sections */ | |||
/* | |||
#mp-container { | #mp-container { | ||
display: flex; | display: flex; | ||
justify-content: space-between; | justify-content: space-between; | ||
gap: | gap: 30px; | ||
margin-top: 15px; | margin-top: 15px; | ||
} | } | ||
/* General section styling */ | |||
.mp-section { | .mp-section { | ||
width: 48%; | width: 48%; | ||
padding: | padding: 20px; | ||
background-color: # | border-radius: 8px; | ||
background-color: #fff; | |||
box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); | |||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
/* | .mp-section h2 { | ||
#mp- | font-size: 1.8em; | ||
font-weight: 600; | |||
color: #333; | |||
background-color: # | margin-bottom: 15px; | ||
border: 1px solid # | } | ||
/* Styling for the text inside the sections */ | |||
.mp-section p { | |||
font-size: 1.1em; | |||
color: #555; | |||
line-height: 1.6; | |||
} | |||
/* Styling for the "About the Wiki" section */ | |||
#mp-leftsection { | |||
background-color: #fafafa; | |||
border: 1px solid #e0e0e0; | |||
} | |||
/* Styling for the "Report Problems" section */ | |||
#mp-rightsection { | |||
background-color: #fafafa; | |||
border: 1px solid #e0e0e0; | |||
} | |||
/* A little hover effect for better interaction */ | |||
.mp-section:hover { | |||
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); | |||
transform: translateY(-5px); | |||
transition: all 0.3s ease; | |||
} | } |
Revision as of 19:52, 2 January 2025
/* General styles for sections */ #mp-topbanner { background-color: #f4f4f4; padding: 20px; border: 1px solid #ccc; margin-bottom: 15px; text-align: center; } #mp-welcomecount { font-size: 1.2em; color: #333; } #mp-welcome h1 { font-size: 2.5em; font-weight: bold; color: #333; margin: 10px 0; } #mp-free { font-size: 1.2em; margin-top: 5px; color: #555; } #articlecount { font-size: 1.1em; color: #777; margin-top: 10px; } /* Main container for the left and right sections */ #mp-container { display: flex; justify-content: space-between; gap: 30px; margin-top: 15px; } /* General section styling */ .mp-section { width: 48%; padding: 20px; border-radius: 8px; background-color: #fff; box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1); box-sizing: border-box; } .mp-section h2 { font-size: 1.8em; font-weight: 600; color: #333; margin-bottom: 15px; } /* Styling for the text inside the sections */ .mp-section p { font-size: 1.1em; color: #555; line-height: 1.6; } /* Styling for the "About the Wiki" section */ #mp-leftsection { background-color: #fafafa; border: 1px solid #e0e0e0; } /* Styling for the "Report Problems" section */ #mp-rightsection { background-color: #fafafa; border: 1px solid #e0e0e0; } /* A little hover effect for better interaction */ .mp-section:hover { box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); transform: translateY(-5px); transition: all 0.3s ease; }