diff --git a/games/static/base.css b/games/static/base.css index a4d9b46..0900968 100644 --- a/games/static/base.css +++ b/games/static/base.css @@ -1246,6 +1246,18 @@ input:checked + .toggle-bg { } } +.sr-only { + position: absolute; + width: 1px; + height: 1px; + padding: 0; + margin: -1px; + overflow: hidden; + clip: rect(0, 0, 0, 0); + white-space: nowrap; + border-width: 0; +} + .visible { visibility: visible; } @@ -1334,6 +1346,10 @@ input:checked + .toggle-bg { z-index: 50; } +.z-0 { + z-index: 0; +} + .mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; @@ -1398,6 +1414,10 @@ input:checked + .toggle-bg { margin-top: 1rem; } +.ms-2\.5 { + margin-inline-start: 0.625rem; +} + .block { display: block; } @@ -1467,6 +1487,14 @@ input:checked + .toggle-bg { height: 2.25rem; } +.h-10 { + height: 2.5rem; +} + +.h-2\.5 { + height: 0.625rem; +} + .min-h-screen { min-height: 100vh; } @@ -1507,6 +1535,18 @@ input:checked + .toggle-bg { width: 100%; } +.w-10 { + width: 2.5rem; +} + +.w-2\.5 { + width: 0.625rem; +} + +.w-44 { + width: 11rem; +} + .max-w-80 { max-width: 20rem; } @@ -1527,6 +1567,10 @@ input:checked + .toggle-bg { max-width: 20rem; } +.max-w-screen-xl { + max-width: 1280px; +} + .flex-1 { flex: 1 1 0%; } @@ -1673,6 +1717,23 @@ input:checked + .toggle-bg { margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); } +.space-x-3 > :not([hidden]) ~ :not([hidden]) { + --tw-space-x-reverse: 0; + margin-right: calc(0.75rem * var(--tw-space-x-reverse)); + margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse))); +} + +.divide-y > :not([hidden]) ~ :not([hidden]) { + --tw-divide-y-reverse: 0; + border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse))); + border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); +} + +.divide-gray-100 > :not([hidden]) ~ :not([hidden]) { + --tw-divide-opacity: 1; + border-color: rgb(243 244 246 / var(--tw-divide-opacity)); +} + .self-center { align-self: center; } @@ -1719,6 +1780,10 @@ 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; @@ -1851,6 +1916,10 @@ input:checked + .toggle-bg { padding: 1rem; } +.p-2 { + padding: 0.5rem; +} + .px-2 { padding-left: 0.5rem; padding-right: 0.5rem; @@ -2679,6 +2748,11 @@ textarea:disabled:is(.dark *) { outline-color: #AC94FA; } +.dark\:divide-gray-600:is(.dark *) > :not([hidden]) ~ :not([hidden]) { + --tw-divide-opacity: 1; + border-color: rgb(75 85 99 / var(--tw-divide-opacity)); +} + .dark\:border-blue-500:is(.dark *) { --tw-border-opacity: 1; border-color: rgb(63 131 248 / var(--tw-border-opacity)); @@ -2871,6 +2945,11 @@ 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; @@ -2927,6 +3006,10 @@ textarea:disabled:is(.dark *) { margin-bottom: 0px; } + .md\:mt-0 { + margin-top: 0px; + } + .md\:block { display: block; } @@ -2935,6 +3018,10 @@ textarea:disabled:is(.dark *) { display: inline; } + .md\:hidden { + display: none; + } + .md\:w-auto { width: auto; } @@ -2947,6 +3034,29 @@ textarea:disabled:is(.dark *) { flex-direction: row; } + .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) { + --tw-space-x-reverse: 0; + margin-right: calc(2rem * var(--tw-space-x-reverse)); + margin-left: calc(2rem * calc(1 - var(--tw-space-x-reverse))); + } + + .md\:border-0 { + border-width: 0px; + } + + .md\:bg-transparent { + background-color: transparent; + } + + .md\:bg-white { + --tw-bg-opacity: 1; + background-color: rgb(255 255 255 / var(--tw-bg-opacity)); + } + + .md\:p-0 { + padding: 0px; + } + .md\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; @@ -2956,6 +3066,43 @@ textarea:disabled:is(.dark *) { padding-top: 0.5rem; padding-bottom: 0.5rem; } + + .md\:text-blue-700 { + --tw-text-opacity: 1; + color: rgb(26 86 219 / var(--tw-text-opacity)); + } + + .md\:hover\:bg-transparent:hover { + background-color: transparent; + } + + .md\:hover\:text-blue-700:hover { + --tw-text-opacity: 1; + color: rgb(26 86 219 / var(--tw-text-opacity)); + } + + .md\:dark\:bg-gray-900:is(.dark *) { + --tw-bg-opacity: 1; + background-color: rgb(17 24 39 / var(--tw-bg-opacity)); + } + + .md\:dark\:bg-transparent:is(.dark *) { + background-color: transparent; + } + + .md\:dark\:text-blue-500:is(.dark *) { + --tw-text-opacity: 1; + color: rgb(63 131 248 / var(--tw-text-opacity)); + } + + .md\:dark\:hover\:bg-transparent:hover:is(.dark *) { + background-color: transparent; + } + + .md\:dark\:hover\:text-blue-500:hover:is(.dark *) { + --tw-text-opacity: 1; + color: rgb(63 131 248 / var(--tw-text-opacity)); + } } @media (min-width: 1024px) { diff --git a/games/templates/base.html b/games/templates/base.html index 506b45f..24444b9 100644 --- a/games/templates/base.html +++ b/games/templates/base.html @@ -33,110 +33,7 @@ width="24" alt="loading indicator" />