MediaWiki:Common.css: Porovnání verzí
MediaWiki interface page
More actions
Draconia dark theme |
fix light theme regression, lighten dark palette |
||
| Řádek 1: | Řádek 1: | ||
/* <pre><nowiki> */ | /* <pre><nowiki> */ | ||
/* Draconia RP Wiki theme - | /* 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'); | @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 { | :root { | ||
--tg-font-family-heading: 'Cinzel', 'Georgia', serif; | --tg-font-family-heading: 'Cinzel', 'Georgia', serif; | ||
--tg-font-family-body: 'Lora', 'Georgia', serif; | --tg-font-family-body: 'Lora', 'Georgia', serif; | ||
} | } | ||
| Řádek 68: | Řádek 19: | ||
blockquote { | blockquote { | ||
padding-left: 1rem; | padding-left: 1rem; | ||
border-left: 2px solid var(- | border-left: 2px solid var(--border-color-base); | ||
font-style: italic; | font-style: italic; | ||
text-wrap: balance; | text-wrap: balance; | ||
| Řádek 75: | Řádek 26: | ||
blockquote cite { | blockquote cite { | ||
color: var(-- | color: var(--color-base--subtle); | ||
font-size: var(- | font-size: var(--font-size-x-small); | ||
font-style: normal; | font-style: normal; | ||
} | } | ||
| Řádek 106: | Řádek 57: | ||
/* References */ | /* References */ | ||
ol.references { | ol.references { | ||
font-size: var(- | font-size: var(--font-size-x-small); | ||
margin-top: 0px; | margin-top: 0px; | ||
padding-top: 0px; | padding-top: 0px; | ||
Aktuální verze z 15. 7. 2026, 17:05
/* <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> */