Jump to content

User:Majavah/common.css

From Wikitech
Revision as of 12:26, 20 June 2024 by Majavah (talk | contribs)
(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.
.mw-parser-output .note[role="note"],
.mw-parser-output .remark[role="remark"]
{
	padding: 0.5em 0.5em 0.5em 1em;
	background-image: none;
}

/* better monospace fonts */
.diff-editfont-monospace .diff-addedline,
.diff-editfont-monospace .diff-deletedline,
.diff-editfont-monospace .diff-context,
.ace_text-input,
.wikiEditor-ui .ace_editor,
.mw-editfont-monospace,
pre,
textarea
{
    font-family: "Iosevka Taavi", "Iosevka", monospace !important;
    font-variant-ligatures: none;
}

/* hide parsoid popus */
div.mw-notification.mw-notification-tag-parsermigration-notice
{
	display: none;
}

/* use the same color for links regardless of whether they've been visited or not, or are external or not */
@media screen
{
	a,
	a:visited,
	a:visited:hover,
	.mw-parser-output a.extiw:visited,
	.mw-parser-output a.external:visited:hover,
	.mw-parser-output a.extiw:visited,
	.mw-parser-output a.external:visited:hover
	{
		color: var(--color-progressive, #36c);
	}	
}