2022-01-01 19:04:48 +00:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
|
|
|
|
|
|
|
@layer base {
|
|
|
|
* {
|
2022-02-19 01:14:16 +00:00
|
|
|
@apply box-border font-body font-medium scroll-smooth scroll-m-8;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
h1,
|
|
|
|
h2,
|
|
|
|
h3,
|
|
|
|
h4,
|
|
|
|
h5,
|
|
|
|
h6 {
|
2022-01-29 09:43:51 +00:00
|
|
|
@apply font-headers font-black;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
2022-03-12 17:00:19 +00:00
|
|
|
@apply transition-colors underline-offset-2 decoration-dotted underline decoration-dark hover:text-dark cursor-pointer;
|
2022-01-29 09:43:51 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*::selection {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply bg-dark text-light;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
mark {
|
2022-03-13 13:54:56 +00:00
|
|
|
@apply bg-mid px-2;
|
2022-03-12 12:23:09 +00:00
|
|
|
}
|
|
|
|
|
2022-01-01 19:04:48 +00:00
|
|
|
/* SCROLLBARS STYLING */
|
|
|
|
|
|
|
|
* {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply [scrollbar-color:theme(colors.dark)_transparent] [scrollbar-width:thin];
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar {
|
2022-02-17 01:49:32 +00:00
|
|
|
@apply w-3 mobile:w-0;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar-track {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply bg-light;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
*::-webkit-scrollbar-thumb {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply bg-dark rounded-full border-[3px] border-solid border-light;
|
2022-01-01 19:04:48 +00:00
|
|
|
}
|
2022-02-17 16:55:44 +00:00
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
/* CHANGE FORMATTED DEFAULTS */
|
2022-02-17 16:55:44 +00:00
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted h1,
|
|
|
|
.formatted h2,
|
|
|
|
.formatted h3,
|
|
|
|
.formatted h4,
|
|
|
|
.formatted h5,
|
|
|
|
.formatted h6 {
|
|
|
|
@apply text-center;
|
2022-02-23 23:57:43 +00:00
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted h1 {
|
|
|
|
@apply text-4xl my-16;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h1 + h2 {
|
|
|
|
@apply -mt-10;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h2 {
|
|
|
|
@apply text-3xl my-12;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h2 + h3 {
|
|
|
|
@apply -mt-8;
|
2022-02-17 16:55:44 +00:00
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted h3 {
|
|
|
|
@apply text-2xl my-8;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h3 + h4 {
|
|
|
|
@apply -mt-6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h4 {
|
|
|
|
@apply text-xl my-6;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted h5 {
|
|
|
|
@apply text-lg my-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted p,
|
|
|
|
.formatted strong {
|
|
|
|
@apply my-2 text-justify;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted footer {
|
2022-02-20 12:49:44 +00:00
|
|
|
@apply border-t-[3px] border-dotted pt-6;
|
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted footer > div {
|
2022-02-20 12:49:44 +00:00
|
|
|
@apply my-2 px-6 py-4 rounded-xl;
|
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted footer > div:target {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply bg-mid shadow-inner-sm shadow-shade;
|
2022-02-20 12:49:44 +00:00
|
|
|
}
|
2022-02-25 14:11:58 +00:00
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted li::marker {
|
2022-02-25 14:11:58 +00:00
|
|
|
@apply text-dark;
|
|
|
|
}
|
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted blockquote {
|
2022-03-06 15:50:17 +00:00
|
|
|
@apply border-l-dark;
|
2022-02-27 07:17:58 +00:00
|
|
|
}
|
2022-03-06 19:48:44 +00:00
|
|
|
|
2022-03-12 12:23:09 +00:00
|
|
|
.formatted ul {
|
|
|
|
@apply list-disc pl-4;
|
|
|
|
}
|
|
|
|
|
|
|
|
.formatted ol {
|
|
|
|
@apply list-decimal pl-4;
|
|
|
|
}
|
|
|
|
|
2022-03-06 19:48:44 +00:00
|
|
|
/* INPUT */
|
|
|
|
|
|
|
|
input {
|
|
|
|
@apply rounded-full p-2 text-center bg-light outline outline-mid outline-2 outline-offset-[-2px] hover:outline-[transparent] text-dark hover:bg-mid transition-all;
|
|
|
|
}
|
|
|
|
|
|
|
|
input::placeholder {
|
|
|
|
@apply text-dark opacity-60;
|
|
|
|
}
|
|
|
|
|
|
|
|
input:focus-visible {
|
|
|
|
@apply outline-none bg-mid shadow-inner-sm;
|
|
|
|
}
|
2022-01-03 02:40:54 +00:00
|
|
|
}
|
2022-02-23 23:57:43 +00:00
|
|
|
|
|
|
|
@layer components {
|
|
|
|
.texture-paper-dots {
|
2022-02-24 01:06:25 +00:00
|
|
|
@apply [background-image:var(--theme-texture-dots)] [background-blend-mode:var(--theme-texture-dots-blend)] bg-local bg-[length:10cm];
|
2022-02-23 23:57:43 +00:00
|
|
|
}
|
|
|
|
}
|
2022-03-13 13:54:56 +00:00
|
|
|
|
|
|
|
.tippy-box[data-animation="fade"][data-state="hidden"] {
|
|
|
|
@apply opacity-0;
|
|
|
|
}
|
|
|
|
[data-tippy-root] {
|
|
|
|
max-width: calc(100vw - 10px);
|
|
|
|
}
|
|
|
|
.tippy-box {
|
|
|
|
@apply relative bg-light drop-shadow-shade-xl rounded-lg transition-[transform,_visibility,_opacity];
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-arrow {
|
|
|
|
@apply bottom-0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="top"] > .tippy-arrow:before {
|
|
|
|
bottom: -7px;
|
|
|
|
left: 0;
|
|
|
|
border-width: 8px 8px 0;
|
|
|
|
border-top-color: initial;
|
|
|
|
transform-origin: center top;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-arrow {
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
|
|
|
|
top: -7px;
|
|
|
|
left: 0;
|
|
|
|
border-width: 0 8px 8px;
|
|
|
|
border-bottom-color: initial;
|
|
|
|
transform-origin: center bottom;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-arrow {
|
|
|
|
right: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="left"] > .tippy-arrow:before {
|
|
|
|
border-width: 8px 0 8px 8px;
|
|
|
|
border-left-color: initial;
|
|
|
|
right: -7px;
|
|
|
|
transform-origin: center left;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-arrow {
|
|
|
|
left: 0;
|
|
|
|
}
|
|
|
|
.tippy-box[data-placement^="right"] > .tippy-arrow:before {
|
|
|
|
left: -7px;
|
|
|
|
border-width: 8px 8px 8px 0;
|
|
|
|
border-right-color: initial;
|
|
|
|
transform-origin: center right;
|
|
|
|
}
|
|
|
|
.tippy-box[data-inertia][data-state="visible"] {
|
|
|
|
transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
|
|
|
|
}
|
|
|
|
.tippy-arrow {
|
|
|
|
@apply h-4 w-4 text-light;
|
|
|
|
}
|
|
|
|
.tippy-arrow:before {
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
border-color: transparent;
|
|
|
|
border-style: solid;
|
|
|
|
}
|
|
|
|
.tippy-content {
|
|
|
|
@apply relative px-6 py-4 z-10;
|
|
|
|
}
|