fix white background and relative paths for itch

master
Peter Babič 3 years ago
parent d07cb09f43
commit ba20565371
Signed by: peter.babic
GPG Key ID: 4BB075BC1884BA40
  1. 2
      .gitignore
  2. 8
      public/index.html
  3. 6
      src/About.svelte
  4. 5
      src/Components/Tailwind.svelte
  5. 1
      tailwind.config.js

2
.gitignore vendored

@ -10,3 +10,5 @@ out/
cypress/videos
cypress/screenshots
*.zip

@ -10,17 +10,17 @@
rel="icon"
type="image/png"
sizes="96x96"
href="/icon/favicon-96x96.png"
href="icon/favicon-96x96.png"
/>
<link rel="shortcut icon" type="image/png" href="/icon/favicon.png" />
<link rel="stylesheet" href="/build/bundle.css" />
<link rel="manifest" href="/manifest.json" />
<link rel="stylesheet" href="build/bundle.css" />
<link rel="manifest" href="manifest.json" />
<meta
name="description"
content="Eliminate all the circles in the triangle by jumping them over"
/>
<script defer src="/build/bundle.js"></script>
<script defer src="build/bundle.js"></script>
</head>
<body></body>

@ -18,16 +18,12 @@
a {
@apply font-bold mt-2;
}
div.absolute {
background-color: white;
}
</style>
{#if hidden}
<div class="relative">
<div
class="absolute z-10 rounded text-blue-darker text-left"
class="absolute z-10 rounded text-blue-darker text-left bg-white"
on:click={() => (hidden = false)}
transition:fade>
<h1>Triangles.fun</h1>

@ -3,6 +3,11 @@
@import "tailwindcss/components";
@import "tailwindcss/utilities";
html,
body {
@apply bg-white;
}
.div0 {
grid-area: 1 / 5;
margin-left: -80px;

@ -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%)",

Loading…
Cancel
Save