From 6ad32fc796ce6ec811df8abe6e3613ee833ec2af Mon Sep 17 00:00:00 2001 From: tebarius <67242661+tebarius@users.noreply.github.com> Date: Sun, 16 Nov 2025 20:20:56 +0100 Subject: [PATCH] Rework (#2) * rework-versioning * add compose vor development * smaller fonts --- .gitignore | 1 + Dockerfile | 5 +++-- .../{my-new-style.css => color-style.css} | 2 +- app/qr-static/style.css | 19 ++++++++++-------- app/requirements.txt | Bin 498 -> 102 bytes docker-compose.yml | 6 ++++++ 6 files changed, 22 insertions(+), 11 deletions(-) create mode 100644 .gitignore rename app/qr-static/{my-new-style.css => color-style.css} (92%) create mode 100644 docker-compose.yml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..9f21b54 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/venv/ diff --git a/Dockerfile b/Dockerfile index b6109c4..a04a629 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ -FROM python:slim +FROM python:3.13-slim ARG TARGETPLATFORM ARG BUILDPLATFORM LABEL authors="tebarius" -LABEL version="1.4.0" +LABEL version="1.5.0" LABEL description="QR-Code-Generator-Server with Flask-App" WORKDIR /app @@ -17,6 +17,7 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +RUN python -m pip install --upgrade pip RUN pip install --no-cache-dir --trusted-host pypi.python.org -r requirements.txt EXPOSE 8002 diff --git a/app/qr-static/my-new-style.css b/app/qr-static/color-style.css similarity index 92% rename from app/qr-static/my-new-style.css rename to app/qr-static/color-style.css index 3373b37..c26e9df 100644 --- a/app/qr-static/my-new-style.css +++ b/app/qr-static/color-style.css @@ -1,6 +1,6 @@ body { background-color: DeepSkyBlue; - background-image: linear-gradient(135deg,#ffc125,#00BFFF,#ffc125); + background-image: linear-gradient(135deg,#ffe125,#33BFFF,#ffe125); color: midnightblue; min-height: 100vh; } diff --git a/app/qr-static/style.css b/app/qr-static/style.css index 9b083f3..31dbd90 100644 --- a/app/qr-static/style.css +++ b/app/qr-static/style.css @@ -1,29 +1,32 @@ + body { + color: midnightblue; + } H1 { text-align: center; background-color: #eee; - border-radius: 60px; + border-radius: 40px; filter: drop-shadow(10px 10px 15px blue); - font-size: 60px; + font-size: 40px; } p { text-align: center; - font-size: 40px; + font-size: 30px; } div { text-align: center; - font-size: 40px; + font-size: 30px; } form { text-align: center; - font-size: 40px; + font-size: 30px; } - input { font-size: 40px; + input { font-size: 30px; } button { border: solid gainsboro; - font-size: 40px; + font-size: 30px; margin: 15px; - border-radius: 50px; + border-radius: 35px; filter: drop-shadow(10px 10px 10px blue); } input[type='radio'] diff --git a/app/requirements.txt b/app/requirements.txt index 40c42fb7400991b77c62384cb1c82e0323e537f8..11eb37dd3c5a92c4c75c31e61f0885987413c81a 100644 GIT binary patch delta 18 acmeywoW}J3-^2tlMx%-4`jgi&$^igOA_pu0 literal 498 zcmYk2Pfx-?5XIlw#E+tB7eqaHhbX)W8`-@R_RA-Amn# za);e%tO=8%7Pv4KV+N{Wu60CXfzn