diff options
author | cel 🌸 <cel@blos.sm> | 2023-08-05 23:40:44 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-08-05 23:40:44 +0100 |
commit | bfef6e287488722f87e7af57cf53b6fc7fbab284 (patch) | |
tree | f70dae96f591cfa0e8ae4a68ca8db4993a0fc5f4 | |
parent | 5fcb4c095613ec774678c1e48c1b0a93678b193b (diff) | |
download | blossom-bfef6e287488722f87e7af57cf53b6fc7fbab284.tar.gz blossom-bfef6e287488722f87e7af57cf53b6fc7fbab284.tar.bz2 blossom-bfef6e287488722f87e7af57cf53b6fc7fbab284.zip |
fix header
-rw-r--r-- | static/style.css | 5 | ||||
-rw-r--r-- | templates/home.html.tera | 33 |
2 files changed, 22 insertions, 16 deletions
diff --git a/static/style.css b/static/style.css index fc2d69e..1b68815 100644 --- a/static/style.css +++ b/static/style.css @@ -61,6 +61,10 @@ a.active { color: #311f20; } +blockquote { + font-style: italic; +} + img, video { max-width: 100%; @@ -123,6 +127,7 @@ header { display: flex; align-items: end; flex-wrap: wrap; + gap: 4vw; } main { diff --git a/templates/home.html.tera b/templates/home.html.tera index 483c2f9..9a6041f 100644 --- a/templates/home.html.tera +++ b/templates/home.html.tera @@ -8,23 +8,24 @@ <div class="panel" id="title"> <h1>cel 🌸</h1> </div> -</header> -{% if is_live %} -<iframe - class="panel" - id="stream" - src="https://weirdstar.stream/embed/video" - title="girlstream" - referrerpolicy="origin" - scrolling="no" - allowfullscreen> -</iframe> -{% endif %} - -{% if listenbrainz.is_scrobbling %} -<a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">now playing: {{ listenbrainz.song }} - {{ listenbrainz.artist }}</a> -{% endif %} + {% if is_live %} + <iframe + class="panel" + id="stream" + src="https://weirdstar.stream/embed/video" + title="girlstream" + referrerpolicy="origin" + scrolling="no" + allowfullscreen> + </iframe> + {% endif %} + + {% if listenbrainz.is_scrobbling %} + <a href="https://listenbrainz.org/user/celblossom" class="panel" id="scrobble">now playing: {{ listenbrainz.song }} - {{ listenbrainz.artist }}</a> + {% endif %} + +</header> {% endblock header %} |