From 5e2e44f09d3707cb88a213280a2ec3d14e9239f3 Mon Sep 17 00:00:00 2001 From: Chris Fulljames Date: Tue, 4 Feb 2025 21:14:40 -0500 Subject: [PATCH] Player tweaks --- static/styles.css | 18 ++++++++++++++---- templates/base.html | 2 +- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/static/styles.css b/static/styles.css index daac494..43dc49a 100644 --- a/static/styles.css +++ b/static/styles.css @@ -322,13 +322,13 @@ div.player { margin: 10px; box-shadow: 0px 0px 20px 0px; border-radius: 10px; - min-height: 100px; + /*min-height: 100px;*/ /*border-top: 3px solid;*/ background: var(--yellow); } div.player-info { - height: 50%; + /*height: 50%;*/ display: flex; flex-direction: row; flex-wrap: nowrap; @@ -345,7 +345,15 @@ div.player-info { justify-content: center; align-items: center; gap: 10px; - height: 50%; + /*height: 50%;*/ + padding: 0px 10px; +} + +.player-volume { + display: flex; + flex-direction: row; + justify-content: center; + align-items: center; padding: 10px; } @@ -392,7 +400,9 @@ div.player-info { } #volume-slider { - width: 25%; + width: 100px; + max-width: 25%; + margin-left: 10px; } .player-label { diff --git a/templates/base.html b/templates/base.html index 01647d7..4c1e82a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -105,7 +105,7 @@ 0:00 -
+
-- 2.39.5