MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| (22 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
body { | |||
border-bottom-color: rgb(0, 203, 159); | |||
background-image: url("https://www.mediawiki.org/w/skins/Timeless/resources/images/cat.svg?558fd"); | |||
background-repeat: no-repeat; | |||
background-position: center 10em; | |||
} | |||
/* Make the font size a touch bigger on vector elements*/ | |||
.vector-pinnable-element, | |||
.vector-page-toolbar-container, | |||
.vector-user-links-main .vector-menu-content-list, | |||
.vector-search-box{ | |||
font-size:1rem; | |||
} | |||
/* disable the Dark Mode invert */ | /* disable the Dark Mode invert */ | ||
/* | /* | ||
| Line 415: | Line 429: | ||
text-decoration: none; | text-decoration: none; | ||
background: #5865F2; | background: #5865F2; | ||
margin-bottom: 4px; | |||
color: #fff !important; | color: #fff !important; | ||
} | } | ||
| Line 435: | Line 450: | ||
display: block; | display: block; | ||
} | } | ||
/* | |||
#mw-panel a[href="https://github.com/FULU-Foundation/CRW-Extension"]::after{ | #mw-panel a[href="https://github.com/FULU-Foundation/CRW-Extension"]::after{ | ||
content: "This extension is currently under development. Once complete,\00A0it will notify you when you're viewing a product,\00A0site,\00A0or\00A0service that has an article on our wiki."; | content: "This extension is currently under development. Once complete,\00A0it will notify you when you're viewing a product,\00A0site,\00A0or\00A0service that has an article on our wiki."; | ||
| Line 445: | Line 460: | ||
line-height: 1.2; | line-height: 1.2; | ||
} | } | ||
*/ | |||
/* Jake */ | /* Jake */ | ||
| Line 510: | Line 525: | ||
@media screen and (prefers-color-scheme: dark) { | @media screen and (prefers-color-scheme: dark) { | ||
html.skin-theme-clientpref-os .vector-header .vector-dropdown-content { | html.skin-theme-clientpref-os .vector-header .vector-dropdown-content { | ||
background: # | background: #202122 !important; | ||
border-color: rgba(255,255,255,0.18) !important; | border-color: rgba(255,255,255,0.18) !important; | ||
} | } | ||
| Line 781: | Line 796: | ||
} | } | ||
/* */ | /* */ | ||
/* | |||
#left-navigation{ | #left-navigation{ | ||
display: flex; | display: flex; | ||
| Line 793: | Line 809: | ||
gap: 8px; | gap: 8px; | ||
} | } | ||
*/ | |||
#p-associated-pages .vector-menu-content-list{ | #p-associated-pages .vector-menu-content-list{ | ||
display: flex; | display: flex; | ||
| Line 875: | Line 891: | ||
align-items: center; | align-items: center; | ||
text-decoration: none; | text-decoration: none; | ||
} | |||
@media screen and (prefers-color-scheme: dark) { | |||
/* Automatic mode search styles */ | |||
html.skin-theme-clientpref-os #p-search .cdx-text-input__input{ | |||
background: #202122 !important; | |||
color: #f8f9fa !important; | |||
border-color: rgba(255,255,255,0.18) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-text-input__input::placeholder{ | |||
color: rgba(248,249,250,0.6) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-text-input__start-icon{ | |||
filter: none !important; | |||
color: #f8f9fa !important; | |||
fill: #f8f9fa !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu{ | |||
background: #202122 !important; | |||
border-color: rgba(255,255,255,0.18) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-typeahead-search__menu *, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu *{ | |||
color: #f8f9fa !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-menu__item--highlighted, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu-item--highlighted, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu__item:hover, | |||
html.skin-theme-clientpref-os #p-search .cdx-menu-item:hover{ | |||
background: rgba(255,255,255,0.08) !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-menu a{ | |||
color: #8ab4f8 !important; | |||
} | |||
html.skin-theme-clientpref-os #p-search .cdx-menu a:visited{ | |||
color: #c58af9 !important; | |||
} | |||
} | |||
.vector-page-titlebar { | |||
--border-color-base: transparent; | |||
} | |||
#mw-panel a[href*="chromewebstore.google.com"] { | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | |||
border-radius: 6px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
background: #1a73e8; | |||
color: #fff !important; | |||
margin-bottom: 4px; | |||
} | |||
#mw-panel a[href*="chromewebstore.google.com"]::before { | |||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Chrome-white-icon2.png") center / contain no-repeat; | |||
} | |||
#mw-panel a[href*="chromewebstore.google.com"]:hover { | |||
filter: brightness(0.95); | |||
} | |||
#mw-panel a[href*="addons.mozilla.org"] { | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | |||
border-radius: 6px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
background: #ff6611; | |||
color: #fff !important; | |||
} | |||
#mw-panel a[href*="addons.mozilla.org"]::before { | |||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Firefox-white-icon3.png") center / contain no-repeat; | |||
} | |||
#mw-panel a[href*="addons.mozilla.org"]:hover { | |||
filter: brightness(0.95); | |||
} | |||
#mw-panel a[href*="zulip.consumerrights.wiki"]{ | |||
display: flex; | |||
align-items: center; | |||
gap: 8px; | |||
padding: 10px 12px; | |||
border-radius: 6px; | |||
font-weight: 600; | |||
text-decoration: none; | |||
background: #6492FE; | |||
color: #fff !important; | |||
margin-bottom: 4px; | |||
} | |||
#mw-panel a[href*="zulip.consumerrights.wiki"]::before{ | |||
content: ""; | |||
width: 18px; | |||
height: 18px; | |||
flex: 0 0 18px; | |||
background: url("/w/Special:FilePath/Zulip-white-icon.png") center / contain no-repeat; | |||
} | |||
#mw-panel a[href*="zulip.consumerrights.wiki"]:hover{ | |||
filter: brightness(0.95); | |||
} | } | ||