2 Commits

Author SHA1 Message Date
c6a6f4cd0c docker compose fixed
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled
2026-05-20 19:46:36 +00:00
Priec
30db21f4af mobile phone resolution media player
Some checks failed
CI / Check Style (push) Has been cancelled
CI / Run Clippy (push) Has been cancelled
CI / Run Tests (push) Has been cancelled
2026-05-20 21:44:34 +02:00
4 changed files with 41 additions and 12 deletions

View File

@@ -95,10 +95,13 @@
} }
/* === 3. Terminal look & feel ================================ */ /* === 3. Terminal look & feel ================================ */
/* Root font-size drives every rem in this file and in app.css.
* Bump this to scale the whole UI; drop to shrink. */
html { font-size: 19px; }
body { body {
font-family: "JetBrains Mono", "Cascadia Code", "Fira Code", font-family: "JetBrains Mono", "Cascadia Code", "Fira Code",
ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
font-size: 15px; font-size: 1rem;
line-height: 1.6; line-height: 1.6;
} }
@@ -529,13 +532,36 @@ body {
.uw-queue-remove:hover { color: oklch(var(--er)); border-color: oklch(var(--er)); } .uw-queue-remove:hover { color: oklch(var(--er)); border-color: oklch(var(--er)); }
@media (max-width: 640px) { @media (max-width: 640px) {
/* Two-row layout: [title][prev][next][queue][close] on top,
* full-width <audio> scrubber underneath. */
.uw-player-tag { display: none; } .uw-player-tag { display: none; }
.uw-player-title { max-width: 7rem; font-size: 0.95rem; } .uw-player-inner {
.uw-player-inner { padding: 0.75rem 0.95rem; gap: 0.6rem; } flex-wrap: wrap;
.uw-playing body { padding-bottom: 5.75rem; } padding: 0.6rem 0.75rem;
.uw-player-btn { min-width: 2.4rem; height: 2.4rem; padding: 0 0.4rem; font-size: 0.95rem; } gap: 0.4rem;
.uw-player-close { width: 2.4rem; height: 2.4rem; } row-gap: 0.5rem;
#uw-audio { height: 2.7rem; min-width: 7rem; } }
.uw-player-title {
flex: 1 1 auto;
min-width: 0;
max-width: none;
font-size: 0.95rem;
}
.uw-player-btn {
min-width: 2.2rem;
height: 2.2rem;
padding: 0 0.35rem;
font-size: 0.9rem;
}
.uw-player-close { width: 2.2rem; height: 2.2rem; font-size: 0.95rem; }
#uw-audio {
order: 99;
flex: 1 1 100%;
width: 100%;
min-width: 0;
height: 2.4rem;
}
.uw-playing body { padding-bottom: 8.25rem; }
.uw-queue-head, .uw-queue-item { padding-left: 0.95rem; padding-right: 0.95rem; } .uw-queue-head, .uw-queue-item { padding-left: 0.95rem; padding-right: 0.95rem; }
} }

View File

@@ -42,9 +42,9 @@
}); });
}); });
</script> </script>
<link href="/static/css/app.css" rel="stylesheet" type="text/css"> <link href="/static/css/app.css?v=2026-05-20b" rel="stylesheet" type="text/css">
{% block head %}{% endblock head %} {% block head %}{% endblock head %}
<link href="/static/css/theme.css" rel="stylesheet" type="text/css"> <link href="/static/css/theme.css?v=2026-05-20b" rel="stylesheet" type="text/css">
<script src="/static/vendor/htmx/htmx-1.9.12.min.js"></script> <script src="/static/vendor/htmx/htmx-1.9.12.min.js"></script>
<style> <style>
@media (min-width: 768px) { @media (min-width: 768px) {

View File

@@ -226,8 +226,8 @@
if (e.target.closest('#uw-close')) { uwClear(); return; } if (e.target.closest('#uw-close')) { uwClear(); return; }
}); });
</script> </script>
<link href="/static/css/app.css" rel="stylesheet" type="text/css"> <link href="/static/css/app.css?v=2026-05-20b" rel="stylesheet" type="text/css">
<link href="/static/css/theme.css" rel="stylesheet" type="text/css"> <link href="/static/css/theme.css?v=2026-05-20b" rel="stylesheet" type="text/css">
<script src="/static/vendor/htmx/htmx-1.9.12.min.js"></script> <script src="/static/vendor/htmx/htmx-1.9.12.min.js"></script>
<style> <style>
@media (min-width: 768px) { @media (min-width: 768px) {

View File

@@ -1,9 +1,11 @@
services: services:
universal-web: gitara-web:
container_name: gitara-web container_name: gitara-web
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: Dockerfile
extra_hosts:
- "host.docker.internal:host-gateway"
env_file: env_file:
- .env.production - .env.production
volumes: volumes:
@@ -24,4 +26,5 @@ networks:
volumes: volumes:
gitara_web_data: gitara_web_data:
external: true
name: gitara_web_data name: gitara_web_data