1 Commits

Author SHA1 Message Date
Renovate Bot eb0a505324 chore(deps): update docker/build-push-action action to v7
Build and publish container / build (pull_request) Successful in 5m58s
2026-06-12 00:02:45 +00:00
3 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ jobs:
password: ${{ secrets.PACKAGES_TOKEN }} password: ${{ secrets.PACKAGES_TOKEN }}
- name: Build and push - name: Build and push
uses: docker/build-push-action@v6 uses: docker/build-push-action@f9f3042f7e2789586610d6e8b85c8f03e5195baf # v7
with: with:
context: . context: .
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
+1 -1
View File
@@ -1,7 +1,7 @@
# Lightweight, non-root nginx serving the static site. # Lightweight, non-root nginx serving the static site.
# Runs as user "nginx" and listens on 8080, ready to sit behind an # Runs as user "nginx" and listens on 8080, ready to sit behind an
# external reverse proxy that terminates TLS and forwards requests. # external reverse proxy that terminates TLS and forwards requests.
FROM nginxinc/nginx-unprivileged:1.31-alpine-slim@sha256:6616de6eaa82bc2ee3541fa287a8fca7dc7271e6374e9402014dbd13f4a980ae FROM nginxinc/nginx-unprivileged:1.27-alpine-slim
COPY default.conf /etc/nginx/conf.d/default.conf COPY default.conf /etc/nginx/conf.d/default.conf
COPY --chown=nginx:nginx index.html styles.css script.js messages.js /usr/share/nginx/html/ COPY --chown=nginx:nginx index.html styles.css script.js messages.js /usr/share/nginx/html/
+7 -13
View File
@@ -63,13 +63,10 @@ body {
padding: 1.5rem; padding: 1.5rem;
} }
/* Segmented control: both options joined in one rounded container,
with the active segment filled. */
.theme-toggle { .theme-toggle {
display: inline-flex; display: flex;
border: 2px solid var(--button-bg); gap: 0.5rem;
border-radius: 999px; border: none;
overflow: hidden;
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
@@ -78,22 +75,19 @@ body {
font-family: inherit; font-family: inherit;
font-size: 0.9rem; font-size: 0.9rem;
font-weight: 600; font-weight: 600;
padding: 0.5rem 1.1rem; padding: 0.5rem 1rem;
border: none; border: 2px solid var(--button-bg);
border-radius: 999px;
background: transparent; background: transparent;
color: var(--text); color: var(--text);
cursor: pointer; cursor: pointer;
transition: background 0.2s ease, color 0.2s ease; transition: background 0.2s ease, color 0.2s ease;
} }
/* Divider between the two segments. */
.theme-button + .theme-button {
border-left: 2px solid var(--button-bg);
}
.theme-button[aria-pressed="true"] { .theme-button[aria-pressed="true"] {
background: var(--button-active-bg); background: var(--button-active-bg);
color: var(--button-active-text); color: var(--button-active-text);
border-color: var(--button-active-bg);
} }
.stage { .stage {