/* All styles for Widget:Sitenotice See detailed documentation in Dev/mediawiki */ /* --------------------- */ /* 1. General SiteNotice */ #siteNotice { display: none; } #siteNotice #localNotice, p { margin: 0; } #siteNotice.hide-notice { display: none !important; } #siteNotice .sitenotice-body { position: relative; } #siteNotice .sitenotice-body > p { display: none; } #siteNotice .sitenotice-close { width: 30px; height: 30px; position: absolute; top: -10px; right: -10px; filter: brightness( 2 ); z-index: 10; cursor: pointer; padding: 4px 0 9px; border-radius: 100px; background: #111; } #siteNotice .sitenotice-close img { width: 100%; height: 100%; object-fit: contain; } #siteNotice .sitenotice-close:hover { transform: scale( 1.2 ); } #siteNotice .sitenotice-close:hover ~ .sitenotice-content { opacity: .7; } #siteNotice .sitenotice-close.dark { filter: brightness( 0 ); } #siteNotice .sitenotice-close.dark:hover { filter: brightness( .9 ); } /* -------------- */ /* 2. All Banners */ #siteNotice .banner { box-shadow: 2px 2px 6px rgb(0 0 0 / 20%); border-radius: 8px; overflow: hidden; display: block; position: relative; text-align: center; } #siteNotice .banner > *, #siteNotice .banner > div > a { vertical-align: middle; min-height: 50px; display: block; width: 100%; } #siteNotice .banner img.full-size { width: 100%; height: auto; } /* ----------------------------------------- */ /* 3. Individual banner styles for all wikis */ /* 3.1. Banner b001 */ #siteNotice .banner#b001 > a { padding: 7px 0; background: linear-gradient( #22a7dF, #43b3f1 ); color: white; font-size: 20px; border-radius: 10px; border: 1px solid #22a7dF; text-decoration: none; } #siteNotice .banner#b001 > a:hover { background: linear-gradient( #1297cF, #43b3f1 ); } #siteNotice .banner#b001 .icon { height: 40px; } #siteNotice .banner#b001 span { position: relative; top: 3px; left: 21px; text-shadow: 1px 1px 2px rgb(0 0 0 / 10%); } /* [[Category:MultiWiki]] */