MediaWiki:Foreground.css: Porovnání verzí
Z Franklinova expedice
fixed, ne sticky! |
width 100 |
||
| Řádek 5: | Řádek 5: | ||
position: fixed; | position: fixed; | ||
top: 0; | top: 0; | ||
width: 100%; | |||
z-index: 1000; | z-index: 1000; | ||
} | } | ||
Verze z 12. 12. 2021, 20:09
/* Styly pro Foreground */
/* Sticky menu */
#navwrapper {
position: fixed;
top: 0;
width: 100%;
z-index: 1000;
}
/* 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;
}
.other-websites .item {
padding-top: 0.6rem;
padding-bottom: 0.3rem;
}
.other-websites.vertical {
width: 100%;
}
.other-websites-vertical-wrapper {
z-index: 500;
}
.footer-adverts {
margin-top: 1rem;
}
.reklama-label {
top: 0;
left: 0;
}
.at4-follow {
z-index: 10 !important;
}
/* Obecné utility */
.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-absolute {
position: absolute;
}
.position-relative {
position: relative;
}