209 lines
3.2 KiB
SCSS
209 lines
3.2 KiB
SCSS
$toplinks-height: 40px;
|
|
$nav-padding: 1.5rem;
|
|
|
|
a#publik-portal-agent {
|
|
right: auto;
|
|
left: 5px;
|
|
}
|
|
|
|
#toplinks {
|
|
top: -3rem;
|
|
box-shadow: none;
|
|
border-radius: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
line-height: $toplinks-height / 1.5;
|
|
height: $toplinks-height;
|
|
font-size: 90%;
|
|
text-align: right;
|
|
border: 0;
|
|
background: #eae9e2;
|
|
text-transform: uppercase;
|
|
a {
|
|
color: #555;
|
|
&:hover {
|
|
color: black;
|
|
}
|
|
}
|
|
}
|
|
|
|
.site-header {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 100;
|
|
#header {
|
|
transition: all ease 0.2s;
|
|
margin-top: 3rem;
|
|
margin-bottom: 2rem;
|
|
h1 {
|
|
a {
|
|
box-sizing: content-box;
|
|
padding-top: 1rem;
|
|
background-position: bottom;
|
|
width: 233px;
|
|
height: 46px;
|
|
display: block;
|
|
text-indent: -10000px;
|
|
margin-left: 1rem;
|
|
}
|
|
@media screen and (max-width: 360px) {
|
|
padding-left: 60px;
|
|
a {
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
div#nav {
|
|
position: fixed;
|
|
top: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
max-width: none;
|
|
text-align: right;
|
|
padding-right: 1rem;
|
|
border-bottom: 1px solid #aaa;
|
|
z-index: 10;
|
|
margin-top: 0;
|
|
& > ul {
|
|
margin-top: 0rem;
|
|
margin-bottom: 0rem;
|
|
li > a {
|
|
margin-top: $toplinks-height;
|
|
font-weight: normal;
|
|
transition: all ease 0.2s;
|
|
padding-top: $nav-padding;
|
|
padding-bottom: $nav-padding;
|
|
line-height: 3em;
|
|
}
|
|
li li > a {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
}
|
|
|
|
div#main-content-wrapper {
|
|
z-index: 0;
|
|
padding-top: 10rem;
|
|
line-height: 150%;
|
|
}
|
|
|
|
div#tracking-code h3 {
|
|
border-bottom: none;
|
|
padding-left: 0.5rem;
|
|
}
|
|
|
|
div#rub_service > h2 {
|
|
text-align: left;
|
|
font-size: 2.5rem;
|
|
padding-left: 0.5rem;
|
|
border-bottom: none;
|
|
line-height: 110%;
|
|
}
|
|
|
|
body.has-picture {
|
|
div#main-content-wrapper {
|
|
padding-top: 0;
|
|
#columns {
|
|
> div:first-child {
|
|
padding-top: 2rem;
|
|
}
|
|
> div#rub_service,
|
|
> .form-content--sidebox {
|
|
padding-top: 0rem;
|
|
background: white;
|
|
}
|
|
}
|
|
}
|
|
.site-nav::after {
|
|
transition: all ease 0.2s;
|
|
top: calc(#{$toplinks-height} + #{$nav-padding} + #{$font-size * 3});
|
|
@media screen and ($max-mobile-viewport) {
|
|
top: -16px;
|
|
height: 100px;
|
|
}
|
|
}
|
|
}
|
|
|
|
body.scrolled {
|
|
.site-header #header,
|
|
div#nav > ul {
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
li > a {
|
|
margin-top: 0;
|
|
padding-top: 0.5rem;
|
|
padding-bottom: 0.5rem;
|
|
}
|
|
li li > a {
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
@media screen and ($max-mobile-viewport) {
|
|
margin-bottom: 1rem;
|
|
}
|
|
}
|
|
#logo a {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
&.has-picture .site-nav::after {
|
|
top: calc(#{$nav-padding} + #{$font-size * 3});
|
|
@media screen and ($max-mobile-viewport) {
|
|
top: -16px;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.widget div.title {
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
span.helptext, div.hint {
|
|
font-size: 90%;
|
|
}
|
|
|
|
@media screen and ($max-mobile-viewport) {
|
|
div#nav, .site-header {
|
|
text-align: left;
|
|
position: static;
|
|
width: auto;
|
|
padding-right: 0;
|
|
border-bottom: 0;
|
|
#header h1 a {
|
|
padding-left: 0;
|
|
}
|
|
}
|
|
|
|
.site-header #header {
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
div#nav > ul {
|
|
margin-top: 0;
|
|
margin-bottom: 1rem;
|
|
li > a {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
}
|
|
|
|
div#main-content-wrapper {
|
|
padding-top: 0;
|
|
}
|
|
|
|
#toplinks {
|
|
right: 0;
|
|
left: 0;
|
|
top: -2rem;
|
|
max-width: 100vw;
|
|
}
|
|
}
|