Add placeholder app icon & change launch color

This commit is contained in:
Tommy Chow 2022-01-05 12:56:00 -05:00
parent 25cf38eeaa
commit a0b6baa971
50 changed files with 302 additions and 87 deletions

View file

@ -31,6 +31,7 @@
<title>frosty</title>
<link rel="manifest" href="manifest.json">
<link rel="stylesheet" type="text/css" href="splash/style.css">
</head>
<body>
<!-- This script installs service_worker.js to provide PWA functionality to
@ -101,4 +102,4 @@
}
</script>
</body>
</html>
</html>

43
web/splash/style.css Normal file
View file

@ -0,0 +1,43 @@
body, html {
margin:0;
height:100%;
background: #000000;
background-size: 100% 100%;
}
.center {
margin: 0;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
.contain {
display:block;
width:100%; height:100%;
object-fit: contain;
}
.stretch {
display:block;
width:100%; height:100%;
}
.cover {
display:block;
width:100%; height:100%;
object-fit: cover;
}
@media (prefers-color-scheme: dark) {
body {
margin:0;
height:100%;
background: #000000;
background-size: 100% 100%;
}
}