diff options
author | Matthew Lemon <y@yulqen.org> | 2024-10-15 14:28:30 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-10-15 14:28:30 +0100 |
commit | a47f71efc9a7643be548f7f805e162a1942d3db4 (patch) | |
tree | 97dfb055c67ec582765658c9ccfa3ca3012caf06 /core/static/css/output.css | |
parent | 9015934a186b8843cc6d5ec48e41c5e2408f3fcf (diff) |
More CSS improvements and wip on profile page
- uses dividers between divs which I'm not sure I like
- etc
Diffstat (limited to 'core/static/css/output.css')
-rw-r--r-- | core/static/css/output.css | 45 |
1 files changed, 44 insertions, 1 deletions
diff --git a/core/static/css/output.css b/core/static/css/output.css index 4382d7f..3a5b9a1 100644 --- a/core/static/css/output.css +++ b/core/static/css/output.css @@ -612,6 +612,10 @@ video { z-index: 10; } +.m-2 { + margin: 0.5rem; +} + .mx-auto { margin-left: auto; margin-right: auto; @@ -849,11 +853,40 @@ video { border-bottom-width: calc(1px * var(--tw-divide-y-reverse)); } +.divide-y-2 > :not([hidden]) ~ :not([hidden]) { + --tw-divide-y-reverse: 0; + border-top-width: calc(2px * calc(1 - var(--tw-divide-y-reverse))); + border-bottom-width: calc(2px * var(--tw-divide-y-reverse)); +} + +.divide-y-4 > :not([hidden]) ~ :not([hidden]) { + --tw-divide-y-reverse: 0; + border-top-width: calc(4px * calc(1 - var(--tw-divide-y-reverse))); + border-bottom-width: calc(4px * var(--tw-divide-y-reverse)); +} + +.divide-solid > :not([hidden]) ~ :not([hidden]) { + border-style: solid; +} + +.divide-dashed > :not([hidden]) ~ :not([hidden]) { + border-style: dashed; +} + +.divide-double > :not([hidden]) ~ :not([hidden]) { + border-style: double; +} + .divide-gray-200 > :not([hidden]) ~ :not([hidden]) { --tw-divide-opacity: 1; border-color: rgb(229 231 235 / var(--tw-divide-opacity)); } +.divide-gray-300 > :not([hidden]) ~ :not([hidden]) { + --tw-divide-opacity: 1; + border-color: rgb(209 213 219 / var(--tw-divide-opacity)); +} + .overflow-hidden { overflow: hidden; } @@ -894,6 +927,11 @@ video { border-width: 2px; } +.border-y-0 { + border-top-width: 0px; + border-bottom-width: 0px; +} + .border-b { border-bottom-width: 1px; } @@ -1293,6 +1331,11 @@ video { color: rgb(161 161 170 / var(--tw-text-opacity)); } +.text-purple { + --tw-text-opacity: 1; + color: rgb(63 60 187 / var(--tw-text-opacity)); +} + .underline { text-decoration-line: underline; } @@ -1545,4 +1588,4 @@ video { padding-left: 2rem; padding-right: 2rem; } -}
\ No newline at end of file +} |