MediaWiki:Vector-2022.css: Difference between revisions
Appearance
Content deleted Content added
Better solution - Do not apply to any infobox table. |
Copy rule across from MediaWiki:Minerva.css |
||
Line 38: | Line 38: | ||
text-decoration: underline; |
text-decoration: underline; |
||
} |
} |
||
html.skin-theme-clientpref-night .infobox a { |
|||
color: var( --color-progressive ) !important; |
|||
} |
|||
@media (prefers-color-scheme: dark) { |
@media (prefers-color-scheme: dark) { |
||
Line 46: | Line 51: | ||
color: #202122; /* replace with --color-base-fixed when token is available */ |
color: #202122; /* replace with --color-base-fixed when token is available */ |
||
text-decoration: underline; |
text-decoration: underline; |
||
} |
|||
html.skin-theme-clientpref-os .infobox a { |
|||
color: var( --color-progressive ) !important; |
|||
} |
} |
||
} |
} |
Revision as of 00:18, 11 July 2024
/**
* Note: [[MediaWiki:Common.css]] is loaded in addition to these styles
* Please use [[Extension:TemplateStyles]] where possible.
*/
#coordinates {
line-height: 2;
font-size: 92%;
white-space: nowrap;
}
/* Don't display some stuff on the main page */
.page-Main_Page #deleteconfirm,
.page-Main_Page #t-cite,
.page-Main_Page #footer-info-lastmod,
.action-view.page-Main_Page #siteSub,
.action-view.page-Main_Page #contentSub,
.action-view.page-Main_Page #contentSub2 {
display: none !important;
}
/* Override [[phab:T265947]] */
.mw-body-content blockquote {
border-left: none;
}
/* Workaround for [[phab:T367463]] - can be removed when task is fixed */
body.skin--responsive .mw-parser-output td a > img {
max-width: none !important;
}
/* [[phab:T360844]] */
html.skin-theme-clientpref-night table:not(.infobox) [bgcolor] a,
html.skin-theme-clientpref-night table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
html.skin-theme-clientpref-night table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
/* should not apply to th elements which have their own background. */
html.skin-theme-clientpref-night table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
color: #202122; /* replace with --color-base-fixed when token is available */
text-decoration: underline;
}
html.skin-theme-clientpref-night .infobox a {
color: var( --color-progressive ) !important;
}
@media (prefers-color-scheme: dark) {
html.skin-theme-clientpref-os table:not(.infobox) [bgcolor] a,
html.skin-theme-clientpref-os table:not(.infobox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
html.skin-theme-clientpref-os table:not(.infobox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a,
html.skin-theme-clientpref-os table:not(.infobox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a {
color: #202122; /* replace with --color-base-fixed when token is available */
text-decoration: underline;
}
html.skin-theme-clientpref-os .infobox a {
color: var( --color-progressive ) !important;
}
}