MediaWiki:Common.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 25: | Line 25: | ||
margin-top: 1em; | margin-top: 1em; | ||
justify-content: flex-start; /* ← important change */ | justify-content: flex-start; /* ← important change */ | ||
} | |||
.pm-wide-grid { | |||
display: flex; | |||
flex-wrap: wrap; | |||
gap: 1.5em; | |||
justify-content: space-between; | |||
margin-top: 2em; | |||
} | |||
.pm-wide-grid .pm-box { | |||
flex: 1 1 calc(33.333% - 1em); /* 3 in a row */ | |||
max-width: 100%; | |||
} | |||
@media (max-width: 800px) { | |||
.pm-wide-grid .pm-box { | |||
flex: 1 1 100%; /* stack on narrow screens */ | |||
} | |||
} | } | ||
| Line 46: | Line 65: | ||
background-color: #fef6e9; | background-color: #fef6e9; | ||
border-left: 5px solid #d88c3d; | border-left: 5px solid #d88c3d; | ||
} | |||
.pm-blue { | |||
background-color: #eef4f9; | |||
border-left: 5px solid #4a6fa5; /* Slate Blue accent */ | |||
} | |||
.pm-gold { | |||
background-color: #fdf5e6; | |||
border-left: 5px solid #b48a52; | |||
} | } | ||
| Line 95: | Line 124: | ||
color: #2c3e50; | color: #2c3e50; | ||
margin-bottom: 0.25em; | margin-bottom: 0.25em; | ||
} | |||
/* Works & Days Ad */ | |||
.works-days-callout { | |||
background-color: #eef4f9; /* same pale blue */ | |||
border-left: 5px solid #4a6fa5; | |||
margin-top: 3em; | |||
} | |||
.works-days-callout .pm-box-label { | |||
font-size: 1.3em; | |||
color: #2c3e50; | |||
} | |||
.works-days-callout em { | |||
font-style: italic; | |||
font-weight: bold; | |||
} | } | ||