Přeskočit na obsah

MediaWiki:Common.css: Porovnání verzí

Z SCHF wiki
Sjednocení vzhledu a oprava mezer hledání
Illustrated FerretBook guides in Czech and English
 
(Nejsou zobrazeny 4 mezilehlé verze od stejného uživatele.)
Řádek 1: Řádek 1:
/* SCHFwiki theme: FerretBook colours, with the native Vector navigation. */
/* SCHF wiki theme: FerretBook colours, with the native Vector navigation. */
:root {
:root {
   --schf-dark: #16101f;
   --schf-dark: #16101f;
Řádek 116: Řádek 116:
.vector-search-box .cdx-search-input { display: flex !important; column-gap: 12px !important; }
.vector-search-box .cdx-search-input { display: flex !important; column-gap: 12px !important; }
.vector-search-box .cdx-search-input__end-button { margin-inline-start: 0 !important; border-start-start-radius: 8px !important; border-end-start-radius: 8px !important; }
.vector-search-box .cdx-search-input__end-button { margin-inline-start: 0 !important; border-start-start-radius: 8px !important; border-end-start-radius: 8px !important; }
.schf-wiki-app-logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.schf-wiki-app-logo img { width: auto; height: auto; max-width: 100%; max-height: 120px; object-fit: contain; }
.schf-wiki-app-logo--id img { filter: brightness(0) invert(1); }
/* Table of contents: one coherent panel, with readable controls. */
#vector-toc {
  background: #a5a2cf;
  color: #16101f;
  border: 1px solid #8884ad;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}
#vector-toc .vector-pinnable-header { background: transparent; border-bottom: 1px solid #827da6; padding-bottom: 12px; margin-bottom: 10px; gap: 8px; }
#vector-toc .vector-pinnable-header-label,
#vector-toc .vector-toc-text,
#vector-toc .vector-toc-link { color: #16101f !important; }
#vector-toc .vector-pinnable-header-toggle-button {
  background: #16101f; color: #fff !important; border: 0;
  border-radius: 8px; padding: 5px 10px; font-weight: 700;
}
#vector-toc .vector-toc-link { display: block; border-radius: 8px; padding: 7px 9px; margin: 2px 0; }
#vector-toc .vector-toc-link:hover { background: #c0bddf; text-decoration: none; }
#vector-toc .vector-toc-link:focus-visible { outline: 2px solid #35244d; outline-offset: 2px; }
#vector-toc .vector-toc-list-item-active > .vector-toc-link { background: #16101f; color: #fff !important; }
#vector-toc .vector-toc-list-item-active > .vector-toc-link .vector-toc-text { color: #fff !important; }
#vector-toc::after, #vector-toc .vector-toc-contents::after { display: none !important; }
#vector-toc .vector-toc-contents { background: transparent; margin-bottom: 0; }
.vector-column-start .vector-pinned-container { background: transparent !important; padding: 0; }
.vector-column-start .vector-sticky-pinned-container::after { display: none !important; }
#vector-toc .vector-pinnable-header { flex-wrap: wrap; align-items: center; }
#vector-toc .vector-pinnable-header-label { margin-right: auto; }
/* Illustrated guides */
.schf-guide-table { width:100%; margin:1.25rem 0; border-collapse:collapse; }
.schf-guide-table th,.schf-guide-table td { padding:12px; border:1px solid #827da6; color:#16101f; background:#b7b4da; }
.schf-guide-table th { background:#16101f; color:#fff; }
.mw-body-content figure.mw-halign-center,.mw-body-content .thumb.tnone { margin:24px auto; max-width:100%; }
.mw-body-content figure img,.mw-body-content .thumb img { max-width:100%; height:auto; }
.mw-body-content figcaption,.mw-body-content .thumbcaption { color:#16101f; background:#b7b4da; padding:12px; }
@media(max-width:720px){.schf-guide-table{display:block;overflow-x:auto}.mw-body-content figure{max-width:100%;margin-left:0;margin-right:0}}

Aktuální verze z 21. 11. 2026, 23:36

/* SCHF wiki 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; }
}
/* Pinned tools share the light content panel in Vector 2022. */
.mw-body .vector-column-end, .mw-body .vector-column-end a,
.mw-body .vector-column-end .vector-pinnable-header-label,
.mw-body .vector-column-end .vector-appearance-label,
.mw-body .vector-column-end label, .mw-body .vector-column-end .cdx-label__label__text {
  color: #16101f !important;
}
.mw-footer, .mw-footer a, .mw-footer li { color: #c0bbcd !important; }
.vector-search-box .cdx-text-input__input { background: #fff !important; color: #16101f !important; }
.schf-wiki-card h3 { padding-top: 0; }
/* Keep the search field and action separate, including the Vue search variant. */
.vector-search-box .cdx-search-input { gap: 12px; align-items: stretch; }
.vector-search-box .cdx-search-input__input-wrapper { min-width: 0; flex: 1; }
.vector-search-box .cdx-text-input__input {
  height: 40px;
  min-height: 40px;
  box-sizing: border-box;
  border-radius: 8px !important;
}
.vector-search-box .cdx-search-input__end-button {
  height: 40px;
  min-height: 40px;
  margin-left: 0 !important;
  border-radius: 8px !important;
  padding: 0 18px;
  flex-shrink: 0;
}

/* Apply identical card geometry in both languages. */
.schf-wiki-card { display: flex; flex-direction: column; }
.schf-wiki-card h3 { margin-bottom: 10px; }
.schf-wiki-card p:first-of-type { flex-grow: 1; }
/* Explicit spacing also survives Codex/Vue search enhancement. */
.vector-search-box .cdx-search-input { display: flex !important; column-gap: 12px !important; }
.vector-search-box .cdx-search-input__end-button { margin-inline-start: 0 !important; border-start-start-radius: 8px !important; border-end-start-radius: 8px !important; }

.schf-wiki-app-logo { height: 120px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.schf-wiki-app-logo img { width: auto; height: auto; max-width: 100%; max-height: 120px; object-fit: contain; }
.schf-wiki-app-logo--id img { filter: brightness(0) invert(1); }
/* Table of contents: one coherent panel, with readable controls. */
#vector-toc {
  background: #a5a2cf;
  color: #16101f;
  border: 1px solid #8884ad;
  border-radius: 14px;
  padding: 16px;
  box-sizing: border-box;
}
#vector-toc .vector-pinnable-header { background: transparent; border-bottom: 1px solid #827da6; padding-bottom: 12px; margin-bottom: 10px; gap: 8px; }
#vector-toc .vector-pinnable-header-label,
#vector-toc .vector-toc-text,
#vector-toc .vector-toc-link { color: #16101f !important; }
#vector-toc .vector-pinnable-header-toggle-button {
  background: #16101f; color: #fff !important; border: 0;
  border-radius: 8px; padding: 5px 10px; font-weight: 700;
}
#vector-toc .vector-toc-link { display: block; border-radius: 8px; padding: 7px 9px; margin: 2px 0; }
#vector-toc .vector-toc-link:hover { background: #c0bddf; text-decoration: none; }
#vector-toc .vector-toc-link:focus-visible { outline: 2px solid #35244d; outline-offset: 2px; }
#vector-toc .vector-toc-list-item-active > .vector-toc-link { background: #16101f; color: #fff !important; }
#vector-toc .vector-toc-list-item-active > .vector-toc-link .vector-toc-text { color: #fff !important; }
#vector-toc::after, #vector-toc .vector-toc-contents::after { display: none !important; }
#vector-toc .vector-toc-contents { background: transparent; margin-bottom: 0; }
.vector-column-start .vector-pinned-container { background: transparent !important; padding: 0; }
.vector-column-start .vector-sticky-pinned-container::after { display: none !important; }
#vector-toc .vector-pinnable-header { flex-wrap: wrap; align-items: center; }
#vector-toc .vector-pinnable-header-label { margin-right: auto; }

/* Illustrated guides */
.schf-guide-table { width:100%; margin:1.25rem 0; border-collapse:collapse; }
.schf-guide-table th,.schf-guide-table td { padding:12px; border:1px solid #827da6; color:#16101f; background:#b7b4da; }
.schf-guide-table th { background:#16101f; color:#fff; }
.mw-body-content figure.mw-halign-center,.mw-body-content .thumb.tnone { margin:24px auto; max-width:100%; }
.mw-body-content figure img,.mw-body-content .thumb img { max-width:100%; height:auto; }
.mw-body-content figcaption,.mw-body-content .thumbcaption { color:#16101f; background:#b7b4da; padding:12px; }
@media(max-width:720px){.schf-guide-table{display:block;overflow-x:auto}.mw-body-content figure{max-width:100%;margin-left:0;margin-right:0}}