Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
Revision as of 03:03, 25 February 2025 by Muqsit (talk | contribs) (Created page with "All CSS here will be loaded for users of the Citizen skin: Icons: .citizen-drawer__menu [id^="n-sidebar-icon-"] a { font-size: 0; content-visibility: auto; } .citizen-drawer__menu [id^="n-sidebar-icon-"] a:before { display: block; content: ""; width: var( --size-icon ); height: var( --size-icon ); background-color: currentColor; mask-size: contain; mask-repeat: no-repeat; mask-position: center; } #n-sidebar-icon-discord a:before { m...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Citizen skin */
/* Icons */
.citizen-drawer__menu [id^="n-sidebar-icon-"] a {
	font-size: 0;
    content-visibility: auto;

}

.citizen-drawer__menu [id^="n-sidebar-icon-"] a:before {
	display: block;
    content: "";
    width: var( --size-icon );
    height: var( --size-icon );
    background-color: currentColor;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
}

#n-sidebar-icon-discord a:before {
	mask-image: url( https://media.starcitizen.tools/7/77/Discord_-_Simple_Icons.svg );
}

#n-sidebar-icon-twitter a:before {
	mask-image: url( https://media.starcitizen.tools/6/6a/Twitter_-_Simple_Icons.svg );
}

#n-sidebar-icon-mastodon a:before {
	mask-image: url( https://media.starcitizen.tools/d/de/Mastodon_-_Simple_Icons.svg );
}

#n-sidebar-icon-threads a:before {
	mask-image: url( https://media.starcitizen.tools/9/9b/Threads_-_Simple_Icons.svg );
}

#n-sidebar-icon-bluesky a:before {
	mask-image: url( https://media.starcitizen.tools/8/8b/Bluesky_-_Simple_Icons.svg );
}

#n-sidebar-icon-patreon a:before {
	mask-image: url( https://media.starcitizen.tools/e/e9/Patreon_-_Simple_Icons.svg );
}

#n-sidebar-icon-kofi a:before {
	mask-image: url( https://media.starcitizen.tools/4/48/Kofi_-_Simple_Icons.svg );
}

#n-sidebar-icon-github a:before {
	mask-image: url( https://media.starcitizen.tools/8/85/Github_-_Simple_Icons.svg );
}

#n-sidebar-icon-reddit a:before {
	mask-image: url( https://media.starcitizen.tools/e/e8/Reddit_-_Simple_Icons.svg );
}

/*
 * Footer icons
 * We use custom footer icons so we need to fine tune it
*/
#footer-icons a {
	border: 0;
	padding: 0;
	background: transparent;
	opacity: var( --opacity-icon-base );
	transition: opacity 250ms ease;
}

#footer-icons a:hover {
	opacity: var( --opacity-icon-base--hover );
}

#footer-icons a:active {
	opacity: var( --opacity-icon-base--active );
}

/* More space between icons */
#footer-icons ul,
#footer-icons li {
	gap: var( --space-md );
}

#footer-icons img {
	width: auto;
	height: 32px;
}

/* Divide footer links into two columns */
#footer-places {
	column-count: 2;
}

/* Fix misalignment in Safari and Firefox when using two columns */
#footer-places ul {
	display: initial;
}

/* Darken the footer icon in light mode */
.skin-citizen-light #footer-icons a {
	filter: invert( 1 ) hue-rotate( 180deg );
}

/*
 * Very important checkmark
 * Blue checkmark near wordmark
*/
.mw-logo-wordmark {
    display: flex;
    align-items: center;
    gap: var( --space-sm );
}

/*