basic routing, <Nav> component
This commit is contained in:
1 parent
ae1193e6ce
commit
0620207877
5 files changed
+69
-7
No files matched your search
@@ -0,0 +1,17 @@
|
||||
@use 'mixins';
|
||||
|
||||
nav.main-nav {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
a {
|
||||
text-transform: uppercase;
|
||||
margin: 30px;
|
||||
color: white;
|
||||
transition: border-bottom-width .1s ease;
|
||||
&[aria-current="page"], &:hover {
|
||||
border-bottom: 3px solid crimson;
|
||||
text-decoration: none;
|
||||
transition: border-bottom-width .1s ease;
|
||||
}
|
||||
}
|
||||
}
|
||||
+4
-1
@@ -1,9 +1,10 @@
|
||||
@use 'sass:list';
|
||||
|
||||
@use 'mixins';
|
||||
@use 'reset';
|
||||
@use 'mixins';
|
||||
@use 'header';
|
||||
@use 'sidebar';
|
||||
@use 'nav';
|
||||
@use 'vars';
|
||||
|
||||
html {
|
||||
@@ -53,6 +54,8 @@ main {
|
||||
z-index: 8;
|
||||
grid-row: 2/3;
|
||||
grid-column: 2/3;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
input {
|
||||
|
||||
Reference in new issue
Block a user