edit the htmls
This commit is contained in:
286
css/main.css
286
css/main.css
@@ -7,32 +7,20 @@
|
||||
'Noto Color Emoji';
|
||||
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
||||
monospace;
|
||||
--color-blue-500: oklch(62.3% 0.214 259.815);
|
||||
--color-blue-600: oklch(54.6% 0.245 262.881);
|
||||
--color-purple-300: oklch(82.7% 0.119 306.383);
|
||||
--color-gray-50: oklch(98.5% 0.002 247.839);
|
||||
--color-gray-300: oklch(87.2% 0.01 258.338);
|
||||
--color-gray-500: oklch(55.1% 0.027 264.364);
|
||||
--color-gray-600: oklch(44.6% 0.03 256.802);
|
||||
--color-gray-700: oklch(37.3% 0.034 259.733);
|
||||
--color-gray-800: oklch(27.8% 0.033 256.848);
|
||||
--color-black: #000;
|
||||
--color-white: #fff;
|
||||
--spacing: 0.25rem;
|
||||
--container-2xl: 42rem;
|
||||
--container-3xl: 48rem;
|
||||
--text-xs: 0.75rem;
|
||||
--text-xs--line-height: calc(1 / 0.75);
|
||||
--text-sm: 0.875rem;
|
||||
--text-sm--line-height: calc(1.25 / 0.875);
|
||||
--text-base: 1rem;
|
||||
--text-base--line-height: calc(1.5 / 1);
|
||||
--text-lg: 1.125rem;
|
||||
--text-lg--line-height: calc(1.75 / 1.125);
|
||||
--text-xl: 1.25rem;
|
||||
--text-xl--line-height: calc(1.75 / 1.25);
|
||||
--text-2xl: 1.5rem;
|
||||
--text-2xl--line-height: calc(2 / 1.5);
|
||||
--text-3xl: 1.875rem;
|
||||
--text-3xl--line-height: calc(2.25 / 1.875);
|
||||
--text-4xl: 2.25rem;
|
||||
@@ -40,12 +28,10 @@
|
||||
--text-6xl: 3.75rem;
|
||||
--text-6xl--line-height: 1;
|
||||
--font-weight-normal: 400;
|
||||
--font-weight-medium: 500;
|
||||
--font-weight-semibold: 600;
|
||||
--font-weight-bold: 700;
|
||||
--leading-snug: 1.375;
|
||||
--leading-relaxed: 1.625;
|
||||
--radius-md: 0.375rem;
|
||||
--radius-lg: 0.5rem;
|
||||
--blur-xl: 24px;
|
||||
--default-transition-duration: 150ms;
|
||||
@@ -224,9 +210,21 @@
|
||||
.top-10 {
|
||||
top: calc(var(--spacing) * 10);
|
||||
}
|
||||
.top-15 {
|
||||
top: calc(var(--spacing) * 15);
|
||||
}
|
||||
.top-20 {
|
||||
top: calc(var(--spacing) * 20);
|
||||
}
|
||||
.top-40 {
|
||||
top: calc(var(--spacing) * 40);
|
||||
}
|
||||
.top-70 {
|
||||
top: calc(var(--spacing) * 70);
|
||||
}
|
||||
.right-1\/3 {
|
||||
right: calc(1/3 * 100%);
|
||||
}
|
||||
.right-1\/4 {
|
||||
right: calc(1/4 * 100%);
|
||||
}
|
||||
@@ -236,18 +234,33 @@
|
||||
.right-20 {
|
||||
right: calc(var(--spacing) * 20);
|
||||
}
|
||||
.right-50 {
|
||||
right: calc(var(--spacing) * 50);
|
||||
}
|
||||
.right-100 {
|
||||
right: calc(var(--spacing) * 100);
|
||||
}
|
||||
.bottom-20 {
|
||||
bottom: calc(var(--spacing) * 20);
|
||||
}
|
||||
.left-1\/3 {
|
||||
left: calc(1/3 * 100%);
|
||||
}
|
||||
.left-1\/4 {
|
||||
left: calc(1/4 * 100%);
|
||||
}
|
||||
.left-5 {
|
||||
left: calc(var(--spacing) * 5);
|
||||
}
|
||||
.left-20 {
|
||||
left: calc(var(--spacing) * 20);
|
||||
}
|
||||
.left-50 {
|
||||
left: calc(var(--spacing) * 50);
|
||||
}
|
||||
.left-100 {
|
||||
left: calc(var(--spacing) * 100);
|
||||
}
|
||||
.container {
|
||||
width: 100%;
|
||||
@media (width >= 40rem) {
|
||||
@@ -275,9 +288,6 @@
|
||||
.m-5 {
|
||||
margin: calc(var(--spacing) * 5);
|
||||
}
|
||||
.m-6 {
|
||||
margin: calc(var(--spacing) * 6);
|
||||
}
|
||||
.m-10 {
|
||||
margin: calc(var(--spacing) * 10);
|
||||
}
|
||||
@@ -293,15 +303,15 @@
|
||||
.mt-6 {
|
||||
margin-top: calc(var(--spacing) * 6);
|
||||
}
|
||||
.mt-16 {
|
||||
margin-top: calc(var(--spacing) * 16);
|
||||
}
|
||||
.mt-auto {
|
||||
margin-top: auto;
|
||||
}
|
||||
.mb-2 {
|
||||
margin-bottom: calc(var(--spacing) * 2);
|
||||
}
|
||||
.mb-3 {
|
||||
margin-bottom: calc(var(--spacing) * 3);
|
||||
}
|
||||
.mb-4 {
|
||||
margin-bottom: calc(var(--spacing) * 4);
|
||||
}
|
||||
@@ -320,6 +330,9 @@
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
.inline-flex {
|
||||
display: inline-flex;
|
||||
}
|
||||
.h-2\.5 {
|
||||
height: calc(var(--spacing) * 2.5);
|
||||
}
|
||||
@@ -341,6 +354,9 @@
|
||||
.flex-grow {
|
||||
flex-grow: 1;
|
||||
}
|
||||
.cursor-pointer {
|
||||
cursor: pointer;
|
||||
}
|
||||
.list-inside {
|
||||
list-style-position: inside;
|
||||
}
|
||||
@@ -368,6 +384,9 @@
|
||||
.justify-center {
|
||||
justify-content: center;
|
||||
}
|
||||
.gap-2 {
|
||||
gap: calc(var(--spacing) * 2);
|
||||
}
|
||||
.gap-6 {
|
||||
gap: calc(var(--spacing) * 6);
|
||||
}
|
||||
@@ -388,6 +407,13 @@
|
||||
margin-block-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
|
||||
}
|
||||
}
|
||||
.space-x-5 {
|
||||
:where(& > :not(:last-child)) {
|
||||
--tw-space-x-reverse: 0;
|
||||
margin-inline-start: calc(calc(var(--spacing) * 5) * var(--tw-space-x-reverse));
|
||||
margin-inline-end: calc(calc(var(--spacing) * 5) * calc(1 - var(--tw-space-x-reverse)));
|
||||
}
|
||||
}
|
||||
.space-x-6 {
|
||||
:where(& > :not(:last-child)) {
|
||||
--tw-space-x-reverse: 0;
|
||||
@@ -421,9 +447,6 @@
|
||||
border-color: color-mix(in oklab, var(--color-white) 20%, transparent);
|
||||
}
|
||||
}
|
||||
.bg-accent {
|
||||
background-color: #9333ea;
|
||||
}
|
||||
.bg-accent\/5 {
|
||||
background-color: color-mix(in oklab, #9333ea 5%, transparent);
|
||||
}
|
||||
@@ -433,9 +456,6 @@
|
||||
.bg-secondary {
|
||||
background-color: #d3d9e6;
|
||||
}
|
||||
.bg-secondary\/5 {
|
||||
background-color: color-mix(in oklab, #d3d9e6 5%, transparent);
|
||||
}
|
||||
.p-4 {
|
||||
padding: calc(var(--spacing) * 4);
|
||||
}
|
||||
@@ -469,10 +489,6 @@
|
||||
.text-start {
|
||||
text-align: start;
|
||||
}
|
||||
.text-2xl {
|
||||
font-size: var(--text-2xl);
|
||||
line-height: var(--tw-leading, var(--text-2xl--line-height));
|
||||
}
|
||||
.text-3xl {
|
||||
font-size: var(--text-3xl);
|
||||
line-height: var(--tw-leading, var(--text-3xl--line-height));
|
||||
@@ -556,10 +572,29 @@
|
||||
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
||||
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
||||
}
|
||||
.transition-transform {
|
||||
transition-property: transform, translate, scale, rotate;
|
||||
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
||||
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
||||
}
|
||||
.duration-300 {
|
||||
--tw-duration: 300ms;
|
||||
transition-duration: 300ms;
|
||||
}
|
||||
.select-none {
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.hover\:scale-110 {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
--tw-scale-x: 110%;
|
||||
--tw-scale-y: 110%;
|
||||
--tw-scale-z: 110%;
|
||||
scale: var(--tw-scale-x) var(--tw-scale-y);
|
||||
}
|
||||
}
|
||||
}
|
||||
.hover\:bg-accent\/10 {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
@@ -574,6 +609,14 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.active\:scale-95 {
|
||||
&:active {
|
||||
--tw-scale-x: 95%;
|
||||
--tw-scale-y: 95%;
|
||||
--tw-scale-z: 95%;
|
||||
scale: var(--tw-scale-x) var(--tw-scale-y);
|
||||
}
|
||||
}
|
||||
.md\:block {
|
||||
@media (width >= 48rem) {
|
||||
display: block;
|
||||
@@ -618,9 +661,9 @@
|
||||
border-color: #2f314a;
|
||||
}
|
||||
}
|
||||
.dark\:bg-darkaccent\/10 {
|
||||
.dark\:bg-darkaccent\/40 {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background-color: color-mix(in oklab, #2563eb 10%, transparent);
|
||||
background-color: color-mix(in oklab, #2563eb 40%, transparent);
|
||||
}
|
||||
}
|
||||
.dark\:bg-darkprimary {
|
||||
@@ -654,11 +697,97 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
.hover\:dark\:bg-darkaccent\/20 {
|
||||
.hover\:dark\:bg-darkaccent\/0 {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background-color: color-mix(in oklab, #2563eb 20%, transparent);
|
||||
background-color: color-mix(in oklab, #2563eb 0%, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.hover\:dark\:bg-darkaccent\/30 {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
background-color: color-mix(in oklab, #2563eb 30%, transparent);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.\[\&\>svg\]\:h-5 {
|
||||
&>svg {
|
||||
height: calc(var(--spacing) * 5);
|
||||
}
|
||||
}
|
||||
.\[\&\>svg\]\:w-5 {
|
||||
&>svg {
|
||||
width: calc(var(--spacing) * 5);
|
||||
}
|
||||
}
|
||||
.hover\:\[\&\>svg\]\:text-\[\#0088cc\] {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
&>svg {
|
||||
color: #0088cc;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.hover\:\[\&\>svg\]\:text-\[\#cc6d00\] {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
&>svg {
|
||||
color: #cc6d00;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.hover\:\[\&\>svg\]\:drop-shadow-\[0_0_6px_rgba\(35\,36\,59\,0\.5\)\] {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
&>svg {
|
||||
--tw-drop-shadow-size: drop-shadow(0 0 6px var(--tw-drop-shadow-color, rgba(35,36,59,0.5)));
|
||||
--tw-drop-shadow: var(--tw-drop-shadow-size);
|
||||
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.md\:\[\&\>svg\]\:h-8 {
|
||||
@media (width >= 48rem) {
|
||||
&>svg {
|
||||
height: calc(var(--spacing) * 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
.md\:\[\&\>svg\]\:w-8 {
|
||||
@media (width >= 48rem) {
|
||||
&>svg {
|
||||
width: calc(var(--spacing) * 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
.dark\:hover\:\[\&\>svg\]\:text-\[\#7dd3fc\] {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
&>svg {
|
||||
color: #7dd3fc;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.dark\:hover\:\[\&\>svg\]\:drop-shadow-\[0_0_6px_rgba\(74\,140\,255\,0\.8\)\] {
|
||||
@media (prefers-color-scheme: dark) {
|
||||
&:hover {
|
||||
@media (hover: hover) {
|
||||
&>svg {
|
||||
--tw-drop-shadow-size: drop-shadow(0 0 6px var(--tw-drop-shadow-color, rgba(74,140,255,0.8)));
|
||||
--tw-drop-shadow: var(--tw-drop-shadow-size);
|
||||
filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -788,6 +917,78 @@
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-duration {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-scale-x {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
initial-value: 1;
|
||||
}
|
||||
@property --tw-scale-y {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
initial-value: 1;
|
||||
}
|
||||
@property --tw-scale-z {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
initial-value: 1;
|
||||
}
|
||||
@property --tw-blur {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-brightness {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-contrast {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-grayscale {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-hue-rotate {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-invert {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-opacity {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-saturate {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-sepia {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-drop-shadow {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-drop-shadow-color {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@property --tw-drop-shadow-alpha {
|
||||
syntax: "<percentage>";
|
||||
inherits: false;
|
||||
initial-value: 100%;
|
||||
}
|
||||
@property --tw-drop-shadow-size {
|
||||
syntax: "*";
|
||||
inherits: false;
|
||||
}
|
||||
@layer properties {
|
||||
@supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
|
||||
*, ::before, ::after, ::backdrop {
|
||||
@@ -819,6 +1020,23 @@
|
||||
--tw-backdrop-opacity: initial;
|
||||
--tw-backdrop-saturate: initial;
|
||||
--tw-backdrop-sepia: initial;
|
||||
--tw-duration: initial;
|
||||
--tw-scale-x: 1;
|
||||
--tw-scale-y: 1;
|
||||
--tw-scale-z: 1;
|
||||
--tw-blur: initial;
|
||||
--tw-brightness: initial;
|
||||
--tw-contrast: initial;
|
||||
--tw-grayscale: initial;
|
||||
--tw-hue-rotate: initial;
|
||||
--tw-invert: initial;
|
||||
--tw-opacity: initial;
|
||||
--tw-saturate: initial;
|
||||
--tw-sepia: initial;
|
||||
--tw-drop-shadow: initial;
|
||||
--tw-drop-shadow-color: initial;
|
||||
--tw-drop-shadow-alpha: 100%;
|
||||
--tw-drop-shadow-size: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user