From e85b32e22f48e179c10d0658dd774cfe0fb05a04 Mon Sep 17 00:00:00 2001 From: Lukas Kucharczyk Date: Sun, 11 Aug 2024 17:24:33 +0200 Subject: [PATCH] update styles --- games/static/base.css | 166 ++++++++++++++---------------------------- 1 file changed, 55 insertions(+), 111 deletions(-) diff --git a/games/static/base.css b/games/static/base.css index ba26cd9..f9de695 100644 --- a/games/static/base.css +++ b/games/static/base.css @@ -1346,10 +1346,6 @@ input:checked + .toggle-bg { z-index: 50; } -.z-0 { - z-index: 0; -} - .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; @@ -1406,6 +1402,10 @@ input:checked + .toggle-bg { margin-inline-start: 0px; } +.ms-2\.5 { + margin-inline-start: 0.625rem; +} + .mt-2 { margin-top: 0.5rem; } @@ -1414,10 +1414,6 @@ input:checked + .toggle-bg { margin-top: 1rem; } -.ms-2\.5 { - margin-inline-start: 0.625rem; -} - .block { display: block; } @@ -1455,12 +1451,16 @@ input:checked + .toggle-bg { height: 1.5rem; } +.h-10 { + height: 2.5rem; +} + .h-12 { height: 3rem; } -.h-24 { - height: 6rem; +.h-2\.5 { + height: 0.625rem; } .h-3 { @@ -1487,14 +1487,6 @@ input:checked + .toggle-bg { height: 2.25rem; } -.h-10 { - height: 2.5rem; -} - -.h-2\.5 { - height: 0.625rem; -} - .min-h-screen { min-height: 100vh; } @@ -1503,6 +1495,14 @@ input:checked + .toggle-bg { width: 50%; } +.w-10 { + width: 2.5rem; +} + +.w-2\.5 { + width: 0.625rem; +} + .w-24 { width: 6rem; } @@ -1511,6 +1511,10 @@ input:checked + .toggle-bg { width: 1rem; } +.w-44 { + width: 11rem; +} + .w-5 { width: 1.25rem; } @@ -1527,38 +1531,22 @@ input:checked + .toggle-bg { width: 1.75rem; } -.w-auto { - width: auto; -} - .w-full { width: 100%; } -.w-10 { - width: 2.5rem; -} - -.w-2\.5 { - width: 0.625rem; -} - -.w-44 { - width: 11rem; -} - .max-w-80 { max-width: 20rem; } -.max-w-screen-2xl { - max-width: 1536px; -} - .max-w-screen-lg { max-width: 1024px; } +.max-w-screen-xl { + max-width: 1280px; +} + .max-w-sm { max-width: 24rem; } @@ -1567,10 +1555,6 @@ input:checked + .toggle-bg { max-width: 20rem; } -.max-w-screen-xl { - max-width: 1280px; -} - .flex-1 { flex: 1 1 0%; } @@ -1764,6 +1748,10 @@ input:checked + .toggle-bg { text-wrap: wrap; } +.rounded { + border-radius: 0.25rem; +} + .rounded-full { border-radius: 9999px; } @@ -1780,10 +1768,6 @@ input:checked + .toggle-bg { border-radius: 0.125rem; } -.rounded { - border-radius: 0.25rem; -} - .rounded-e-lg { border-start-end-radius: 0.5rem; border-end-end-radius: 0.5rem; @@ -1861,6 +1845,11 @@ input:checked + .toggle-bg { background-color: rgb(229 231 235 / var(--tw-bg-opacity)); } +.bg-gray-400 { + --tw-bg-opacity: 1; + background-color: rgb(156 163 175 / var(--tw-bg-opacity)); +} + .bg-gray-50 { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); @@ -1894,20 +1883,14 @@ input:checked + .toggle-bg { background-color: rgb(255 255 255 / 0.5); } -.bg-gray-300 { - --tw-bg-opacity: 1; - background-color: rgb(209 213 219 / var(--tw-bg-opacity)); -} - -.bg-gray-400 { - --tw-bg-opacity: 1; - background-color: rgb(156 163 175 / var(--tw-bg-opacity)); -} - .p-1 { padding: 0.25rem; } +.p-2 { + padding: 0.5rem; +} + .p-2\.5 { padding: 0.625rem; } @@ -1916,10 +1899,6 @@ input:checked + .toggle-bg { padding: 1rem; } -.p-2 { - padding: 0.5rem; -} - .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; @@ -1970,18 +1949,6 @@ input:checked + .toggle-bg { padding-bottom: 1rem; } -.pl-3 { - padding-left: 0.75rem; -} - -.pr-4 { - padding-right: 1rem; -} - -.pt-1 { - padding-top: 0.25rem; -} - .pt-2 { padding-top: 0.5rem; } @@ -2096,6 +2063,11 @@ input:checked + .toggle-bg { color: rgb(28 100 242 / var(--tw-text-opacity)); } +.text-gray-300 { + --tw-text-opacity: 1; + color: rgb(209 213 219 / var(--tw-text-opacity)); +} + .text-gray-400 { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); @@ -2146,16 +2118,6 @@ input:checked + .toggle-bg { color: rgb(250 202 21 / var(--tw-text-opacity)); } -.text-gray-300 { - --tw-text-opacity: 1; - color: rgb(209 213 219 / var(--tw-text-opacity)); -} - -.text-gray-100 { - --tw-text-opacity: 1; - color: rgb(243 244 246 / var(--tw-text-opacity)); -} - .underline { text-decoration-line: underline; } @@ -2546,11 +2508,6 @@ textarea:disabled:is(.dark *) { background-color: rgb(243 244 246 / var(--tw-bg-opacity)); } -.hover\:bg-gray-400:hover { - --tw-bg-opacity: 1; - background-color: rgb(156 163 175 / var(--tw-bg-opacity)); -} - .hover\:bg-gray-50:hover { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); @@ -2616,10 +2573,6 @@ textarea:disabled:is(.dark *) { color: rgb(255 255 255 / var(--tw-text-opacity)); } -.hover\:underline:hover { - text-decoration-line: underline; -} - .focus\:z-10:focus { z-index: 10; } @@ -2700,10 +2653,6 @@ textarea:disabled:is(.dark *) { top: -2rem; } -.group:hover .group-hover\:block { - display: block; -} - .group:hover .group-hover\:min-w-60 { min-width: 15rem; } @@ -2824,6 +2773,11 @@ textarea:disabled:is(.dark *) { color: rgb(63 131 248 / var(--tw-text-opacity)); } +.dark\:text-gray-200:is(.dark *) { + --tw-text-opacity: 1; + color: rgb(229 231 235 / var(--tw-text-opacity)); +} + .dark\:text-gray-400:is(.dark *) { --tw-text-opacity: 1; color: rgb(156 163 175 / var(--tw-text-opacity)); @@ -2859,11 +2813,6 @@ textarea:disabled:is(.dark *) { color: rgb(255 255 255 / var(--tw-text-opacity)); } -.dark\:text-gray-200:is(.dark *) { - --tw-text-opacity: 1; - color: rgb(229 231 235 / var(--tw-text-opacity)); -} - .odd\:dark\:bg-gray-900:is(.dark *):nth-child(odd) { --tw-bg-opacity: 1; background-color: rgb(17 24 39 / var(--tw-bg-opacity)); @@ -2939,9 +2888,9 @@ textarea:disabled:is(.dark *) { --tw-ring-color: rgb(63 131 248 / var(--tw-ring-opacity)); } -.dark\:focus\:ring-gray-700:focus:is(.dark *) { +.dark\:focus\:ring-gray-600:focus:is(.dark *) { --tw-ring-opacity: 1; - --tw-ring-color: rgb(55 65 81 / var(--tw-ring-opacity)); + --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity)); } .dark\:focus\:ring-green-500:focus:is(.dark *) { @@ -2949,11 +2898,6 @@ textarea:disabled:is(.dark *) { --tw-ring-color: rgb(14 159 110 / var(--tw-ring-opacity)); } -.dark\:focus\:ring-gray-600:focus:is(.dark *) { - --tw-ring-opacity: 1; - --tw-ring-color: rgb(75 85 99 / var(--tw-ring-opacity)); -} - @media (min-width: 640px) { .sm\:inline { display: inline; @@ -2967,14 +2911,14 @@ textarea:disabled:is(.dark *) { max-width: 28rem; } - .sm\:max-w-xl { - max-width: 36rem; - } - .sm\:max-w-screen-sm { max-width: 640px; } + .sm\:max-w-xl { + max-width: 36rem; + } + .sm\:rounded-lg { border-radius: 0.5rem; }