From a2ababaebc074421771f29d71a756d7626d3b042 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Kucharczyk?= Date: Sat, 30 Sep 2023 16:25:19 +0200 Subject: [PATCH] Update base.css --- games/static/base.css | 45 +++++++++---------------------------------- 1 file changed, 9 insertions(+), 36 deletions(-) diff --git a/games/static/base.css b/games/static/base.css index 0982584..14f3d94 100644 --- a/games/static/base.css +++ b/games/static/base.css @@ -3844,12 +3844,10 @@ select { } .responsive-table thead th:not(:first-child), -td:not(:first-child) { +.responsive-table td:not(:first-child) { border-left-width: 1px; --tw-border-opacity: 1; border-left-color: rgb(100 116 139 / var(--tw-border-opacity)); - padding-left: 1rem; - padding-right: 1rem; } .responsive-table th, td { @@ -3858,19 +3856,19 @@ td:not(:first-child) { } @media screen and (max-width: 768px) { - .responsive-table thead th:not(:first-child), + .responsive-table th, td, td { padding-left: 0.5rem; padding-right: 0.5rem; } -} -.responsive-table td:first-child { - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; - padding-right: 0.5rem; - max-width: 20ch; + .responsive-table td:first-child { + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + padding-right: 0.5rem; + max-width: 20ch; + } } :is(.dark form input),:is(.dark @@ -3905,31 +3903,6 @@ textarea) { } } -#session-table, -#session-table-head { - display: grid; - grid-template-columns: 3fr 2fr repeat(2, 1fr) 0.5fr 1fr; -} - -.purchase-name > span:nth-child(2) { - margin-left: 1rem; -} - -.purchase-name > span:nth-child(2) > a > img { - opacity: 0; - transition-property: opacity; - transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); - transition-duration: 500ms; -} - -.purchase-name:hover > span:nth-child(2) > a > img { - opacity: 0.5; -} - -.purchase-name > span:nth-child(2) > a > img:hover { - opacity: 1; -} - #button-container button { margin-left: 0.25rem; margin-right: 0.25rem;