MediaWiki:Minerva.css: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
body, | html, body, #content, .mw-body, #mw-mf-page-center { | ||
background: var(--body-background); | |||
color: var(--text-color); | |||
} | } | ||
body { | .mw-parser-output .hlist dd, .mw-parser-output .hlist dt, .mw-parser-output .hlist li { | ||
background: #000; | color: #000; | ||
} | |||
.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; | |||
opacity: 1; | |||
} | |||
.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); | |||
} | |||
.mw-ui-icon { | |||
filter: var(--filter); | |||
} | |||
.oo-ui-popupWidget-popup .mw-ui-icon { | |||
filter: none !important; | |||
color: #000 !important; | |||
} | |||
.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-labelElement-label { | |||
color: #000; | |||
} | |||
.client-js .toc { | |||
background-color: var(--whiteblack); | |||
border-radius: 20px; | |||
padding: 10px; | |||
} | |||
.client-js .toc .toctitle .toctogglespan + .mw-ui-icon { | |||
top: inherit; | |||
} | |||
#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); | |||
} | |||
.thumbinner .trow { | |||
overflow: hidden; | |||
border-top-right-radius: 20px; | |||
border-top-left-radius: 20px; | |||
} | |||
.content table caption { | |||
background: transparent; | |||
} | |||
.infobox img { | |||
background: rgba(255,255,255,0.7); | |||
} | |||
.overlay { | |||
background: var(--translucent-background); | |||
-webkit-backdrop-filter: blur(20px); | |||
backdrop-filter: blur(20px); | |||
} | |||
.hatnote { | |||
background: var(--whitegrey); | |||
color: var(--caption); | |||
border-radius: 8px; | |||
margin: 7px 0px !important; | |||
} | |||
a { | |||
color: var(--link-color); | |||
} | |||
a:visited { | |||
color: var(--visited-link-color); | |||
} | |||
.content .infobox td:only-child, .content .infobox th:only-child { | |||
} | |||
.content .infobox th, .content .infobox td { | |||
border-bottom: none; | |||
padding: 10px 10px; | |||
} | |||
.infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { | |||
border-top: none; | |||
} | |||
.infobox.geography td, .infobox.geography th { | |||
border-top: none; | |||
} | |||
.infobox a, .wikitable a, table a { | |||
color: #3366cc; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
.content .infobox td:only-child, .content .infobox th:only-child { | |||
background-color: transparent !important; | |||
color: var(--text-color) !important; | |||
} | |||
.content .infobox tbody > tr > td, .content .infobox tbody > tr > th { | |||
background-color: transparent !important; | |||
color: var(--text-color) !important; | |||
} | |||
} | |||
.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; | |||
} | |||
.overlay.search-overlay .clear { | |||
display: block !important; | |||
} | |||
:root { | |||
--translucent-background: rgba(255, 255, 255, 0.85); | |||
--search-background: rgba(234, 236, 240, 0.8); | |||
--infobox-background: rgba(255, 255, 255, 1); | |||
--fancyinfobox-background: linear-gradient(180deg,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 96%,rgba(210,210,210,1) 100%); | |||
--menu-background: rgba(255, 255, 255, 0.98); | |||
--hatnote-background: rgba(234, 236, 240, 0.8); | |||
--body-background: #eef0f2; | |||
--text-color: #000000; | |||
--link-color: #3366cc; | |||
--visited-link-color: #6b4ba1; | |||
--filter: none; | |||
--caption: #54595d; | |||
--image-border: none; | |||
--whiteblack: #fff; | |||
--whitegrey: #fff; | |||
} | |||
@media (prefers-color-scheme: dark) { | |||
:root { | |||
--translucent-background: rgba(75, 75, 75, 0.8); | |||
--search-background: rgba(75, 75, 75, 0.8); | |||
--infobox-background: rgba(75, 75, 75, 0.8); | |||
--fancyinfobox-background: linear-gradient(180deg, rgba(75,75,75,0.8) 0%, rgba(75,75,75,0.8) 96%, rgba(130,130,130,0.9) 100%); | |||
--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; | |||
--whiteblack: #000; | |||
--whitegrey: rgba(75, 75, 75, 0.8); | |||
} | |||
} | } |
Revision as of 14:05, 21 September 2024
html, body, #content, .mw-body, #mw-mf-page-center { background: var(--body-background); color: var(--text-color); } .mw-parser-output .hlist dd, .mw-parser-output .hlist dt, .mw-parser-output .hlist li { color: #000; } .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; opacity: 1; } .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); } .mw-ui-icon { filter: var(--filter); } .oo-ui-popupWidget-popup .mw-ui-icon { filter: none !important; color: #000 !important; } .mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head > .oo-ui-labelElement-label { color: #000; } .client-js .toc { background-color: var(--whiteblack); border-radius: 20px; padding: 10px; } .client-js .toc .toctitle .toctogglespan + .mw-ui-icon { top: inherit; } #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); } .thumbinner .trow { overflow: hidden; border-top-right-radius: 20px; border-top-left-radius: 20px; } .content table caption { background: transparent; } .infobox img { background: rgba(255,255,255,0.7); } .overlay { background: var(--translucent-background); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); } .hatnote { background: var(--whitegrey); color: var(--caption); border-radius: 8px; margin: 7px 0px !important; } a { color: var(--link-color); } a:visited { color: var(--visited-link-color); } .content .infobox td:only-child, .content .infobox th:only-child { } .content .infobox th, .content .infobox td { border-bottom: none; padding: 10px 10px; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: none; } .infobox.geography td, .infobox.geography th { border-top: none; } .infobox a, .wikitable a, table a { color: #3366cc; } @media (prefers-color-scheme: dark) { .content .infobox td:only-child, .content .infobox th:only-child { background-color: transparent !important; color: var(--text-color) !important; } .content .infobox tbody > tr > td, .content .infobox tbody > tr > th { background-color: transparent !important; color: var(--text-color) !important; } } .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; } .overlay.search-overlay .clear { display: block !important; } :root { --translucent-background: rgba(255, 255, 255, 0.85); --search-background: rgba(234, 236, 240, 0.8); --infobox-background: rgba(255, 255, 255, 1); --fancyinfobox-background: linear-gradient(180deg,rgba(255,255,255,1) 0%,rgba(255,255,255,1) 96%,rgba(210,210,210,1) 100%); --menu-background: rgba(255, 255, 255, 0.98); --hatnote-background: rgba(234, 236, 240, 0.8); --body-background: #eef0f2; --text-color: #000000; --link-color: #3366cc; --visited-link-color: #6b4ba1; --filter: none; --caption: #54595d; --image-border: none; --whiteblack: #fff; --whitegrey: #fff; } @media (prefers-color-scheme: dark) { :root { --translucent-background: rgba(75, 75, 75, 0.8); --search-background: rgba(75, 75, 75, 0.8); --infobox-background: rgba(75, 75, 75, 0.8); --fancyinfobox-background: linear-gradient(180deg, rgba(75,75,75,0.8) 0%, rgba(75,75,75,0.8) 96%, rgba(130,130,130,0.9) 100%); --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; --whiteblack: #000; --whitegrey: rgba(75, 75, 75, 0.8); } }