liebling/src/sass/components/header/_nav.scss

95 lines
1.5 KiB
SCSS
Raw Normal View History

2019-05-21 19:50:29 +00:00
.m-nav {
@include respond-to('medium') {
display: flex;
align-items: center;
justify-content: space-between;
}
}
.m-nav__left {
margin-bottom: 30px;
@include respond-to('medium') {
margin-bottom: 0;
}
ul {
padding: 0;
margin: 0;
@include respond-to('medium') {
display: flex;
align-items: center;
}
2020-07-02 20:23:00 +00:00
}
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
li {
color: var(--titles-color);
letter-spacing: 0.3px;
font-size: 1.125rem;
margin-bottom: 15px;
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
@include respond-to('medium') {
margin-bottom: 0;
margin-right: 35px;
position: relative;
}
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
&:last-of-type {
margin-bottom: 0;
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
@include respond-to('medium') {
margin-right: 0;
2019-05-21 19:50:29 +00:00
}
2020-07-02 20:23:00 +00:00
}
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
&.nav-current {
font-weight: 600;
}
a {
color: inherit;
}
2019-05-21 19:50:29 +00:00
2020-07-02 20:23:00 +00:00
&.more {
2019-05-21 19:50:29 +00:00
a {
2020-07-02 20:23:00 +00:00
display: inline-flex;
align-items: center;
@include respond-to('medium') {
display: flex;
}
2020-04-27 22:01:48 +00:00
2020-07-02 20:23:00 +00:00
span {
display: inline-block;
color: inherit;
font-size: 0.375rem;
margin-left: 8px;
@include transform(translateY(1px));
2020-04-27 22:01:48 +00:00
}
}
2019-05-21 19:50:29 +00:00
}
}
}
2019-09-20 21:30:08 +00:00
2019-11-12 16:48:45 +00:00
.m-nav__right {
display: flex;
align-items: center;
justify-content: flex-end;
}
2019-09-20 21:30:08 +00:00
.rtl {
2020-07-02 20:23:00 +00:00
.m-nav__left li {
2019-09-20 21:30:08 +00:00
@include respond-to('medium') {
margin-right: 0;
margin-left: 35px;
&:last-of-type {
@include respond-to('medium') {
margin-left: 0;
}
}
}
}
}