From c7c15a4e8b7cb5b0cb23d51367fa9d8b795c4da1 Mon Sep 17 00:00:00 2001 From: Miquel Lionel Date: Mon, 25 Jan 2021 16:57:45 +0100 Subject: The alt navbar is cleaner now + search bar. - css is put in the local.css file. --- views/header.html | 29 +++++++++++++++++------------ views/local.css | 8 ++++++++ 2 files changed, 25 insertions(+), 12 deletions(-) create mode 100644 views/local.css (limited to 'views') diff --git a/views/header.html b/views/header.html index faad2a4..9356c2c 100644 --- a/views/header.html +++ b/views/header.html @@ -18,18 +18,7 @@
{{ if .UserInfo }}
- menu | - new honk | - fanfare | - home | - fetch | - @me | - my honks | - settings | -
- -
- {{ .UserInfo.Username }}
+ menu {{ .UserInfo.Username }}
+ + +
+ new honk | + fanfare | + home | + fetch | + @me | + my honks | + settings | +
+ +
+
+ +

{{ else }} home diff --git a/views/local.css b/views/local.css new file mode 100644 index 0000000..680d300 --- /dev/null +++ b/views/local.css @@ -0,0 +1,8 @@ +#altnavbar{ + margin-left:17%; + position:fixed; + background:var(--bg-page); + opacity:0.7; + top:0; + padding:5px +} -- cgit v1.2.3-70-g09d2