nitter/src/sass/navbar.scss

62 lines
958 B
SCSS
Raw Normal View History

2019-09-13 08:44:21 +00:00
@import '_variables';
nav {
2019-09-13 17:52:05 +00:00
display: flex;
align-items: center;
position: fixed;
2019-09-13 08:44:21 +00:00
background-color: $bg_overlays;
box-shadow: 0 0 4px $shadow;
padding: 0;
width: 100%;
height: 50px;
2019-09-13 17:52:05 +00:00
z-index: 1000;
}
2019-09-13 08:44:21 +00:00
2019-09-13 17:52:05 +00:00
.inner-nav {
margin: auto;
box-sizing: border-box;
padding: 0 10px;
display: flex;
align-items: center;
flex-basis: 920px;
height: 50px;
2019-09-13 08:44:21 +00:00
}
.site-name {
font-weight: 600;
&:hover {
color: $accent_light;
text-decoration: unset;
}
}
.site-logo {
display: block;
width: 35px;
height: 35px;
}
2019-09-13 17:52:05 +00:00
.nav-item {
2019-09-13 08:44:21 +00:00
display: flex;
flex: 1;
line-height: 50px;
height: 50px;
overflow: hidden;
flex-wrap: wrap;
&.right {
text-align: right;
justify-content: flex-end;
}
&.right a {
padding-left: 4px;
&:hover {
color: $accent_light;
text-decoration: unset;
}
}
}