MediaWiki:Foreground.css: Porovnání verzí
Z Franklinova expedice
další hl. menu |
pro uzký viewport |
||
| Řádek 23: | Řádek 23: | ||
padding-left: 8rem; | padding-left: 8rem; | ||
} | } | ||
@media only screen and (max-width: 40em) { | |||
.top-bar-logo { | |||
display: none; | |||
} | |||
.top-bar { | |||
padding-left: unset; | |||
} | |||
} | |||
/* Obsah stránky blíž menu */ | /* Obsah stránky blíž menu */ | ||
Verze z 25. 12. 2021, 17:28
/* 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: 1000;
}
/* Další úpravu menu */
.top-bar-logo {
position: fixed;
left: 0;
max-height: unset;
}
.top-bar {
padding-left: 8rem;
}
@media only screen and (max-width: 40em) {
.top-bar-logo {
display: none;
}
.top-bar {
padding-left: unset;
}
}
/* Obsah stránky blíž menu */
#page-content {
margin-top: 0.5rem;
}
/* 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;
}
/* 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 */
/* - Flex - */
.d-flex {
display: flex
}
.justify-content-center {
justify-content: center;
}
.justify-content-between {
justify-content: space-between;
}
.flex-nowrap {
flex-wrap: nowrap;
}
.flex-wrap {
flex-wrap: wrap;
}
/* - Position - */
.position-absolute {
position: absolute;
}
.position-relative {
position: relative;
}