MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 889: | Line 889: | ||
#siteNotice.mw-dismissed { | #siteNotice.mw-dismissed { | ||
display: none; | display: none; | ||
} | |||
/* When DismissableSiteNotice hides the notice with visibility:hidden, | |||
also collapse the layout so no grey bar remains. */ | |||
#siteNotice .mw-dismissable-notice-close[style*="visibility: hidden"] { | |||
display: none !important; | |||
} | |||
/* If the notice wrapper is otherwise empty/hidden, kill its spacing */ | |||
#siteNotice { | |||
min-height: 0 !important; | |||
padding: 0 !important; | |||
margin: 0 !important; | |||
border: 0 !important; | |||
} | } | ||