diff --git a/frontend/styles.css b/frontend/styles.css index a6129677..55c259e2 100644 --- a/frontend/styles.css +++ b/frontend/styles.css @@ -1,12 +1,13 @@ @tailwind base; @tailwind components; @tailwind utilities; - -body { - color: white; -} +@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;300;400;500;600;700;800;900&display=swap"); @layer base { + body { + color: white; + @apply font-cairo; + } h1 { @apply text-6xl; @apply mb-3; @@ -34,4 +35,10 @@ body { textarea { @apply w-full rounded bg-charcoal border border-slate; } + input[type=checkbox] { + @apply mr-3 rounded bg-charcoal border border-slate text-orange; + } + input[type=file] { + @apply block w-full px-3 py-1 text-base font-normal text-orange bg-clip-padding border border-solid border-slate rounded transition ease-in-out my-2; + } } diff --git a/static/css/styles.css b/static/css/styles.css index 8f5cd843..047ea0d2 100644 --- a/static/css/styles.css +++ b/static/css/styles.css @@ -582,6 +582,11 @@ select { outline: 1px auto -webkit-focus-ring-color; } +body { + color: white; + font-family: 'Cairo', sans-serif; +} + h1 { font-size: 3.75rem; line-height: 1; @@ -631,6 +636,45 @@ textarea { background-color: rgb(23 42 52 / var(--tw-bg-opacity)); } +input[type=checkbox] { + margin-right: 0.75rem; + border-radius: 0.25rem; + border-width: 1px; + --tw-border-opacity: 1; + border-color: rgb(49 74 87 / var(--tw-border-opacity)); + --tw-bg-opacity: 1; + background-color: rgb(23 42 52 / var(--tw-bg-opacity)); + --tw-text-opacity: 1; + color: rgb(255 159 0 / var(--tw-text-opacity)); +} + +input[type=file] { + margin-top: 0.5rem; + margin-bottom: 0.5rem; + display: block; + width: 100%; + border-radius: 0.25rem; + border-width: 1px; + border-style: solid; + --tw-border-opacity: 1; + border-color: rgb(49 74 87 / var(--tw-border-opacity)); + background-clip: padding-box; + padding-left: 0.75rem; + padding-right: 0.75rem; + padding-top: 0.25rem; + padding-bottom: 0.25rem; + font-size: 1rem; + line-height: 1.5rem; + font-weight: 400; + --tw-text-opacity: 1; + color: rgb(255 159 0 / var(--tw-text-opacity)); + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; + transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter; + transition-duration: 150ms; + transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); +} + *, ::before, ::after { --tw-border-spacing-x: 0; --tw-border-spacing-y: 0; @@ -1109,6 +1153,10 @@ textarea { height: 1rem; } +.h-5 { + height: 1.25rem; +} + .h-\[15px\] { height: 15px; } @@ -1157,6 +1205,10 @@ textarea { width: 33.333333%; } +.w-5 { + width: 1.25rem; +} + .w-1\/5 { width: 20%; } @@ -1177,6 +1229,10 @@ textarea { flex: 1 1 auto; } +.flex-shrink-0 { + flex-shrink: 0; +} + .table-auto { table-layout: auto; } @@ -1219,6 +1275,10 @@ textarea { grid-template-rows: repeat(5, minmax(0, 1fr)); } +.flex-row { + flex-direction: row; +} + .flex-col { flex-direction: column; } @@ -1297,24 +1357,30 @@ textarea { margin-left: calc(6rem * calc(1 - var(--tw-space-x-reverse))); } -.space-y-5 > :not([hidden]) ~ :not([hidden]) { - --tw-space-y-reverse: 0; - margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse))); - margin-bottom: calc(1.25rem * var(--tw-space-y-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))); } +.space-y-5 > :not([hidden]) ~ :not([hidden]) { + --tw-space-y-reverse: 0; + margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse))); + margin-bottom: calc(1.25rem * var(--tw-space-y-reverse)); +} + .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))); } +.space-x-2 > :not([hidden]) ~ :not([hidden]) { + --tw-space-x-reverse: 0; + margin-right: calc(0.5rem * var(--tw-space-x-reverse)); + margin-left: calc(0.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))); @@ -1384,6 +1450,10 @@ textarea { border-right-width: 1px; } +.border-b-4 { + border-bottom-width: 4px; +} + .border-orange { --tw-border-opacity: 1; border-color: rgb(255 159 0 / var(--tw-border-opacity)); @@ -1404,6 +1474,10 @@ textarea { border-color: rgb(23 42 52 / var(--tw-border-opacity)); } +.border-slate\/60 { + border-color: rgb(49 74 87 / 0.6); +} + .bg-black { --tw-bg-opacity: 1; background-color: rgb(5 26 38 / var(--tw-bg-opacity)); @@ -1418,6 +1492,10 @@ textarea { background-color: rgb(90 213 153 / 0.1); } +.bg-charcoal\/60 { + background-color: rgb(23 42 52 / 0.6); +} + .bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); } @@ -1553,6 +1631,19 @@ textarea { padding-right: 40px; } +.px-11 { + padding-left: 2.75rem; + padding-right: 2.75rem; +} + +.pl-11 { + padding-left: 2.75rem; +} + +.pr-11 { + padding-right: 2.75rem; +} + .pr-2 { padding-right: 0.5rem; } @@ -1641,10 +1732,6 @@ textarea { padding-left: 1.25rem; } -.pr-11 { - padding-right: 2.75rem; -} - .pt-5 { padding-top: 1.25rem; } @@ -1653,6 +1740,10 @@ textarea { padding-top: 0px; } +.pb-4 { + padding-bottom: 1rem; +} + .text-left { text-align: left; } @@ -1793,10 +1884,6 @@ textarea { transition-duration: 150ms; } -body { - color: white; -} - .last\:border-0:last-child { border-width: 0px; } diff --git a/templates/base.html b/templates/base.html index 41e5e64c..a2f7adf3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -15,7 +15,6 @@ - {% block extra_head %}{% endblock %}