MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (15 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* | /** Slim donation banner **/ | ||
.donate-banner { | .icelist-donate-banner { | ||
background: #fff8f8; | |||
border-bottom: 1px solid #e7bcbc; | |||
text-align: center; | |||
padding: 6px 0; | |||
font-size: 0.85em; | |||
} | } | ||
.icelist-donate-banner a { | |||
.donate-banner | font-weight: bold; | ||
} | } | ||
/* Hide username, talk link, and notification bell in the personal toolbar */ | |||
. | #pt-userpage, | ||
#pt-mytalk, | |||
.mw-echo-notifications-badge, | |||
.mw-echo-notifications, | |||
#pt-notifications-alert, | |||
#pt-notifications-notice { | |||
display: none !important; | |||
} | } | ||
/* HOMEPAGE LAYOUT FIX */ | |||
. | .icelist-homepage-columns { | ||
display: flex; | |||
flex-direction: row; | |||
align-items: flex-start; | |||
justify-content: space-between; | |||
gap: 1.5em; | |||
width: 100%; | |||
} | } | ||
. | /* Each column */ | ||
.icelist-homepage-column { | |||
flex: 1; | |||
min-width: 320px; | |||
max-width: 100%; | |||
} | } | ||
. | /* Mobile / tablet breakpoint */ | ||
@media (max-width: 900px) { | |||
.icelist-homepage-columns { | |||
flex-direction: column; | |||
} | |||
} | } | ||