Browse Source

fixes

master
Milan Pässler 8 months ago
parent
commit
a4cbeb0747
4 changed files with 13 additions and 9 deletions
  1. 1
    0
      index.html
  2. 4
    3
      main.css
  3. 4
    4
      manifest.json
  4. 4
    2
      sw.js

+ 1
- 0
index.html View File

@@ -1,3 +1,4 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta name="theme-color" content="#1a1919"></meta>

+ 4
- 3
main.css View File

@@ -36,9 +36,9 @@
}

body {
overflow: hidden;
overflow-x: hidden;
user-select: none;
height: 100%;
min-height: 100vh;
margin: 0;
background-color: #1a1919;
color: white;
@@ -63,7 +63,7 @@ main {
}

.container {
max-width: 1080px;
max-width: 850px;
width: 100%;
box-sizing: border-box;
margin: 0 auto;
@@ -121,6 +121,7 @@ header>svg * {
padding: 0;
display: flex;
align-items: center;
overflow: hidden;
}

.container.gallery>.grid-container {

+ 4
- 4
manifest.json View File

@@ -4,22 +4,22 @@
"start_url": ".",
"icons": [
{
"src": "deepart.ai64.png",
"src": "./deepart.ai64.png",
"sizes": "64x64",
"type": "image\/png"
},
{
"src": "deepart.ai128.png",
"src": "./deepart.ai128.png",
"sizes": "128x128",
"type": "image\/png"
},
{
"src": "deepart.ai256.png",
"src": "./deepart.ai256.png",
"sizes": "256x256",
"type": "image\/png"
},
{
"src": "deepart.ai512.png",
"src": "./deepart.ai512.png",
"sizes": "512x512",
"type": "image\/png"
}

+ 4
- 2
sw.js View File

@@ -1,12 +1,13 @@
'use strict';

const CACHE = 'cache-v34';
const CACHE = 'cache-v50';

let preCache = [
'./',
'./js/',
'./js/lit-html.js',
'./js/main.js',
'./js/ai.js',
'./js/router.js',
'./js/sw.js',
'./js/util.js',
@@ -27,7 +28,8 @@ let preCache = [
'./fonts/source-code-pro-v7-latin-700.woff2',
'./fonts/source-code-pro-v7-latin-regular.woff',
'./fonts/source-code-pro-v7-latin-regular.woff2',
'./manifest.json'
'./manifest.json',
'./main.css'
];

self.addEventListener('install', function (evt) {

Loading…
Cancel
Save