publik-base-theme/static/nice/_custom.scss

103 lines
1.6 KiB
SCSS

@media ($min-desktop-viewport) {
.site-header {
top: 0;
}
.site-nav {
top: 76px;
}
.site-header, .site-nav {
position: sticky;
z-index: 1000;
}
ul.menu {
margin-top: 0px;
}
}
div.gru-nav .gru-nav-button + ul {
border-top: 0;
@media ($max-mobile-viewport) {
margin-top: 10px;
}
}
h1.has-logo {
display: flex;
justify-content: center;
padding: 10px 0;
}
div.wcsformsofcategorycell, div.linklistcell {
&.has-asset-picture {
h2:first-child::before {
position: absolute;
top: -19px;
left: 0;
width: 100%;
height: 19px;
display: block;
background: url('img/sparrow-darkblue-top.png') top center no-repeat;
content: "";
}
}
}
.back-top--link {
background: $primary-color;
border-radius: 2px;
padding: 0 0.25em 0.25em 0.25em;
&-label {
display: none;
}
@media ($max-mobile-viewport) {
bottom: $nav-mobile-bottom-bar-height + 5px;
}
}
.pwa-navigation div > ul li a {
background-size: $nav-mobile-bottom-bar-height / 2 - 7px;
}
div.cell.links-in-row ul > li {
display: inline-block;
border-bottom: 0;
a:hover {
text-decoration: underline;
background: transparent;
}
}
/* Authentic styles */
div#login-page .block {
background: transparent;
}
/* Footer */
div#footer h4 {
color: #00c1d2;
text-transform: uppercase;
background: url('img/barre-footer-separ.png') no-repeat left bottom;
padding-bottom: 10px;
margin: 0 0 15px 10px;
}
div#footer-bottom {
background: #1c1c1c;
color: $footer-color;
a {
color: $footer-link-color;
}
> div {
max-width: $width;
margin: 0 auto;
}
}
/* Forms */
div.title {
font-weight: bold;
}