From bd8bcc369bc890ff985e4bc3b4961700606ec24f Mon Sep 17 00:00:00 2001 From: Dessa Simpson Date: Sun, 13 Sep 2020 10:13:01 -0700 Subject: [PATCH] Show streamer profile picture to the left of title --- public/style.css | 13 ++++++++++++- views/main.eta | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/public/style.css b/public/style.css index 437be92..96e4161 100644 --- a/public/style.css +++ b/public/style.css @@ -44,7 +44,7 @@ a:hover { text-decoration: none; } -#logo { +#nav-title { font-weight: bold; color: #eee; } @@ -65,6 +65,17 @@ div#nav-userpic { margin-bottom: 0.25em; } +div#nav-streamerpic { + margin-right: -5px; + height: 2.5em; +} + +#nav-streamerpic img { + height: 80%; + margin-top: 0.25em; + margin-bottom: 0.25em; +} + #main { margin: 0.5em; padding: 0.5em; diff --git a/views/main.eta b/views/main.eta index 95760cb..3b16a9b 100644 --- a/views/main.eta +++ b/views/main.eta @@ -8,7 +8,8 @@
- + + <%- if (it.loggedIn) { -%>