MediaWiki:Foreground.css
Z Franklinova expedice
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.
/* Styly pro Foreground */
/* Sticky menu */
body {
height: auto;
} /* Z neznámého důvodu má ve skinu nastaveno 100% a dělá to border v kombinaci se sticky menu */
#navwrapper {
position: sticky;
top: 0;
z-index: 2000;
}
/* Kvůli fixnímu menu v záhlaví */
.mw-headline {
padding-top: 6rem;
pointer-events: none;
}
.mw-headline a {
pointer-events: auto;
}
.mw-editsection {
position: relative;
z-index: 1;
pointer-events: all;
}
/* Titulka */
/* Skrytí legendy k posledním změnám */
.panel .mw-changeslist-legend {
display: none;
}
/* Kvůli odkazům z TOC */
h2:not([id]) {
margin-top: -4rem;
pointer-events: none;
}
.mw-category-generated h2 {
margin-top: initial;
}
sup.reference {
padding-top: 7rem;
margin-top: -7rem;
background-color: transparent !important;
}
sup.reference:target a {
background-color: #eaf3ff;
}
ol.references > li {
scroll-margin-top: 4rem;
}
/* Další úpravu menu */
.suggestions {
z-index: 2001;
}
.top-bar-logo {
position: fixed;
left: 0;
top: 0;
max-height: unset;
}
.top-bar {
padding-left: 8rem;
}
#p-Hlavn\.C3\.AD_kategorie, #p-Hlavní_kategorie {
background-color: #008CBA;
}
#p-Hlavn\.C3\.AD_kategorie .dropdown, #p-Hlavní_kategorie .dropdown {
border: 2px solid #008CBA;
border-top: none;
}
#p-Hlavn\.C3\.AD_kategorie .dropdown a:hover, #p-Hlavní_kategorie .dropdown a:hover {
background-color: #008CBA;
}
#p-D\.C5\.AFle\.C5\.BEit\.C3\.A9_str\.C3\.A1nky, #p-Důležité_stránky {
background-color: #F04124;
}
#p-D\.C5\.AFle\.C5\.BEit\.C3\.A9_str\.C3\.A1nky .dropdown, #p-Důležité_stránky .dropdown {
border: 2px solid #F04124;
border-top: none;
}
#p-D\.C5\.AFle\.C5\.BEit\.C3\.A9_str\.C3\.A1nky .dropdown a:hover, #p-Důležité_stránky .dropdown a:hover {
background-color: #F04124;
}
#p-lang {
background-color: #43AC6A;
}
#p-lang .dropdown a:hover {
background-color: #43AC6A;
}
/* Text */
.mw-body-content p {
margin-bottom: 0.6em;
}
q {
color: #6f6f6f;
}
/* Kvůli odkazu v panelu */
a.new {
color: #ba0000 !important;
}
@media only screen and (max-width: 40em) {
.top-bar-logo {
display: none;
}
.top-bar {
padding-left: unset;
}
}
/* Anonnotice */
.anon-notice {
padding-bottom: 0;
padding-top: 0.5rem;
font-style: italic;
font-weight: bold;
font-size: 1em;
}
.anon-notice a {
color: inherit;
text-decoration: underline;
}
@media only screen and (max-width: 1440px) {
.anon-notice {
width: auto;
padding-right: 3rem;
float: right;
}
}
/* Obsah stránky blíž menu */
#page-content {
margin-top: 0.5rem;
}
/* Obsah stránky */
#mw-toc-heading {
margin-top: 0;
}
.panel .mw-changeslist {
overflow-x: auto;
}
.tleft {
padding-right: 0.5em;
padding-bottom: 0.5em;
}
table th {
line-height: unset !important;
font-weight: 600;
}
table.outlined td, table.outlined th {
background-color: #f2f2f2;
padding: 0.25em 0.5em;
border-bottom: 0.5em solid white;
}
table.outlined th {
border-right: 0.2em solid white;
}
/* Výpisy odkazů z Cargo */
.links-page b.en::before {
content: url(/wiki/images/1/1b/Uk-icon.png);
margin-right: 0.5em;
vertical-align: middle;
}
.links-page b.cs::before {
content: url(/wiki/images/b/b1/Cz-icon.png);
margin-right: 0.5em;
vertical-align: middle;
}
.links-page li {
margin-bottom: 0.5rem;
}
.links-page .authors {
font-size: 0.875rem;
}
.links-page .source {
font-size: 0.875rem;
}
.links-page .publication_date {
font-size: 0.875rem;
}
.links-page .description {
font-size: 0.9375rem;
line-height: 1.2rem;
}
.calendar-cargo > p {
font-size: large !important;
border-style: solid;
border-width: 1px;
border-color: #d8d8d8;
margin-bottom: 1.25rem;
padding: 0.25rem;
padding-left: 1rem;
background: #f2f2f2;
color: #333333;
}
/* Související stránky */
.related-pages a {
font-weight: bold;
}
.related-pages li {
margin-bottom: 0.5rem;
}
/* Jinak galerie zarovnává vpravo */
.gallery {
margin: 0 !important;
}
/* Pravý sloupec */
.right-column {
border-left: 1px solid gray;
}
.right-column h2 {
margin-top: -5.5rem;
}
.reference-text .free {
word-break: break-all;
} /* Jinak by dlouhá holá URL přetékala */
/* Blok "jiné weby" */
.other-websites {
background-color: lightgray;
}
.other-websites.icon-bar * label, .other-websites.icon-bar * i {
color: darkslategray;
} /* Obarvení ikon */
.other-websites .item {
padding-top: 0.6rem;
padding-bottom: 0.3rem;
}
.other-websites.vertical {
width: 100%;
}
.other-websites-vertical-wrapper {
z-index: 500;
}
.show-for-xlarge-up .other-websites {
right: 0;
top: 12rem;
}
/* Patička - reklama */
.footer-adverts {
margin-top: 1rem;
}
.reklama-label {
top: 0;
left: 0;
}
/* Odkazy na sociální sítě (vlastní, nikoli sdílení) */
.at4-follow {
z-index: 10 !important;
}
/* Obecné utility */
/* -Okraje- */
.m-0 {
margin: 0 !important;
}
.p-0 {
padding: 0 !important;
}
/* - Flex - */
.d-flex {
display: flex
}
.justify-content-center {
justify-content: center;
}
.justify-content-between {
justify-content: space-between;
}
.justify-content-around {
justify-content: space-around;
}
.flex-nowrap {
flex-wrap: nowrap;
}
.flex-wrap {
flex-wrap: wrap;
}
/* - Position - */
.position-absolute {
position: absolute;
}
.position-relative {
position: relative;
}
.position-fixed {
position: fixed;
}
/* - Width & Height- */
.w-auto {
width: auto !important;
}
.h-auto {
height: auto !important;
}
/* - Cursor - */
cursor-pointer {
cursor: pointer;
}
/* -Visibility- */
.d-none {
display: none;
}
/* max-width 1440px, up to xlarge screens */
@media only screen and (max-width: 1440px) {
.show-for-xlarge-to {
display: block;
}
}
/* Hack mapy */
.map--fullscreen {
z-index: 10000 !important;
}