diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-02-03 22:23:19 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-02-16 01:20:39 +0100 |
| commit | c4a409429972936045084d333e117a567d909420 (patch) | |
| tree | ff238ed3afe7a172deeb341e9ed02ec407a5c470 /web/sidebar.html | |
| parent | 6be0c4fd6d80b99084c724277361ef84dd8aafb1 (diff) | |
Tidy up index.html a bit.
Diffstat (limited to 'web/sidebar.html')
| -rw-r--r-- | web/sidebar.html | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/web/sidebar.html b/web/sidebar.html index b7c3e7555..70adb2bba 100644 --- a/web/sidebar.html +++ b/web/sidebar.html @@ -1,17 +1,36 @@ +<!-- +Sidebar menu, included by the web server where SIDEBAR is written in +applicable .html files. +--> + <style> div.nav { - margin-right: 4em; height: 100vh; width: 10%; position: fixed; } + +img.nav { + margin-left: auto; + margin-right: auto; + display: block; +} + +ul.nav { + padding-left: 2em; + padding-right: 2em; +} + li.nav { border: 1px solid rgba(57, 61, 65, 0.50); border-radius: 6px; list-style-type: none; padding: 8px; margin: 4px; + background-color: #eeeeee; + text-align: center; } + a.nav { color: black; text-decoration: none; @@ -19,6 +38,7 @@ a.nav { </style> <div class="nav"> +<img class="nav" src="dom.png"/> <ul class="nav"> <li class="nav"><a class="nav" href="/">Transport</a></li> <li class="nav"><a class="nav" href="/playlists">Playlists</a></li> |
