MediaWiki:Common.css: Difference between revisions
Created page with "→CSS placed here will be applied to all skins: →Donate banner: .donate-banner { background: #fbecec; border: 1px solid #f3332b; padding: 0.75em 1em; margin: 0 0 1em 0; text-align: center; font-size: 0.95em; line-height: 1.4; } .donate-banner strong { margin-right: 0.4em; } .donate-banner a.donate-banner-button { display: inline-block; margin-left: 0.6em; padding: 0.35em 0.9em; border-radius: 999px; text-decoration: none; border: 1px..." |
No edit summary |
||
| (16 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; | |||
} | |||
} | } | ||