Update styles.css
This commit is contained in:
parent
b3cc3a80d6
commit
d63654f1cf
1 changed files with 7 additions and 1 deletions
|
|
@ -21,15 +21,20 @@ html, body {
|
||||||
height: var(--topbar-h); display: flex; align-items: center;
|
height: var(--topbar-h); display: flex; align-items: center;
|
||||||
background: #111; border-bottom: 1px solid #222;
|
background: #111; border-bottom: 1px solid #222;
|
||||||
padding: 0 1rem; z-index: 1000; gap: 1.5rem;
|
padding: 0 1rem; z-index: 1000; gap: 1.5rem;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menuBtn {
|
#menuBtn {
|
||||||
background: none; border: 0; color: var(--accent);
|
background: none; border: 0; color: var(--accent);
|
||||||
font-size: 1.5rem; cursor: pointer; font-weight: bold;
|
font-size: 1.4rem; cursor: pointer; font-weight: bold;
|
||||||
|
line-height: 1; padding: 0; margin: 0;
|
||||||
|
min-width: 2.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-nav {
|
.primary-nav {
|
||||||
display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
|
display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center;
|
||||||
|
overflow-x: auto;
|
||||||
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.primary-nav a {
|
.primary-nav a {
|
||||||
|
|
@ -42,6 +47,7 @@ html, body {
|
||||||
text-shadow: 0 0 8px var(--accent);
|
text-shadow: 0 0 8px var(--accent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Rest unchanged */
|
||||||
#sidebar {
|
#sidebar {
|
||||||
position: fixed; top: var(--topbar-h); left: 0;
|
position: fixed; top: var(--topbar-h); left: 0;
|
||||||
width: 300px; bottom: 0; overflow: auto;
|
width: 300px; bottom: 0; overflow: auto;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue