forked from kittv/web
1
0
Fork 0

Vycentrování rolety v kompaktním headeru

master
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