Toggle menu
Toggle preferences menu
Toggle personal menu
Nejste přihlášen(a)
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css

MediaWiki interface page
Verze z 15. 7. 2026, 17:05, kterou vytvořil Draconia (diskuse | příspěvky) (fix light theme regression, lighten dark palette)
(rozdíl) ← Starší verze | zobrazit aktuální verzi (rozdíl) | Novější verze → (rozdíl)

Poznámka: Po zveřejnění musíte vyprázdnit cache vašeho prohlížeče, jinak změny neuvidíte.

  • Firefox / Safari: Při kliknutí na Aktualizovat držte Shift nebo stiskněte Ctrl-F5 nebo Ctrl-R (na Macu ⌘-R)
  • Google Chrome: Stiskněte Ctrl-Shift-R (na Macu ⌘-Shift-R)
  • Edge: Při kliknutí na Aktualizovat držte Ctrl nebo stiskněte Ctrl-F5.
/* <pre><nowiki> */

/* Draconia RP Wiki theme. Theme-agnostic bits only (fonts, blockquote,
   references, infobox breakpoints) - color palette lives entirely in
   MediaWiki:Citizen.css, scoped to the dark theme only. */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400..700&family=Lora:ital,wght@0,400..700;1,400..700&display=swap');

:root {
	--tg-font-family-heading: 'Cinzel', 'Georgia', serif;
	--tg-font-family-body: 'Lora', 'Georgia', serif;
}

html {
	font-variant-numeric: lining-nums;
}

/* Blockquote */
blockquote {
	padding-left: 1rem;
	border-left: 2px solid var(--border-color-base);
	font-style: italic;
	text-wrap: balance;
	text-wrap: pretty;
}

blockquote cite {
	color: var(--color-base--subtle);
	font-size: var(--font-size-x-small);
	font-style: normal;
}

blockquote cite::before {
	content: '―';
	margin-right: 0.5em;
}

blockquote > p:first-child::before {
	content: open-quote;
}

blockquote:has(cite) > p:nth-last-child(2)::after,
blockquote:not(:has(cite)) > p:last-child::after {
	content: close-quote;
}

.underlinelink a {
	text-decoration: underline !important;
}
.nounderlinelink a {
	text-decoration: none !important;
}
.nounderlinelink a:hover {
	text-decoration: underline !important;
}

/* References */
ol.references {
	font-size: var(--font-size-x-small);
	margin-top: 0px;
	padding-top: 0px;
}
.references-small {
	font-size: 0.75rem;
}
ol.references > li:target {
	background-color: var(--color-surface-1);
}
sup.reference:target {
	background-color: var(--color-surface-1);
}

/* Infobox scaling for desktop and mobile */
@media only screen and (max-width: 600px) {
	.tginfobox {
		min-width: 100%;
	}
}

@media only screen and (min-width: 601px) {
	.tginfobox {
		width: 275px;
	}
}

.pi-data {
	display: flex;
	align-items: center;
}

/* Limit FloatingUI popup content width */
.ext-floatingui-floating-content {
	max-width: 50ch;
	padding: 12px;
}

#footer-sitetitle .mw-logo-icon {
	display: none;
}

/* </nowiki></pre> */