Update navbar (kind-of responsive)
This commit is contained in:
parent
945a466dc5
commit
e37265ed2b
2 changed files with 6 additions and 4 deletions
|
@ -14,7 +14,7 @@
|
|||
<h1>Hello World!</h1>
|
||||
|
||||
<nav>
|
||||
<img class="logo" src="static/svg/logo.svg" />
|
||||
<span><img class="logo" src="static/svg/logo.svg" /></span>
|
||||
|
||||
<a class="active" href="#">Home</a>
|
||||
<a href="#test">Link 0</a>
|
||||
|
|
|
@ -59,14 +59,16 @@ nav {
|
|||
right: 0;
|
||||
height: 4rem;
|
||||
line-height: 2rem;
|
||||
padding: 1rem;
|
||||
background: var(--bg-00);
|
||||
color: var(--text-00);
|
||||
font-variant: small-caps;
|
||||
white-space: nowrap;
|
||||
overflow-x: auto;
|
||||
}
|
||||
nav > * {
|
||||
margin-right: 1rem;
|
||||
height: 2rem;
|
||||
height: 4rem;
|
||||
padding: 1rem;
|
||||
padding-right: 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue