radames commited on
Commit
628e7eb
Β·
1 Parent(s): abb38db

style buttons

Browse files
frontend/src/lib/Keyboard.svelte CHANGED
@@ -47,7 +47,7 @@
47
  button {
48
  @apply flex font-bold m-0 mr-1 p-0 min-h-[30px] min-w-[30px] border-0
49
  rounded-sm justify-center items-center uppercase cursor-pointer
50
- transition-all duration-700 ease-in-out flex-1 select-none
51
  bg-[#d3d6da] text-[#1a1a1b] hover:scale-105;
52
  }
53
  </style>
 
47
  button {
48
  @apply flex font-bold m-0 mr-1 p-0 min-h-[30px] min-w-[30px] border-0
49
  rounded-sm justify-center items-center uppercase cursor-pointer
50
+ transition-all duration-200 ease-in-out flex-1 select-none
51
  bg-[#d3d6da] text-[#1a1a1b] hover:scale-105;
52
  }
53
  </style>
frontend/src/routes/index.svelte CHANGED
@@ -173,11 +173,12 @@
173
  <!-- {/if} -->
174
  <header class="flex justify-between items-center uppercase sm:px-2 text-center">
175
  <span class="font-light flex-1 text-xs sm:text-base"> Guess the prompt!</span>
176
- <span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400"></span>
177
  <h1 class="text-xl font-bold text-center">πŸ₯‘ WORDALLE πŸ₯‘</h1>
178
- <span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400"></span>
179
- <span class="font-light underline underline-offset-2 flex-1 text-xs sm:text-base">Skip to next</span>
180
-
 
181
  </header>
182
  <div class="grid grid-cols-3 gap-2 max-w-md mx-auto p-3">
183
  {#each imagePaths as image}
 
173
  <!-- {/if} -->
174
  <header class="flex justify-between items-center uppercase sm:px-2 text-center">
175
  <span class="font-light flex-1 text-xs sm:text-base"> Guess the prompt!</span>
176
+ <span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400" />
177
  <h1 class="text-xl font-bold text-center">πŸ₯‘ WORDALLE πŸ₯‘</h1>
178
+ <span class="sm:block hidden mx-3 flex-1 border-[0.5px] border-opacity-50 border-gray-400" />
179
+ <span class="font-light flex-1 text-xs sm:text-base">
180
+ <button class="hover:no-underline underline underline-offset-2 hover:scale-105 transition-all duration-200 ease-in-out">Skip to next</button></span
181
+ >
182
  </header>
183
  <div class="grid grid-cols-3 gap-2 max-w-md mx-auto p-3">
184
  {#each imagePaths as image}