feat: add native app detection and adjust styles for Capacitor/Cordova
Some checks failed
Build Android APK / build (push) Successful in 6m31s
Version Static Assets / version-assets (push) Failing after 6s

This commit is contained in:
2026-01-22 09:22:06 +01:00
parent d9e8389777
commit 2bbd388524
5 changed files with 67 additions and 3 deletions

View File

@@ -111,6 +111,27 @@ body {
transition: background 0.5s ease, color 0.3s ease;
}
/* Native app (Capacitor/Cordova) status bar adjustment */
.native-app body {
padding-top: calc(70px + 32px);
}
.native-app .theme-toggle {
top: calc(20px + 32px);
}
.native-app .language-toggle {
top: calc(86px + 32px);
}
.native-app .exit-game {
top: calc(20px + 32px);
}
.native-app .screen-lock-toggle {
top: calc(152px + 32px);
}
/* Film grain texture overlay */
body::before {
content: '';