MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(Updating CSS from MediaWiki:Common.less)
(Updating CSS from MediaWiki:Common.less)
Line 29: Line 29:
--osrsw-brown: #605443;
--osrsw-brown: #605443;
--thumb-bg: var(--body-light);
--thumb-bg: var(--body-light);
--thumb-caption-bg: var(--body-mid);
--thumb-caption-bg: var(--body-dark);
--sourceeditor-input-background: #fff;
--sourceeditor-input-background: #fff;
--sourceeditor-background: var(--body-light);
--sourceeditor-background: var(--body-light);
Line 223: Line 223:
figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
figure[typeof~='mw:File/Thumb'] > .mw-file-magnify::after {
background: none !important;
background: none !important;
}

figure[typeof~='mw:File/Thumb'] > figcaption,
figure[typeof~='mw:File/Frame'] > figcaption,
figure[typeof~='mw:Image/Thumb'] > figcaption,
figure[typeof~='mw:Video/Thumb'] > figcaption,
figure[typeof~='mw:Image/Frame'] > figcaption,
figure[typeof~='mw:Video/Frame'] > figcaption {
background-color: var(--thumb-caption-bg);
color: #fff;
}
}