From ba2056537167965875700a195683fce6bec4bdfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Babi=C4=8D?= Date: Mon, 22 Mar 2021 23:30:05 +0100 Subject: [PATCH] fix white background and relative paths for itch --- .gitignore | 2 ++ public/index.html | 8 ++++---- src/About.svelte | 6 +----- src/Components/Tailwind.svelte | 5 +++++ tailwind.config.js | 1 + 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index dd93076..a2c8443 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,5 @@ out/ cypress/videos cypress/screenshots + +*.zip diff --git a/public/index.html b/public/index.html index 4cac8a9..ca0fce1 100644 --- a/public/index.html +++ b/public/index.html @@ -10,17 +10,17 @@ rel="icon" type="image/png" sizes="96x96" - href="/icon/favicon-96x96.png" + href="icon/favicon-96x96.png" /> - - + + - + diff --git a/src/About.svelte b/src/About.svelte index 14050ba..c4cd77c 100644 --- a/src/About.svelte +++ b/src/About.svelte @@ -18,16 +18,12 @@ a { @apply font-bold mt-2; } - - div.absolute { - background-color: white; - } {#if hidden}
(hidden = false)} transition:fade>

Triangles.fun

diff --git a/src/Components/Tailwind.svelte b/src/Components/Tailwind.svelte index 0de6395..faa5741 100644 --- a/src/Components/Tailwind.svelte +++ b/src/Components/Tailwind.svelte @@ -3,6 +3,11 @@ @import "tailwindcss/components"; @import "tailwindcss/utilities"; + html, + body { + @apply bg-white; + } + .div0 { grid-area: 1 / 5; margin-left: -80px; diff --git a/tailwind.config.js b/tailwind.config.js index e437e87..13b9716 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -21,6 +21,7 @@ module.exports = { colors: { transparent: "transparent", current: "currentColor", + white: "#FFFFFF", gray: "hsl(219, 28%, 88%)", "gray-lighter": "hsl(218, 27%, 94%)", "gray-darker": "hsl(219, 28%, 68%)",