edited readme
This commit is contained in:
29
styles/elements/nav.css
Normal file
29
styles/elements/nav.css
Normal file
@@ -0,0 +1,29 @@
|
||||
|
||||
nav {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
position: -webkit-sticky;
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background-color: #f6f6f6;
|
||||
z-index: 1;
|
||||
}
|
||||
nav a {
|
||||
position: relative;
|
||||
padding: 10px 20px;
|
||||
height: fit-content;
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
nav a:before {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
}
|
||||
nav a:after {
|
||||
content: "•";
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user