MediaWiki:Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
test |
No edit summary |
||
| Line 3: | Line 3: | ||
:root { |
|||
figure[typeof~='mw:File'] > a:first-child:hover:not(.lazy):not(.new) img, |
|||
--transform-image-hover: none; |
|||
figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not(.lazy):not(.new) img, |
|||
--card-background: linear-gradient(to right,#101214,#0c0e10); |
|||
figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not(.lazy):not(.new) img, |
|||
} |
|||
figure[typeof~='mw:File/Frame'] > a:first-child:hover:not(.lazy):not(.new) img, |
|||
figure[typeof~='mw:File'] > a:first-child:hover:not(.lazy):not(.new) source, |
|||
:root.skin-theme-clientpref-day { |
|||
figure[typeof~='mw:File/Frameless'] > a:first-child:hover:not(.lazy):not(.new) source, |
|||
--card-background: #e1e1e1; |
|||
figure[typeof~='mw:File/Thumb'] > a:first-child:hover:not(.lazy):not(.new) source, |
|||
figure[typeof~='mw:File/Frame'] > a:first-child:hover:not(.lazy):not(.new) source { |
|||
transform:scale(1) |
|||
} |
} |
||
Revision as of 15:22, 27 October 2025
/* All CSS here will be loaded for users of the Citizen skin */
@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
:root {
--transform-image-hover: none;
--card-background: linear-gradient(to right,#101214,#0c0e10);
}
:root.skin-theme-clientpref-day {
--card-background: #e1e1e1;
}
ul {
margin-inline: 1.2rem 0;
}