MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 42: | Line 42: | ||
flex-direction: column; | flex-direction: column; | ||
} | } | ||
} | |||
/* Hide "Create pages" section from anonymous users */ | |||
body.anon #p-createpages { | |||
display: none; | |||
} | } | ||
Revision as of 09:26, 12 December 2025
/* CSS placed here will be applied to all skins */
/** Slim donation 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 {
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;
}
}
/* Hide "Create pages" section from anonymous users */
body.anon #p-createpages {
display: none;
}