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

77 lines
1.2 KiB
SCSS

body.has-header-background {
.site-header {
background: none;
}
#header {
padding-top: $toplinks-height;
@media ($max-mobile-viewport) {
padding-left: 0;
padding-right: 0;
}
@media ($min-desktop-viewport) {
background: url(/assets/header:background) right center no-repeat;
background-size: auto 100%;
}
}
#logo {
display: flex;
height: 208px;
width: 350px;
background-color: white;
align-items: center;
@media screen and ($max-mobile-viewport) {
height: 90px;
width: auto;
}
a {
height: 60px;
flex: 100%;
background-size: contain;
}
}
}
div#nav {
margin-top: 0;
& > ul {
margin-top: 0;
}
}
div.gru-nav .gru-nav-button {
margin-left: 0;
}
div.gru-nav > ul ul {
@media (min-width: $nav-mobile-limit + 1) {
box-shadow: 0 2px 5px rgba(0,0,0,.1);
border-top: 2px solid $primary-color;
}
}
#toplinks {
background: $primary-color;
color: white;
font-weight: 600;
text-align: right;
border: none;
box-shadow: none;
border-radius: 0;
right: 0;
left: 0;
padding: 0 1em;
max-width: none;
a {
display: inline-block;
color: inherit;
line-height: $toplinks-height;
@media screen and ($max-mobile-viewport) {
font-size: 80%;
}
}
}
%button {
font-weight: 500;
}