MédiaWiki:Gadget-dark-mode.css: Bina pantaraning révisi

Kontén kaapus Kontén kawewehin
aNénten wénten ringkesan uahan
a update per en.wiki date 04.12.2021
Carik 17:
*
*/
 
/** To prevent 'jumping' effect within #p-personal in Vector/Monobook. Overrides [[MediaWiki:Gadget-dark-mode-toggle-pagestyles.css]] **/
body.skin-vector-legacy :not(#pt-darkmode) + #pt-watchlist::before,
body.skin-monobook :not(#pt-darkmode) + #pt-watchlist::before {
content: "Light mode";
 
@media screen {
/* set height for monobook and timeless, because the filter in FF needs dimensions to get it to apply */
html {
height: 112px100%;
 
/* Filter needs to reside on `html`, see https://phabricator.wikimedia.org/T221425#5153917 */
Baris 25 ⁇ 36:
html img,
html video,
html ogvjs,
html svg,
html iframe,
html .mw-no-invert,
html td .diffchange,
html .mwe-math-element,
html .wvui-typeahead-suggestion__thumbnail,
html .skin-minerva .mw-notification-visible .mw-notification-content,
/* Extensions */
html .cdx-menu-item__thumbnail, /* T311835 */
html .cx-slitem__image,
html .mw-mmv-overlay,
html .mw-mmv-pre-image,
html .media-viewer .image img,
html .media-viewer .mw-file-description img,
html .mw-kartographer-map,
html .mw-kartographer-mapDialog-map,
Baris 44 ⁇ 61:
html .skin-vector .mw-logo-wordmark,
html .skin-vector .mw-logo-tagline,
html .skin-timeless #.mw-sitewiki-navigationtitle > {img,
html .wvui-icon svg {
filter: none;
Baris 57 ⁇ 75:
html .toc,
html .thumbinner,
html figure[typeof~='mw:File/Thumb'],
html figure[typeof~='mw:File/Frame'],
html figure[typeof~='mw:File/Thumb'] > figcaption,
html figure[typeof~='mw:File/Frame'] > figcaption,
html .wikitable,
html .cbnnr-main,
html .cx-callout,
html .overlay.media-viewer,
html #simpleSearch,
html #simpleSearch #searchInput,
Baris 80 ⁇ 103:
html .toc,
html .thumbinner,
html figure[typeof~='mw:File/Thumb'],
html figure[typeof~='mw:File/Frame'],
html figure[typeof~='mw:File/Thumb'] > figcaption,
html figure[typeof~='mw:File/Frame'] > figcaption,
html #mw-head,
html #mw-panel,
/* Vector 2022 uses a transparent border for margin collapsing
html #content.mw-body,
(T312822) so don't apply this rule there */
html.skin-vector-legacy #content.mw-body,
html #simpleSearch,
html #simpleSearch #searchInput,
Baris 122 ⁇ 151:
/* ::: Special Element Treatments ::: */
/* Image thumbnails */
html .thumbimage {,
html figure[typeof~='mw:File/Thumb'] > *:first-child > *:first-child:not( .mw-broken-media ),
html figure[typeof~='mw:File/Frame'] > *:first-child > *:first-child:not( .mw-broken-media ) {
border: 0;
}
Baris 129 ⁇ 160:
/* `*not( .mbox-image )` exception doesn't work for unclear reasons */
html .image img[ src*='svg' ],
html .mw-file-description img[ src*='svg' ],
html img[ src*='Wiktionary-logo'] {
background-color: #fff;
Baris 137 ⁇ 169:
html .mw-echo-ui-notificationItemWidget-icon img[ src*='svg' ],
html .mbox-image .image img[ src*='svg' ],
html .mbox-image .mw-file-description img[ src*='svg' ],
/* Emoji generated by [[Template:Emoji]] */
html .emoji .image img,
html .emoji .mw-file-description img,
/* Vote symbols on Talk pages */
html .image img[ alt^="Symbol" ] {,
html .mw-file-description img[ alt^="Symbol" ] {
background-color: transparent;
}
Baris 145 ⁇ 182:
html .mwe-popups {
box-shadow: 0 30px 90px -20px rgba( 0, 0, 0, 0.3 ), 0 0 1px #000;
 
html .mwe-popups .mwe-popups-extract[ dir='ltr' ]:after {
background-image: -webkit-linear-gradient( 90deg, rgba( 221, 221, 221, 0 ), #ddd 50% );
background-image: -moz-linear-gradient( 90deg, rgba( 221, 221, 221, 0 ), #ddd 50% );
background-image: linear-gradient( 90deg, rgba( 221, 221, 221, 0 ), #ddd 50% );
}
 
Baris 165 ⁇ 196:
html .cx-callout-1:after {
border-bottom-color: #ddd;
 
/* ::: Skin specific rules ::: */
/* Wikipedia globe fix */
.skin-vector #p-logo.mw-no-invert,
.skin-timeless #p-logo.mw-no-invert {
position: absolute;
top: 0;
height: 112px;
overflow: hidden;
 
/* Timeless globe fix */
.skin-timeless #mw-site-navigation {
position: relative;
 
.skin-timeless #p-logo.mw-no-invert {
left: 1em;
height: 124px;
}
 
Baris 198 ⁇ 209:
background: #000;
}
 
@-moz-document url-prefix() {
@supports (overflow-clip-margin: 1px) {
body {
background: #fff;
}
}
}