MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* Main Container: Full Width */ | ||
.main-container { | .main-container { | ||
width: 100%; | width: 100%; | ||
Line 31: | Line 31: | ||
} | } | ||
/* Columns | /* Ensure All Columns Have Equal Width */ | ||
.middle-section .column { | .middle-section .column { | ||
width: 100%; | width: 100%; | ||
Line 41: | Line 41: | ||
box-sizing: border-box; | box-sizing: border-box; | ||
box-shadow: 2px 2px 5px rgba(0,0,0,0.1); | box-shadow: 2px 2px 5px rgba(0,0,0,0.1); | ||
display: flex; | |||
flex-direction: column; | |||
justify-content: space-between; | |||
} | } | ||
/* Custom Icons for Sections | /* Custom Icons for Sections - Fixing the Duplicate Issue */ | ||
.section-title { | .section-title { | ||
font-size: 22px; | font-size: 22px; | ||
Line 55: | Line 53: | ||
margin-bottom: 10px; | margin-bottom: 10px; | ||
text-transform: uppercase; | text-transform: uppercase; | ||
position: relative; | |||
padding-left: 35px; | |||
} | |||
/* Assign Unique Icons to Each Section */ | |||
.personal-icon::before { | |||
content: "✨"; | |||
position: absolute; | |||
left: 10px; | |||
} | |||
.national-icon::before { | |||
content: "❤️"; | |||
position: absolute; | |||
left: 10px; | |||
} | |||
.global-icon::before { | |||
content: "🌎"; | |||
position: absolute; | |||
left: 10px; | |||
} | } | ||
Line 67: | Line 84: | ||
} | } | ||
/* Responsive Design: | /* Responsive Design: Ensure Equal Width Columns */ | ||
@media screen and (min-width: 768px) { | @media screen and (min-width: 768px) { | ||
.middle-section { | .middle-section { |