Citizen.css: Difference between revisions
MediaWiki interface page
More actions
Content deleted Content added
No edit summary |
No edit summary |
||
| Line 10: | Line 10: | ||
--font-family-base: 'Afacad-Regular', sans-serif; |
--font-family-base: 'Afacad-Regular', sans-serif; |
||
--font-size-base: 1rem; |
--font-size-base: 1rem; |
||
| ⚫ | |||
} |
} |
||
| Line 27: | Line 28: | ||
--color-base--emphasized: #000000; |
--color-base--emphasized: #000000; |
||
--color-base--subtle: #000000; |
--color-base--subtle: #000000; |
||
} |
|||
/* General body styling */ |
|||
body { |
|||
font-family: var(--font-family-base); |
|||
| ⚫ | |||
} |
} |
||
Revision as of 10:55, 17 February 2025
/* All CSS here will be loaded for users of the Citizen skin */
/* Font import */
@font-face {
font-family: 'Afacad-Regular';
src: url('https://wiki.arcitex.net/images/fonts/Afacad-Regular.ttf') format('truetype');
}
:root {
--font-family-base: 'Afacad-Regular', sans-serif;
--font-size-base: 1rem;
transition: background 0.3s, color 0.3s;
}
/* Light/Dark Mode Support */
/* Dark mode styles */
:root.skin-theme-clientpref-night {
--color-surface-0: #02022b;
--color-base: #ffffff;
--color-base--emphasized: #ffffff;
--color-base--subtle: #ffffff;
}
/* Light mode styles */
:root.skin-theme-clientpref-light {
--color-surface-0: #ffffff;
--color-base: #000000;
--color-base--emphasized: #000000;
--color-base--subtle: #000000;
}
/* Normal links */
a {
color: #f72a57;
transition: color 0.3s;
}
/* Visited links */
a:visited {
color: #f72a57;
}
/* Links when hovered */
a:hover {
color: #f72a57;
}
/* Active (clicked) links */
a:active {
color: #f72a57;
}
/* New page links */
a.new {
color: #6A38B3 !important;
}
.skin-theme-clientpref-night blockquote p {
color: #2A3D57;
}
.skin-theme-clientpref-night figure.mw-default-size figcaption {
color: #2A3D57;
}