scss org and parenthood adding
This commit is contained in:
31
app/assets/stylesheets/molecules/nav.scss
Normal file
31
app/assets/stylesheets/molecules/nav.scss
Normal file
@ -0,0 +1,31 @@
|
||||
.nav {
|
||||
@include inline-ul;
|
||||
background-color: $dark;
|
||||
color: $light;
|
||||
margin: -15px -15px 15px;
|
||||
width: calc(100% + 30px);
|
||||
|
||||
li {
|
||||
&:hover {
|
||||
background-color: $grey;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.sub-nav {
|
||||
@include inline-ul;
|
||||
margin: -19px -15px 0;
|
||||
|
||||
a {
|
||||
color: $dark;
|
||||
|
||||
&:hover {
|
||||
background-color: $light;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user