From 28f6e4d78fd103bc334365e03bc04bcc3cf26898 Mon Sep 17 00:00:00 2001 From: fureunoir Date: Sun, 28 Dec 2025 17:05:20 +0300 Subject: [PATCH] - Enhance maintenance page: add dynamic theme support, multilingual support, and improved 3D text rendering logic. - Simplify URL configuration by replacing i18n patterns with direct path handling. --- engine/core/static/maintenance.html | 145 +++++++++++++++++++++++----- evibes/urls.py | 5 +- 2 files changed, 124 insertions(+), 26 deletions(-) diff --git a/engine/core/static/maintenance.html b/engine/core/static/maintenance.html index 9bd32d29..14f90d78 100644 --- a/engine/core/static/maintenance.html +++ b/engine/core/static/maintenance.html @@ -1,5 +1,4 @@ - @@ -16,14 +15,26 @@ width: 100%; height: 100%; overflow: hidden; - font-family: 'Source Code Pro', monospace; - background: #2a2a3a; - color: #fff; + font-family: 'Source Code Pro', 'Courier New', Courier, monospace; } canvas { display: block; } + + /* Dark theme (default) */ + body { + background: #2a2a3a; + color: #fff; + } + + /* Light theme */ + @media (prefers-color-scheme: light) { + body { + background: #f5f5f7; + color: #1d1d1f; + } + } @@ -31,11 +42,62 @@