Vycentrování rolety v kompaktním headeru

pull/42/head
Emil Miler 3 years ago
parent a00cc212c5
commit 65c0f15cb9

@ -36,7 +36,18 @@ header {
&.compact { &.compact {
padding: 1.3rem 0; padding: 1.3rem 0;
.wrap { height: 4rem } .wrap { height: 4rem }
nav.primary {
li>div {
left: 50%;
right: auto;
transform: translate(-50%, -1em);
}
li:hover>div {
transform: translate(-50%, 0);
}
}
} }
.wrap { .wrap {

Loading…
Cancel
Save