diff --git a/frontend/styles.css b/frontend/styles.css index f1b854c4..8f1718ad 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -1,7 +1,6 @@ @tailwind base; @tailwind components; @tailwind utilities; -@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap"); @layer base { [x-cloak] { diff --git a/static/css/styles.css b/static/css/styles.css index f320ff44..3eae273e 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -748,7 +748,7 @@ input[type=file] { color: rgb(49 74 87 / var(--tw-text-opacity)); } -.dark #signup_form input[type=email],.dark +.dark #signup_form input[type=email],.dark #signup_form input[type=password] { --tw-bg-opacity: 1; background-color: rgb(23 42 52 / var(--tw-bg-opacity)); @@ -953,8 +953,8 @@ input[type=file] { right: 2.5rem; } -.-top-2 { - top: -0.5rem; +.-top-\[2px\] { + top: -2px; } .-right-2 { @@ -1201,12 +1201,8 @@ input[type=file] { margin-top: 4rem; } -.mr-11 { - margin-right: 2.75rem; -} - -.-mb-1 { - margin-bottom: -0.25rem; +.-mb-3 { + margin-bottom: -0.75rem; } .-mt-1 { @@ -1277,12 +1273,8 @@ input[type=file] { height: 2rem; } -.h-\[40px\] { - height: 40px; -} - -.h-\[50px\] { - height: 50px; +.h-\[32px\] { + height: 32px; } .h-6 { @@ -1361,8 +1353,16 @@ input[type=file] { width: 33.333333%; } -.w-\[200px\] { - width: 200px; +.w-4\/5 { + width: 80%; +} + +.w-1\/5 { + width: 20%; +} + +.w-\[130px\] { + width: 130px; } .w-32 { @@ -1385,10 +1385,6 @@ input[type=file] { width: 66.666667%; } -.w-\[47px\] { - width: 47px; -} - .w-4 { width: 1rem; } @@ -1397,10 +1393,6 @@ input[type=file] { width: 1.25rem; } -.w-1\/5 { - width: 20%; -} - .w-\[80px\] { width: 80px; } @@ -1409,34 +1401,30 @@ input[type=file] { width: 0.25rem; } -.w-4\/5 { - width: 80%; -} - -.w-2\/5 { - width: 40%; +.w-\[200px\] { + width: 200px; } .min-w-0 { min-width: 0px; } +.min-w-\[300px\] { + min-width: 300px; +} + .max-w-md { max-width: 28rem; } -.max-w-7xl { - max-width: 80rem; +.max-w-full { + max-width: 100%; } .max-w-2xl { max-width: 42rem; } -.max-w-full { - max-width: 100%; -} - .flex-auto { flex: 1 1 auto; } @@ -1639,6 +1627,12 @@ input[type=file] { margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-reverse))); } +.space-x-6 > :not([hidden]) ~ :not([hidden]) { + --tw-space-x-reverse: 0; + margin-right: calc(1.5rem * var(--tw-space-x-reverse)); + margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse))); +} + .space-y-6 > :not([hidden]) ~ :not([hidden]) { --tw-space-y-reverse: 0; margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse))); @@ -1663,6 +1657,12 @@ input[type=file] { border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); } +.divide-x > :not([hidden]) ~ :not([hidden]) { + --tw-divide-x-reverse: 0; + border-right-width: calc(1px * var(--tw-divide-x-reverse)); + border-left-width: calc(1px * calc(1 - var(--tw-divide-x-reverse))); +} + .divide-gray-200 > :not([hidden]) ~ :not([hidden]) { --tw-divide-opacity: 1; border-color: rgb(229 231 235 / var(--tw-divide-opacity)); @@ -1771,11 +1771,6 @@ input[type=file] { border-color: rgb(55 65 81 / var(--tw-border-opacity)); } -.border-gray-300 { - --tw-border-opacity: 1; - border-color: rgb(209 213 219 / var(--tw-border-opacity)); -} - .border-orange { --tw-border-opacity: 1; border-color: rgb(255 159 0 / var(--tw-border-opacity)); @@ -1791,10 +1786,20 @@ input[type=file] { border-color: rgb(49 74 87 / var(--tw-border-opacity)); } +.border-gray-300 { + --tw-border-opacity: 1; + border-color: rgb(209 213 219 / var(--tw-border-opacity)); +} + .border-green\/40 { border-color: rgb(90 213 153 / 0.4); } +.border-gray-200 { + --tw-border-opacity: 1; + border-color: rgb(229 231 235 / var(--tw-border-opacity)); +} + .bg-red-600 { --tw-bg-opacity: 1; background-color: rgb(220 38 38 / var(--tw-bg-opacity)); @@ -1836,6 +1841,11 @@ input[type=file] { background-color: rgb(90 213 153 / 0.2); } +.bg-gray-100 { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity)); +} + .bg-red-500 { --tw-bg-opacity: 1; background-color: rgb(239 68 68 / var(--tw-bg-opacity)); @@ -1909,6 +1919,10 @@ input[type=file] { padding: 0.5rem; } +.p-5 { + padding: 1.25rem; +} + .p-1 { padding: 0.25rem; } @@ -2068,6 +2082,14 @@ input[type=file] { padding-bottom: 2.75rem; } +.pt-2 { + padding-top: 0.5rem; +} + +.pb-4 { + padding-bottom: 1rem; +} + .pt-5 { padding-top: 1.25rem; } @@ -2080,10 +2102,6 @@ input[type=file] { padding-bottom: 0.5rem; } -.pt-2 { - padding-top: 0.5rem; -} - .pb-1 { padding-bottom: 0.25rem; } @@ -2108,10 +2126,6 @@ input[type=file] { padding-top: 0px; } -.pb-4 { - padding-bottom: 1rem; -} - .text-left { text-align: left; } @@ -2410,6 +2424,11 @@ input[type=file] { background-color: rgb(255 159 0 / var(--tw-bg-opacity)); } +.hover\:bg-gray-100:hover { + --tw-bg-opacity: 1; + background-color: rgb(243 244 246 / var(--tw-bg-opacity)); +} + .hover\:bg-gray-50:hover { --tw-bg-opacity: 1; background-color: rgb(249 250 251 / var(--tw-bg-opacity)); @@ -2639,40 +2658,6 @@ input[type=file] { } @media (min-width: 768px) { - .md\:container { - width: 100%; - } - - @media (min-width: 640px) { - .md\:container { - max-width: 640px; - } - } - - @media (min-width: 768px) { - .md\:container { - max-width: 768px; - } - } - - @media (min-width: 1024px) { - .md\:container { - max-width: 1024px; - } - } - - @media (min-width: 1280px) { - .md\:container { - max-width: 1280px; - } - } - - @media (min-width: 1536px) { - .md\:container { - max-width: 1536px; - } - } - .md\:order-2 { order: 2; } @@ -2685,6 +2670,11 @@ input[type=file] { float: right; } + .md\:mx-auto { + margin-left: auto; + margin-right: auto; + } + .md\:my-16 { margin-top: 4rem; margin-bottom: 4rem; @@ -2705,16 +2695,6 @@ input[type=file] { margin-right: 0px; } - .md\:my-11 { - margin-top: 2.75rem; - margin-bottom: 2.75rem; - } - - .md\:mx-auto { - margin-left: auto; - margin-right: auto; - } - .md\:mt-3 { margin-top: 0.75rem; } @@ -2867,22 +2847,16 @@ input[type=file] { margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); } - .md\:space-x-5 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(1.25rem * var(--tw-space-x-reverse)); - margin-left: calc(1.25rem * calc(1 - var(--tw-space-x-reverse))); - } - .md\: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))); } - .md\:space-x-11 > :not([hidden]) ~ :not([hidden]) { + .md\:space-x-5 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; - margin-right: calc(2.75rem * var(--tw-space-x-reverse)); - margin-left: calc(2.75rem * calc(1 - var(--tw-space-x-reverse))); + margin-right: calc(1.25rem * var(--tw-space-x-reverse)); + margin-left: calc(1.25rem * calc(1 - var(--tw-space-x-reverse))); } .md\:space-x-8 > :not([hidden]) ~ :not([hidden]) { @@ -3029,8 +3003,12 @@ input[type=file] { padding-right: 2.75rem; } - .md\:pb-6 { - padding-bottom: 1.5rem; + .md\:pb-3 { + padding-bottom: 0.75rem; + } + + .md\:pt-6 { + padding-top: 1.5rem; } .md\:text-right { @@ -3093,56 +3071,12 @@ input[type=file] { } } - .lg\:max-w-7xl { - max-width: 80rem; - } - .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } - - .lg\:space-x-10 > :not([hidden]) ~ :not([hidden]) { - --tw-space-x-reverse: 0; - margin-right: calc(2.5rem * var(--tw-space-x-reverse)); - margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); - } } @media (min-width: 1280px) { - .xl\:container { - width: 100%; - } - - @media (min-width: 640px) { - .xl\:container { - max-width: 640px; - } - } - - @media (min-width: 768px) { - .xl\:container { - max-width: 768px; - } - } - - @media (min-width: 1024px) { - .xl\:container { - max-width: 1024px; - } - } - - @media (min-width: 1280px) { - .xl\:container { - max-width: 1280px; - } - } - - @media (min-width: 1536px) { - .xl\:container { - max-width: 1536px; - } - } - .xl\:inline { display: inline; } @@ -3151,9 +3085,9 @@ input[type=file] { grid-template-columns: repeat(3, minmax(0, 1fr)); } - .xl\:space-x-10 > :not([hidden]) ~ :not([hidden]) { + .xl\:space-x-6 > :not([hidden]) ~ :not([hidden]) { --tw-space-x-reverse: 0; - margin-right: calc(2.5rem * var(--tw-space-x-reverse)); - margin-left: calc(2.5rem * calc(1 - var(--tw-space-x-reverse))); + margin-right: calc(1.5rem * var(--tw-space-x-reverse)); + margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse))); } } diff --git a/templates/base.html b/templates/base.html index 21e17a01..2fff072b 100644 --- a/templates/base.html +++ b/templates/base.html @@ -10,6 +10,8 @@ + + @@ -17,6 +19,8 @@ + + {% block extra_head %}{% endblock %} @@ -51,7 +55,7 @@ {% comment %}body block is for use in forums{% endcomment %} {% block forum_body %}{% endblock %} -
This is how you can help
+This is how you can help