Difference between revisions of "User:Tibbroar/common.css"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
} | } | ||
.header .search-box { | .header .search-box { |
Revision as of 22:24, 29 October 2023
} .header .search-box { display: none; } #mw-mf-page-left ul.hlist li a { color: var(--link-color); } .overlay-header-container, .overlay-footer-container { background: var(--translucent-background); } .content table.infobox { background-color: #fff; border: none; } #mw-mf-page-left { right: 0; top: 0; left: inherit; background: var(--translucent-background); -webkit-transform: translate(100%,0); -moz-transform: translate(100%,0); -ms-transform: translate(100%,0); transform: translate(100%,0); } #main-menu-input:checked ~ .main-menu-mask { opacity: 1; } .mw-searchresults-has-iw .iw-resultset { background: var(--infobox-background); } #main-menu-input:checked ~ body { overflow: hidden !important; } .main-menu-mask { background: rgba(0,0,0,0.2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); } /* Dark Mode */ html, body, #content, .mw-body, #mw-mf-page-center { background: var(--body-background); color: var(--text-color); } .toggle-list__list { background: var(--translucent-background); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } .toggle-list-item:hover { background: var(--body-background); } .toggle-list-item__label { color: var(--text-color); } #mw-usercssyoucanpreview { background: #fff; } .mw-highlight { background: var(--translucent-background); border-radius: 20px; border: 0; } .wikitable, table { color: #000; background: #fff; } .page-summary h2, .page-summary h3, .overlay.search-overlay li.page-summary .wikidata-description { color: var(--text-color); } .unicode, .haudio { filter: var(--filter); } .branding-box img { filter: var(--filter); } .header .branding-box { width: 0px; transition: 100ms ease-in-out; } .header .branding-box h1 img, .header .branding-box a img { transition: 250ms ease-in-out; } .mw-ui-icon-element, .mw-ui-icon-before:before { filter: var(--filter); } .client-js .toc { background-color: var(--body-background); border-radius: 20px; } #pt-notifications-alert .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read, #pt-notifications-notice .mw-echo-notifications-badge.mw-echo-notifications-badge-all-read { opacity: 1; filter: var(--filter); } .minerva__tab-container .minerva__tab:visited, .minerva__tab-container .minerva__tab:hover, .minerva__tab-container .minerva__tab:active, .minerva__tab-container .minerva__tab.new, .minerva__tab-container .minerva__tab.new:visited, .minerva__tab-container .minerva__tab.new:active, .minerva__tab-container .minerva__tab.new:hover { color: var(--text-color); } #mw-mf-page-left ul li a { color: var(--text-color); } .content figure .thumbinner, .content .thumb .thumbinner { border-radius: 20px; border: none; background: var(--infobox-background); box-shadow: 3px 3px 6px rgba(0,0,0,0.2); } .overlay { background: var(--translucent-background); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } .hatnote { background: var(--translucent-background); color: var(--caption); border-radius: 10px; } a { color: var(--link-color); } a:visited { color: var(--visited-link-color); } .infobox a, .wikitable a, table a { color: #3366cc; } .infobox a:visited, .wikitable a:visited, table a:visited { color: #6b4ba1; } .infobox img { border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; } .infobox .thumb { border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; } .infobox .thumbimage { border-top-right-radius: 0 !important; border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; } :root { --translucent-background: rgba(234, 236, 240, 0.8); --infobox-background: rgba(255, 255, 255, 1); --menu-background: rgba(234, 236, 240, 0.96); --hatnote-background: rgba(234, 236, 240, 0.8); --body-background: #ffffff; --text-color: #000000; --link-color: #3366cc; --visited-link-color: #6b4ba1; --filter: none; --caption: #54595d; --image-border: none; } @media (prefers-color-scheme: dark) { :root { --translucent-background: rgba(75, 75, 75, 0.8); --infobox-background: rgba(75, 75, 75, 0.8); --menu-background: rgba(75, 75, 75, 0.96); --hatnote-background: rgba(75, 75, 75, 0.5); --body-background: #000; --text-color: #fff; --link-color: #9eb6e7; --visited-link-color: #c0b0da; --filter: brightness(0) invert(1); --caption: #fff; --image-border: 2px solid #fff; } } /* Banner */ #searchInput { border-radius: 10px; } @media screen and (min-width: 720px) { } .search-overlay { z-index: 3; } #mw-mf-page-left ul { padding-bottom: 0px; padding-top: 22px; } #mw-mf-page-left { z-index: 4; } #mw-mf-page-left ul li a { color: var(--text-color); } #mw-mf-page-left ul li { background: transparent; border: none; } .overlay.search-overlay.visible { overflow: scroll; } .overlay.search-overlay .results, .overlay.search-overlay .search-feedback { background: transparent; box-shadow: none; } .overlay.search-overlay li.page-summary { margin-bottom: 20px; margin-top: 10px; border: 0; box-shadow: 3px 3px 6px rgba(0,0,0,0.20); border-radius: 20px; } .page-list, .topic-title-list, .site-link-list { overflow: visible; } .list-thumb.list-thumb-y { border-top-left-radius: 20px; border-bottom-left-radius: 20px; } .overlay.search-overlay .search-content { border-bottom: 0;