Compare commits
2 Commits
e07e99c8d9
...
d9010d10c5
Author | SHA1 | Date | |
---|---|---|---|
d9010d10c5 | |||
ae373b82be |
2
app.py
2
app.py
@@ -184,4 +184,4 @@ def stats():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
app.run(debug=True)
|
app.run(debug=True, host="0.0.0.0")
|
Before Width: | Height: | Size: 585 B After Width: | Height: | Size: 586 B |
@@ -9,6 +9,6 @@
|
|||||||
"icons": [
|
"icons": [
|
||||||
{ "src": "/favicon.png", "sizes": "32x32", "type": "image/png" },
|
{ "src": "/favicon.png", "sizes": "32x32", "type": "image/png" },
|
||||||
{ "src": "/favicon.ico", "sizes": "48x48 64x64 128x128 256x256", "type": "image/x-icon" },
|
{ "src": "/favicon.ico", "sizes": "48x48 64x64 128x128 256x256", "type": "image/x-icon" },
|
||||||
{ "src": "/logo.svg", "sizes": "any", "type": "image/svg+xml" }
|
{ "src": "/static/logo.svg", "sizes": "any", "type": "image/svg+xml" }
|
||||||
]
|
]
|
||||||
}
|
}
|
@@ -16,7 +16,7 @@
|
|||||||
<meta property="og:description" content="Open Source Web-App für Kalender- und Datumsberechnungen. Werbefrei, trackingfrei, kostenlos.">
|
<meta property="og:description" content="Open Source Web-App für Kalender- und Datumsberechnungen. Werbefrei, trackingfrei, kostenlos.">
|
||||||
<meta property="og:type" content="website">
|
<meta property="og:type" content="website">
|
||||||
<meta property="og:url" content="https://codeberg.org/elpatron/datecalc">
|
<meta property="og:url" content="https://codeberg.org/elpatron/datecalc">
|
||||||
<meta property="og:image" content="/logo.svg">
|
<meta property="og:image" content="/static/logo.svg">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
<link rel="stylesheet" href="/static/style.css">
|
<link rel="stylesheet" href="/static/style.css">
|
||||||
@@ -26,19 +26,18 @@
|
|||||||
.pwa-banner {
|
.pwa-banner {
|
||||||
display: none;
|
display: none;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0; left: 0; right: 0;
|
top: 0; left: 0; right: 0;
|
||||||
background: #2563eb;
|
background: #2563eb;
|
||||||
color: #fff;
|
color: #fff;
|
||||||
padding: 1em 1.5em 1.2em 1.5em;
|
padding: 1em 1.5em 1.2em 1.5em;
|
||||||
box-shadow: 0 -2px 12px #1e293b22;
|
box-shadow: 0 2px 12px #1e293b22;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
font-size: 1.08em;
|
font-size: 1.08em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
border-radius: 16px 16px 0 0;
|
border-radius: 0 0 16px 16px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
max-width: 480px;
|
width: 100%;
|
||||||
left: 50%;
|
/* Entferne max-width, left, transform */
|
||||||
transform: translateX(-50%);
|
|
||||||
}
|
}
|
||||||
.pwa-banner button {
|
.pwa-banner button {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@@ -61,7 +60,7 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
@media (min-width: 600px) {
|
@media (min-width: 600px) {
|
||||||
.pwa-banner { max-width: 420px; }
|
.pwa-banner { max-width: 420px; left: 50%; transform: translateX(-50%); width: auto; }
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script>
|
<script>
|
||||||
|
Reference in New Issue
Block a user