tiptap/examples/Components/Navigation/style.scss

43 lines
677 B
SCSS
Raw Normal View History

2018-08-22 20:10:44 +08:00
@import "~variables";
.navigation {
2018-11-09 05:03:10 +08:00
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75rem;
background-color: $color-black;
color: $color-white;
&__logo {
font-size: 1.1rem;
font-weight: bold;
margin: 0;
}
&__icon {
width: 1.5rem;
height: 1.5rem;
}
&__link {
display: inline-block;
color: rgba($color-white, 0.5);
text-decoration: none;
font-weight: bold;
font-size: 0.9rem;
padding: 0.1rem 0.5rem;
border-radius: 3px;
&:hover {
color: $color-white;
2018-08-22 20:10:44 +08:00
background-color: rgba($color-white, 0.1);
}
2018-11-09 05:03:10 +08:00
}
2018-08-22 20:10:44 +08:00
2018-11-09 05:03:10 +08:00
&__github-link {
margin-left: 0.5rem;
}
2018-08-23 01:22:57 +08:00
2018-11-09 05:03:10 +08:00
}