4o1x5.dev/assets/scss/custom.scss

794 lines
14 KiB
SCSS
Raw Permalink Normal View History

2024-04-28 11:42:37 +02:00
.not-found-card p{
text-align: center;
font-size: 3em;
font-weight: 600;
color: var(--body-text-color)
}
$defaultTagBackgrounds: #FAD000, #ff9d00, #80ffbb, #ffb900, #6b69d6;
$defaultTagColors: #fff, #fff, #fff, #fff, #fff;
:root {
--main-top-padding: 35px;
--body-background: #191830;
--accent-color: #FAD000;
--accent-color-darker: #927a03;
--accent-color-text: #fff;
--body-text-color: #fff;
--tag-border-radius: 4px;
--section-separation: 40px;
--scrollbar-thumb: hsl(0, 0%, 85%);
--scrollbar-track: var(--body-background);
--card-background: #131327;
--card-background-selected: #eaeaea;
--card-text-color-main: #fff;
--card-text-color-secondary: #c1c1c1;
--card-text-color-tertiary: #bababa;
--card-separator-color: rgba(218, 218, 218, 0.5);
--card-border-radius: 10px;
--card-padding: 20px;
--blockquote-border-size: 4px;
--blockquote-background-color: #35355e;
--heading-border-size: 4px;
--link-background-color: 189, 195, 199;
--link-background-opacity: 0.5;
--link-background-opacity-hover: 0.7;
--pre-background-color: #131327;
--pre-text-color: #f8f8f2;
--code-background-color: #131327;
--code-text-color: #fff;
--table-border-color: #dadada;
--tr-even-background-color: #efefee;
--kbd-border-color: #dadada;
}
.folder, .folder span {
width: 100%;
}
.hx-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;
}
.hx-pointer-events-none {
pointer-events: none;
}
.hx-fixed {
position: fixed;
}
.hx-absolute {
position: absolute;
}
.hx-relative {
position: relative;
}
.hx-sticky {
position: sticky;
}
.hx-inset-0 {
inset: 0px;
}
.hx-inset-x-0 {
left: 0px;
right: 0px;
}
.hx-inset-y-0 {
top: 0px;
bottom: 0px;
}
.hx-bottom-0 {
bottom: 0px;
}
.hx-left-\[24px\] {
left: 24px;
}
.hx-left-\[36px\] {
left: 36px;
}
.hx-right-0 {
right: 0px;
}
.hx-top-0 {
top: 0px;
}
.hx-top-16 {
top: 4rem;
}
.hx-top-8 {
top: 2rem;
}
.hx-top-\[40\%\] {
top: 40%;
}
.hx-top-full {
top: 100%;
}
.hx-z-10 {
z-index: 10;
}
.hx-z-20 {
z-index: 20;
}
.hx-z-\[-1\] {
z-index: -1;
}
.hx-order-last {
order: 9999;
}
.hx-m-\[11px\] {
margin: 11px;
}
.hx-mx-1 {
margin-left: 0.25rem;
margin-right: 0.25rem;
}
.hx-mx-2 {
margin-left: 0.5rem;
margin-right: 0.5rem;
}
.hx-mx-4 {
margin-left: 1rem;
margin-right: 1rem;
}
.hx-mx-auto {
margin-left: auto;
margin-right: auto;
}
.hx-my-1 {
margin-top: 0.25rem;
margin-bottom: 0.25rem;
}
.hx-my-1\.5 {
margin-top: 0.375rem;
margin-bottom: 0.375rem;
}
.hx-my-2 {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
}
.-hx-mb-0 {
margin-bottom: -0px;
}
.-hx-mb-0\.5 {
margin-bottom: -0.125rem;
}
.-hx-ml-2 {
margin-left: -0.5rem;
}
.-hx-mr-2 {
margin-right: -0.5rem;
}
.-hx-mt-20 {
margin-top: -5rem;
}
.hx-mb-10 {
margin-bottom: 2.5rem;
}
.hx-mb-12 {
margin-bottom: 3rem;
}
.hx-mb-16 {
margin-bottom: 4rem;
}
.hx-mb-2 {
margin-bottom: 0.5rem;
}
.hx-mb-4 {
margin-bottom: 1rem;
}
.hx-mb-6 {
margin-bottom: 1.5rem;
}
.hx-mb-8 {
margin-bottom: 2rem;
}
.hx-ml-4 {
margin-left: 1rem;
}
.hx-mr-1 {
margin-right: 0.25rem;
}
.hx-mr-2 {
margin-right: 0.5rem;
}
.hx-mt-1 {
margin-top: 0.25rem;
}
.hx-mt-1\.5 {
margin-top: 0.375rem;
}
.hx-mt-12 {
margin-top: 3rem;
}
.hx-mt-16 {
margin-top: 4rem;
}
.hx-mt-2 {
margin-top: 0.5rem;
}
.hx-mt-4 {
margin-top: 1rem;
}
.hx-mt-5 {
margin-top: 1.25rem;
}
.hx-mt-6 {
margin-top: 1.5rem;
}
.hx-mt-8 {
margin-top: 2rem;
}
.hx-line-clamp-3 {
overflow: hidden;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
}
.hx-block {
display: block;
}
.hx-inline-block {
display: inline-block;
}
.hx-inline {
display: inline;
}
.hx-flex {
display: flex;
}
.hx-inline-flex {
display: inline-flex;
}
.hx-grid {
display: grid;
}
.hx-hidden {
display: none;
}
.hx-aspect-auto {
aspect-ratio: auto;
}
.hx-h-0 {
height: 0px;
}
.hx-h-16 {
height: 4rem;
}
.hx-h-2 {
height: 0.5rem;
}
.hx-h-3 {
height: 0.75rem;
}
.hx-h-3\.5 {
height: 0.875rem;
}
.hx-h-4 {
height: 1rem;
}
.hx-h-5 {
height: 1.25rem;
}
.hx-h-7 {
height: 1.75rem;
}
.hx-h-\[18px\] {
height: 18px;
}
.hx-h-full {
height: 100%;
}
.hx-max-h-64 {
max-height: 16rem;
}
.hx-min-h-\[100px\] {
min-height: 100px;
}
.hx-w-2 {
width: 0.5rem;
}
.hx-w-3 {
width: 0.75rem;
}
.hx-w-3\.5 {
width: 0.875rem;
}
.hx-w-4 {
width: 1rem;
}
.hx-w-64 {
width: 16rem;
}
.hx-w-\[110\%\] {
width: 110%;
}
.hx-w-\[180\%\] {
width: 180%;
}
.hx-w-full {
width: 100%;
}
.hx-w-max {
width: -moz-max-content;
width: max-content;
}
.hx-w-screen {
width: 100vw;
}
.hx-min-w-0 {
min-width: 0px;
}
.hx-min-w-\[18px\] {
min-width: 18px;
}
.hx-min-w-\[24px\] {
min-width: 24px;
}
.hx-min-w-full {
min-width: 100%;
}
.hx-max-w-6xl {
max-width: 72rem;
}
.hx-max-w-\[50\%\] {
max-width: 50%;
}
.hx-max-w-\[90rem\] {
max-width: 90rem;
}
.hx-max-w-none {
max-width: none;
}
.hx-max-w-screen-xl {
max-width: 1280px;
}
.hx-shrink-0 {
flex-shrink: 0;
}
.hx-grow {
flex-grow: 1;
}
.hx-origin-center {
transform-origin: center;
}
.hx-cursor-default {
cursor: default;
}
.hx-cursor-pointer {
cursor: pointer;
}
.hx-select-none {
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.hx-scroll-my-6 {
scroll-margin-top: 1.5rem;
scroll-margin-bottom: 1.5rem;
}
.hx-scroll-py-6 {
scroll-padding-top: 1.5rem;
scroll-padding-bottom: 1.5rem;
}
.hx-list-none {
list-style-type: none;
}
.hx-appearance-none {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
.hx-flex-col {
flex-direction: column;
}
.hx-flex-wrap {
flex-wrap: wrap;
}
.hx-items-start {
align-items: flex-start;
}
.hx-items-center {
align-items: center;
}
.hx-justify-start {
justify-content: flex-start;
}
.hx-justify-end {
justify-content: flex-end;
}
.hx-justify-center {
justify-content: center;
}
.hx-justify-between {
justify-content: space-between;
}
.hx-justify-items-start {
justify-items: start;
}
.hx-gap-1 {
gap: 0.25rem;
}
.hx-gap-2 {
gap: 0.5rem;
}
.hx-gap-4 {
gap: 1rem;
}
.hx-gap-x-1 {
-moz-column-gap: 0.25rem;
column-gap: 0.25rem;
}
.hx-gap-x-1\.5 {
-moz-column-gap: 0.375rem;
column-gap: 0.375rem;
}
.hx-gap-y-2 {
row-gap: 0.5rem;
}
.hx-overflow-auto {
overflow: auto;
}
.hx-overflow-hidden {
overflow: hidden;
}
.hx-overflow-x-auto {
overflow-x: auto;
}
.hx-overflow-y-auto {
overflow-y: auto;
}
.hx-overflow-x-hidden {
overflow-x: hidden;
}
.hx-overscroll-contain {
overscroll-behavior: contain;
}
.hx-text-ellipsis {
text-overflow: ellipsis;
}
.hx-whitespace-nowrap {
white-space: nowrap;
}
.hx-break-words {
overflow-wrap: break-word;
}
.hx-rounded {
border-radius: 0.25rem;
}
.hx-rounded-3xl {
border-radius: 1.5rem;
}
.hx-rounded-full {
border-radius: 9999px;
}
.hx-rounded-lg {
border-radius: 0.5rem;
}
.hx-rounded-md {
border-radius: 0.375rem;
}
.hx-rounded-sm {
border-radius: 0.125rem;
}
.hx-rounded-xl {
border-radius: 0.75rem;
}
.hx-rounded-t {
border-top-left-radius: 0.25rem;
border-top-right-radius: 0.25rem;
}
.hx-border {
border-width: 1px;
}
.hx-border-b {
border-bottom-width: 1px;
}
.hx-border-b-2 {
border-bottom-width: 2px;
}
.hx-border-t {
border-top-width: 1px;
}
.hx-p-0 {
padding: 0px;
}
.hx-p-0\.5 {
padding: 0.125rem;
}
.hx-p-1 {
padding: 0.25rem;
}
.hx-p-1\.5 {
padding: 0.375rem;
}
.hx-p-2 {
padding: 0.5rem;
}
.hx-p-4 {
padding: 1rem;
}
.hx-p-6 {
padding: 1.5rem;
}
.hx-px-1 {
padding-left: 0.25rem;
padding-right: 0.25rem;
}
.hx-px-1\.5 {
padding-left: 0.375rem;
padding-right: 0.375rem;
}
.hx-px-2 {
padding-left: 0.5rem;
padding-right: 0.5rem;
}
.hx-px-3 {
padding-left: 0.75rem;
padding-right: 0.75rem;
}
.hx-px-4 {
padding-left: 1rem;
padding-right: 1rem;
}
.hx-px-6 {
padding-left: 1.5rem;
padding-right: 1.5rem;
}
.hx-py-1 {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.hx-py-1\.5 {
padding-top: 0.375rem;
padding-bottom: 0.375rem;
}
.hx-py-12 {
padding-top: 3rem;
padding-bottom: 3rem;
}
.hx-py-2 {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
}
.hx-py-2\.5 {
padding-top: 0.625rem;
padding-bottom: 0.625rem;
}
.hx-py-3 {
padding-top: 0.75rem;
padding-bottom: 0.75rem;
}
.hx-py-4 {
padding-top: 1rem;
padding-bottom: 1rem;
}
.hx-pb-8 {
padding-bottom: 2rem;
}
.hx-pr-2 {
padding-right: 0.5rem;
}
.hx-pr-4 {
padding-right: 1rem;
}
.hx-pt-4 {
padding-top: 1rem;
}
.hx-pt-6 {
padding-top: 1.5rem;
}
.hx-pt-8 {
padding-top: 2rem;
}
.hx-text-left {
text-align: left;
}
.hx-text-center {
text-align: center;
}
.hx-align-text-bottom {
vertical-align: text-bottom;
}
.hx-align-\[-2\.5px\] {
vertical-align: -2.5px;
}
.hx-font-mono {
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.hx-text-2xl {
font-size: 1.5rem;
}
.hx-text-4xl {
font-size: 2.25rem;
}
.hx-text-\[10px\] {
font-size: 10px;
}
.hx-text-base {
font-size: 1rem;
}
.hx-text-lg {
font-size: 1.125rem;
}
.hx-text-sm {
font-size: .875rem;
}
.hx-text-xl {
font-size: 1.25rem;
}
.hx-text-xs {
font-size: .75rem;
}
.hx-font-bold {
font-weight: 700;
}
.hx-font-extrabold {
font-weight: 800;
}
.hx-font-medium {
font-weight: 500;
}
.hx-font-normal {
font-weight: 400;
}
.hx-font-semibold {
font-weight: 600;
}
.hx-capitalize {
text-transform: capitalize;
}
.hx-leading-5 {
line-height: 1.25rem;
}
.hx-leading-6 {
line-height: 1.5rem;
}
.hx-leading-7 {
line-height: 1.75rem;
}
.hx-leading-none {
line-height: 1;
}
.hx-leading-tight {
line-height: 1.25;
}
.hx-tracking-tight {
letter-spacing: -0.015em;
}
.hx-underline {
text-decoration-line: underline;
}
.hx-no-underline {
text-decoration-line: none;
}
.hx-decoration-from-font {
text-decoration-thickness: from-font;
}
.hx-underline-offset-2 {
text-underline-offset: 2px;
}
.hx-opacity-0 {
opacity: 0;
}
.hx-opacity-50 {
opacity: 0.5;
}
.hx-opacity-80 {
opacity: 0.8;
}
.hx-shadow {
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-\[0_-12px_16px_\#fff\] {
--tw-shadow: 0 -12px 16px #fff;
--tw-shadow-colored: 0 -12px 16px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-\[0_-12px_16px_white\] {
--tw-shadow: 0 -12px 16px white;
--tw-shadow-colored: 0 -12px 16px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-\[0_2px_4px_rgba\(0\,0\,0\,\.02\)\,0_1px_0_rgba\(0\,0\,0\,\.06\)\] {
--tw-shadow: 0 2px 4px rgba(0,0,0,.02),0 1px 0 rgba(0,0,0,.06);
--tw-shadow-colored: 0 2px 4px var(--tw-shadow-color), 0 1px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-lg {
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-sm {
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-xl {
--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.hx-shadow-gray-100 {
--tw-shadow-color: #f3f4f6;
--tw-shadow: var(--tw-shadow-colored);
}
.hx-ring-black\/5 {
--tw-ring-color: rgb(0 0 0 / 0.05);
}
.hx-transition {
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-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.hx-transition-all {
transition-property: all;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.hx-transition-colors {
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.hx-transition-opacity {
transition-property: opacity;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.hx-transition-transform {
transition-property: transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
}
.hx-duration-200 {
transition-duration: 200ms;
}
.hx-duration-75 {
transition-duration: 75ms;
}
.hx-ease-in {
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}