|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| 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: 100%;
| |
| }
| |
|
| |
| /* Filter needs to reside on `html`, see https://phabricator.wikimedia.org/T221425#5153917 */
| |
| html,
| |
| /* All other selectors have `filter` double-applied to turn back to “normal” by inheritance */
| |
| html video:not( .mw-invert ),
| |
| html ogvjs:not( .mw-invert ),
| |
| html .mw-no-invert,
| |
| html .cdx-no-invert,
| |
| html td .diffchange,
| |
| html .skin-minerva .mw-notification-visible .mw-notification-content,
| |
| html .oo-ui-searchWidget-results .oo-ui-iconElement-icon,
| |
| html .list-thumb,
| |
| /* Extensions */
| |
|
| |
|
| |
| /* Reset overrides, needed where double application above isn't working. */
| |
| /* Vector modern */
| |
| html .skin-vector .mw-logo-wordmark,
| |
| html .skin-vector .mw-logo-tagline,
| |
| }
| |
|
| |
| /* Backgrounds */
| |
| html table,
| |
| html table.ambox-content,
| |
| html table.toccolours,
| |
| html .mw-notification,
| |
| html .mwe-popups,
| |
| html .infobox,
| |
| html .toc,
| |
| html .wikitable,
| |
| html .cbnnr-main,
| |
| html .cx-callout,
| |
| html #simpleSearch,
| |
| html #simpleSearch #searchInput,
| |
|
| |
| /* Borders */
| |
| html body,
| |
| html h1,
| |
| html h2,
| |
| html h3,
| |
| html h4,
| |
| html h5,
| |
| html h6,
| |
| html table.ambox-content,
| |
| html .mw-notification,
| |
| html .infobox,
| |
| html .toc,
| |
| html #mw-head,
| |
| html #mw-panel,
| |
| /* Vector 2022 uses a transparent border for margin collapsing
| |
| (T312822) so don't apply this rule there */
| |
| .skin-vector-legacy #content.mw-body,
| |
| html #simpleSearch,
| |
| html #simpleSearch #searchInput,
| |
| html #siteNotice #centralNotice .cnotice {
| |
| border-color: #cdcbc8;
| |
| }
| |
|
| |
| /* Links */
| |
| /* Links: normal */
| |
| html a,
| |
| html .vector-menu-tabs li a,
| |
| /* Backwards compatible VectorTabs, deprecated in MW v1.35. */
| |
| html .vectorTabs li a,
| |
| html .toctogglelabel,
| |
| html .mw-parser-output a.external,
| |
| html .mw-parser-output a.extiw,
| |
| html .mw-parser-output a.extiw:active,
| |
|
| |
|
| |
| /* Links: visited */
| |
| html a:visited,
| |
| html .mw-parser-output a.extiw:visited,
| |
| html #mw-panel .portal .body li a:visited {
| |
| /* color: #709bbd; Proposal below uses to-be-standardized color from https://phabricator.wikimedia.org/T213778 */
| |
| color: #6b4ba1;
| |
| }
| |
|
| |
| /* Links: red */
| |
| html a.new,
| |
| html .vector-menu-tabs li.new a,
| |
| html .vectorTabs li.new a {
| |
| color: #ff6e6e;
| |
| }
| |
|
| |
| /* ::: Special Element Treatments ::: */
| |
| /* Image thumbnails */
| |
|
| |
|
| |
|
| |
|
| |
| /* Page previews */
| |
| html .mwe-popups {
| |
| box-shadow: 0 30px 90px -20px rgba( 0, 0, 0, 0.3 ), 0 0 1px #000;
| |
| }
| |
|
| |
| html .mwe-popups.flipped-y:after,
| |
| html .mwe-popups.flipped-x-y:after {
| |
| border-top: 11px solid #ddd;
| |
| }
| |
|
| |
| /* Contributions menu */
| |
| html .cx-callout-1:after {
| |
| border-bottom-color: #ddd;
| |
| }
| |
|
| |
|
| |
| }
| |
|
| |
|
| |
| @-moz-document url-prefix() {
| |
| @supports (overflow-clip-margin: 1px) {
| |
| body {
| |
| background: #fff;
| |
| }
| |
| }
| |
| }
| |