Add mobile web app support

This commit is contained in:
Carlos Medina
2024-05-08 16:51:04 -06:00
parent e204029d3c
commit ecbad7ce6c
4 changed files with 29 additions and 0 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

View File

@@ -1022,6 +1022,14 @@ body {
}
}
@media (display-mode: standalone) {
@supports (-webkit-touch-callout: none) {
.mobile-navigation {
bottom: 15px;
}
}
}
.size-h1 { font-size: var(--font-size-h1); }
.size-h2 { font-size: var(--font-size-h2); }
.size-h3 { font-size: var(--font-size-h3); }

View File

@@ -0,0 +1,13 @@
{
"name": "Glance",
"display": "standalone",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "/static/app-icon.png",
"type": "image/png",
"sizes": "512x512"
}
]
}