sandvich.xyz/static/css/navbar.css

36 lines
611 B
CSS
Raw Normal View History

2022-09-12 19:20:07 -07:00
nav {
2022-10-30 19:47:39 -07:00
position: absolute;
2022-09-12 19:20:07 -07:00
margin: 0;
background-color: var(--bg-dark);
font-family: var(--monospace);
2022-10-30 19:47:39 -07:00
/*padding: 8px 0;*/
/*position: sticky;*/
2022-09-12 19:20:07 -07:00
z-index: 5;
2022-10-30 19:47:39 -07:00
color: var(--fg3);
padding: 16px;
2022-09-12 19:20:07 -07:00
}
nav a {
text-decoration: none;
height: 100%;
2022-10-30 19:47:39 -07:00
padding: 0 16px;
font-size: 14px;
border-right: 1px dotted var(--fg3);
margin-left: -8px;
}
nav a:last-child {
border-right: initial;
2022-09-12 19:20:07 -07:00
}
nav a:hover {
text-decoration: underline;
2022-10-30 19:47:39 -07:00
color: unset;
background-color: unset;
2022-09-12 19:20:07 -07:00
}
nav a.home {
background-color: var(--accent);
color: var(--bg0);
}