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
|
|
|
|
2024-09-02 15:01:34 +03:00
|
|
|
* {
|
|
|
|
@apply scrollbar;
|
|
|
|
}
|
|
|
|
|
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 {
|
2024-09-02 15:01:34 +03:00
|
|
|
border-radius: 10px;
|
2024-09-09 15:27:22 +03:00
|
|
|
background-color: var(--background-0);
|
2023-09-22 19:15:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar::-webkit-scrollbar-thumb {
|
2024-09-09 15:27:22 +03:00
|
|
|
background-color: var(--background-3);
|
2024-09-02 15:01:34 +03:00
|
|
|
border-radius: 4px;
|
2024-09-09 15:27:22 +03:00
|
|
|
max-height: 30px;
|
2023-09-22 19:15:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.scrollbar::-webkit-scrollbar-thumb:hover {
|
2024-09-09 15:27:22 +03:00
|
|
|
background-color: var(--background-2);
|
2023-09-22 19:15:28 +03:00
|
|
|
}
|
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 {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-very-dark-grey);
|
2024-08-08 17:21:28 +03:00
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.punctuation {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-dark-grey);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.property,
|
|
|
|
.token.tag,
|
|
|
|
.token.constant,
|
|
|
|
.token.symbol,
|
|
|
|
.token.deleted {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-red);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.boolean,
|
|
|
|
.token.number {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-purple);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.selector,
|
|
|
|
.token.attr-name,
|
|
|
|
.token.string,
|
|
|
|
.token.char,
|
|
|
|
.token.builtin,
|
|
|
|
.token.inserted {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-green);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.operator,
|
|
|
|
.token.entity,
|
|
|
|
.token.url,
|
|
|
|
.language-css .token.string,
|
|
|
|
.style .token.string,
|
|
|
|
.token.variable {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-grey);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.atrule,
|
|
|
|
.token.attr-value,
|
|
|
|
.token.function,
|
|
|
|
.token.class-name {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-yellow);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.keyword {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-blue);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.regex,
|
|
|
|
.token.important {
|
2024-08-08 17:29:42 +03:00
|
|
|
color: var(--code-orange);
|
2024-08-08 17:21:28 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.token.important,
|
|
|
|
.token.bold {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.italic {
|
|
|
|
font-style: italic;
|
|
|
|
}
|
|
|
|
|
|
|
|
.token.entity {
|
|
|
|
cursor: help;
|
2024-08-19 18:48:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.EmojiPickerReact {
|
|
|
|
--epr-emoji-size: 20px !important;
|
|
|
|
--epr-hover-bg-color: var(--primary-1) !important;
|
|
|
|
--epr-category-navigation-button-size: 24px !important;
|
2024-08-21 18:23:59 +03:00
|
|
|
--epr-category-label-bg-color: var(--background-0) !important;
|
|
|
|
--epr-header-padding: 8px 16px !important;
|
2024-08-19 18:48:10 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.EmojiPickerReact.epr-dark-theme {
|
|
|
|
--epr-emoji-size: 20px !important;
|
|
|
|
--epr-hover-bg-color: var(--primary-1) !important;
|
|
|
|
--epr-category-navigation-button-size: 24px !important;
|
2024-08-21 18:23:59 +03:00
|
|
|
--epr-category-label-bg-color: var(--background-0) !important;
|
|
|
|
--epr-header-padding: 8px 16px !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-colorful {
|
|
|
|
width: 250px !important;
|
|
|
|
height: 300px !important;
|
|
|
|
border: none !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 768px) {
|
|
|
|
.react-colorful {
|
|
|
|
width: 375px !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-colorful__last-control {
|
|
|
|
border-radius: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.react-colorful__saturation {
|
|
|
|
border-radius: 0 !important;
|
2024-03-21 10:01:21 +03:00
|
|
|
}
|