MediaWiki:Common.css
Vzhled
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.
/* SCHFwiki theme: FerretBook colours, with the native Vector navigation. */
:root {
--schf-dark: #16101f;
--schf-panel: #a5a2cf;
--schf-text: #16101f;
--background-color-base: #a5a2cf;
--background-color-neutral-subtle: #c0bddf;
--color-base: #16101f;
--color-emphasized: #16101f;
--color-progressive: #35244d;
}
html, body, .mw-page-container, .vector-main-container, .vector-feature-page-tools-pinned-enabled .vector-column-end {
background: var(--schf-dark) !important;
}
body { font-family: Roboto, Arial, sans-serif; color: var(--schf-text); }
.vector-header-container, .vector-header, .vector-sticky-header {
background: var(--schf-panel) !important;
color: var(--schf-text);
}
.vector-header { padding-top: 16px; padding-bottom: 16px; }
.mw-logo-icon { display: none; }
.mw-logo-wordmark { font-family: Roboto, Arial, sans-serif; font-size: 28px; font-weight: 800; color: #16101f; }
.mw-logo-container { filter: none !important; }
.mw-body {
background: var(--schf-panel) !important;
color: #16101f;
border: 1px solid #8884ad;
border-radius: 16px;
padding: 28px 32px !important;
margin-top: 24px;
}
.mw-body-content { font-size: 17px; line-height: 1.7; }
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .firstHeading {
font-family: Roboto, Arial, sans-serif;
color: #16101f;
font-weight: 750;
}
.mw-body h2 { margin-top: 1.5em; border-color: #827da6; }
.mw-body a { color: #35244d; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.mw-body a:visited { color: #493164; }
.mw-body a:hover { text-decoration: underline; }
.mw-body .vector-page-toolbar, .mw-body .vector-page-titlebar { border-color: #827da6; }
.vector-dropdown-content, .vector-pinnable-element .vector-dropdown-content {
background: #a5a2cf !important; color: #16101f; border-radius: 12px;
}
.vector-column-start, .vector-column-end { color: #eeeaf5; }
.vector-column-start a, .vector-column-end a, .vector-column-start .vector-toc-text { color: #eeeaf5 !important; }
.vector-column-start .vector-pinnable-header-label, .vector-column-end .vector-pinnable-header-label,
.vector-column-end .vector-appearance-label, .vector-column-start .vector-toc-heading { color: #eeeaf5; }
.vector-column-start .vector-pinnable-header, .vector-column-end .vector-pinnable-header { border-color: #625976; }
.vector-column-start .vector-pinnable-header-toggle-button, .vector-column-end .vector-pinnable-header-toggle-button { color: #c9c4e8; }
.vector-footer, .vector-footer a, .vector-footer li { color: #c0bbcd !important; }
.cdx-text-input__input, .mw-body input:not([type=checkbox]):not([type=radio]):not([type=submit]), .mw-body textarea {
border-radius: 8px; background: #fff; color: #16101f; border-color: #827da6;
}
.cdx-search-input__end-button, .mw-body .mw-htmlform-submit {
background: #16101f !important; color: #fff !important; border-color: #16101f !important; border-radius: 8px;
}
.schf-wiki-intro { padding: 8px 0 18px; }
.schf-wiki-intro h2 { border: 0; font-size: 32px; margin-top: 0; }
.schf-wiki-language { text-align: right; font-weight: 700; margin-bottom: 16px; }
.schf-wiki-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.schf-wiki-card { background: #16101f; color: #fff; border-radius: 14px; padding: 24px; min-width: 0; }
.schf-wiki-card h3 { color: #fff; margin-top: 0; font-size: 23px; }
.schf-wiki-card a, .schf-wiki-card a:visited { color: #fff; font-weight: 700; }
.schf-wiki-card p { margin: 10px 0; }
.schf-wiki-note { background: #a85c00; color: #fff; border-radius: 12px; padding: 20px 24px; margin-top: 24px; }
.schf-wiki-note h3 { color: #fff; margin-top: 0; }
.schf-wiki-note p:last-child { margin-bottom: 0; }
.mw-body img { max-width: 100%; height: auto; }
.mw-body pre { overflow: auto; border-radius: 8px; }
@media (max-width: 1000px) {
.schf-wiki-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.mw-body { margin-top: 12px; padding: 18px 16px !important; border-radius: 12px; }
.mw-body-content { font-size: 16px; }
.schf-wiki-intro h2 { font-size: 26px; }
.schf-wiki-card { padding: 20px; }
.mw-logo-wordmark { font-size: 24px; }
.vector-header { padding-top: 10px; padding-bottom: 10px; }
}