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/videos
cypress/screenshots cypress/screenshots
*.zip

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

@ -18,16 +18,12 @@
a { a {
@apply font-bold mt-2; @apply font-bold mt-2;
} }
div.absolute {
background-color: white;
}
</style> </style>
{#if hidden} {#if hidden}
<div class="relative"> <div class="relative">
<div <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)} on:click={() => (hidden = false)}
transition:fade> transition:fade>
<h1>Triangles.fun</h1> <h1>Triangles.fun</h1>

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

@ -21,6 +21,7 @@ module.exports = {
colors: { colors: {
transparent: "transparent", transparent: "transparent",
current: "currentColor", current: "currentColor",
white: "#FFFFFF",
gray: "hsl(219, 28%, 88%)", gray: "hsl(219, 28%, 88%)",
"gray-lighter": "hsl(218, 27%, 94%)", "gray-lighter": "hsl(218, 27%, 94%)",
"gray-darker": "hsl(219, 28%, 68%)", "gray-darker": "hsl(219, 28%, 68%)",

Loading…
Cancel
Save