2023-09-22 19:15:28 +03:00
|
|
|
@import "tailwindcss/base";
|
|
|
|
@import "tailwindcss/components";
|
|
|
|
@import "tailwindcss/utilities";
|
2024-03-21 10:01:21 +03:00
|
|
|
@import './colors.css';
|
2023-09-22 19:15:28 +03:00
|
|
|
|
|
|
|
main {
|
|
|
|
@apply max-w-screen-xl mx-auto flex flex-col;
|
|
|
|
}
|
|
|
|
|
|
|
|
header,
|
|
|
|
section {
|
|
|
|
@apply px-5 md:px-10;
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@apply hover:text-primary dark:hover:text-gray-200 transition-colors;
|
|
|
|
}
|
|
|
|
|
2023-10-03 19:03:05 +03:00
|
|
|
div:focus {
|
|
|
|
@apply outline-none;
|
|
|
|
}
|
|
|
|
|
2023-09-22 19:15:28 +03:00
|
|
|
@layer utilities {
|
|
|
|
.scrollbar::-webkit-scrollbar {
|
|
|
|
@apply w-2 h-2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar::-webkit-scrollbar-track {
|
|
|
|
/* border-radius: 5px; */
|
|
|
|
/* background: #fff; */
|
|
|
|
@apply bg-white dark:bg-black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar::-webkit-scrollbar-thumb {
|
|
|
|
/* background: #000; */
|
|
|
|
/* border-radius: 100vh; */
|
|
|
|
/* border: 3px solid #fff; */
|
|
|
|
@apply bg-gray-200 dark:bg-gray-600 border border-white rounded-sm;
|
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar::-webkit-scrollbar-thumb:hover {
|
|
|
|
/* background: #000; */
|
|
|
|
@apply bg-gray-500;
|
|
|
|
}
|
2023-10-04 13:04:57 +03:00
|
|
|
|
|
|
|
.h-fill-available {
|
|
|
|
/* fixes the h-[100vh] issue on mobile */
|
|
|
|
/* like height: -webkit-fill-available; but for any device (android and iphone) */
|
|
|
|
@apply h-[100vh] supports-[height:100cqh]:h-[100cqh] supports-[height:100svh]:h-[100svh];
|
|
|
|
}
|
2023-10-03 19:03:05 +03:00
|
|
|
}
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
:root {
|
|
|
|
/* Backgrounds */
|
|
|
|
--background-0: var(--white-0);
|
|
|
|
--background-1: var(--white-1);
|
2024-06-18 18:37:28 +03:00
|
|
|
--background-2: var(--grey-6);
|
|
|
|
--background-3: var(--grey-4);
|
2024-03-21 10:01:21 +03:00
|
|
|
--background-4: var(--grey-0);
|
|
|
|
--background-5: var(--black-0);
|
2024-07-16 18:18:05 +03:00
|
|
|
--background-primary-0: var(--primary-2);
|
|
|
|
--background-primary-1: var(--primary-1);
|
2024-03-21 10:01:21 +03:00
|
|
|
--background-blur: rgba(0, 0, 0, 0.9);
|
2024-07-16 18:18:05 +03:00
|
|
|
--background-success: var(--success-lightest);
|
|
|
|
--background-error: var(--dangerous-lightest);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Borders */
|
2024-06-18 18:37:28 +03:00
|
|
|
--border-0: var(--grey-5);
|
|
|
|
--border-1: var(--grey-4);
|
|
|
|
--border-2: var(--grey-2);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Icons */
|
|
|
|
--icon-0: var(--white-0);
|
2024-06-18 18:37:28 +03:00
|
|
|
--icon-1: var(--grey-2);
|
2024-03-21 10:01:21 +03:00
|
|
|
--icon-2: var(--grey-0);
|
|
|
|
--icon-3: var(--black-0);
|
|
|
|
|
|
|
|
/* Text */
|
|
|
|
--text-0: var(--white-0);
|
2024-06-18 18:37:28 +03:00
|
|
|
--text-1: var(--grey-2);
|
2024-03-21 10:01:21 +03:00
|
|
|
--text-2: var(--grey-0);
|
|
|
|
--text-3: var(--black-0);
|
2024-06-18 18:37:28 +03:00
|
|
|
--text-4: var(--grey-1);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Box Shadow */
|
|
|
|
--box-shadow: rgba(0, 0, 0, 0.25);
|
|
|
|
}
|
|
|
|
|
|
|
|
body.dark_mode {
|
|
|
|
/* Backgrounds */
|
2024-06-09 19:43:18 +03:00
|
|
|
--background-0: var(--black-1);
|
|
|
|
--background-1: var(--black-0);
|
2024-03-21 10:01:21 +03:00
|
|
|
--background-2: var(--black-2);
|
|
|
|
--background-3: var(--black-3);
|
|
|
|
--background-4: var(--black-4);
|
|
|
|
--background-5: var(--black-5);
|
2024-07-16 18:18:05 +03:00
|
|
|
--background-primary-0: var(--black-5);
|
|
|
|
--background-primary-1: var(--black-5);
|
2024-03-21 10:01:21 +03:00
|
|
|
--background-opposite: var(--white-0);
|
|
|
|
--background-blur: rgba(0, 0, 0, 0.9);
|
2024-07-16 18:18:05 +03:00
|
|
|
--background-success: var(--black-5);
|
|
|
|
--background-error: var(--black-5);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Borders */
|
2024-07-08 12:04:56 +03:00
|
|
|
--border-0: var(--black-5);
|
|
|
|
--border-1: var(--black-6);
|
|
|
|
--border-2: var(--black-7);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Icons */
|
|
|
|
--icon-0: var(--black-0);
|
|
|
|
--icon-1: var(--grey-0);
|
2024-06-18 18:37:28 +03:00
|
|
|
--icon-2: var(--grey-2);
|
2024-03-21 10:01:21 +03:00
|
|
|
--icon-3: var(--white-0);
|
|
|
|
|
|
|
|
/* Text */
|
|
|
|
--text-0: var(--black-0);
|
|
|
|
--text-1: var(--grey-0);
|
2024-06-18 18:37:28 +03:00
|
|
|
--text-2: var(--grey-2);
|
2024-05-23 18:43:47 +03:00
|
|
|
--text-3: var(--white-2);
|
2024-06-18 18:37:28 +03:00
|
|
|
--text-4: var(--grey-1);
|
2024-03-21 10:01:21 +03:00
|
|
|
|
|
|
|
/* Box Shadow */
|
|
|
|
--box-shadow: rgba(255, 255, 255, 0.25);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.comment,
|
|
|
|
.token.block-comment,
|
|
|
|
.token.prolog,
|
|
|
|
.token.doctype,
|
|
|
|
.token.cdata {
|
|
|
|
color: #75715e;
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation {
|
|
|
|
color: #f8f8f2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
|
|
|
color: #f92672;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.boolean,
|
|
|
|
.token.number {
|
|
|
|
color: #ae81ff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
|
|
|
color: #a6e22e;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string,
|
|
|
|
.token.variable {
|
|
|
|
color: #f8f8f2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.function,
|
|
|
|
.token.class-name {
|
|
|
|
color: #e6db74;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.keyword {
|
|
|
|
color: #66d9ef;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
.token.important {
|
|
|
|
color: #fd971f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity {
|
|
|
|
cursor: help;
|
2024-03-21 10:01:21 +03:00
|
|
|
}
|