2024-02-22 20:13:23 +01:00
|
|
|
@tailwind base;
|
|
|
|
@tailwind components;
|
|
|
|
@tailwind utilities;
|
2024-03-02 13:12:55 +01:00
|
|
|
|
2024-09-13 23:21:51 +02:00
|
|
|
@layer base {
|
|
|
|
@font-face {
|
2024-09-28 13:09:01 +02:00
|
|
|
font-family: 'Baloo2';
|
2024-09-13 23:21:51 +02:00
|
|
|
font-style: normal;
|
|
|
|
font-display: swap;
|
|
|
|
src:
|
2024-09-28 13:09:01 +02:00
|
|
|
local('Baloo2'),
|
|
|
|
url(/fonts/baloo2/Baloo2-Latin-Variable-wght.woff2) format('woff2');
|
2024-09-13 23:21:51 +02:00
|
|
|
}
|
2024-09-28 13:09:01 +02:00
|
|
|
/* latin-ext */
|
2024-09-13 23:21:51 +02:00
|
|
|
@font-face {
|
2024-09-28 13:09:01 +02:00
|
|
|
font-family: 'Baloo 2';
|
2024-09-13 23:21:51 +02:00
|
|
|
font-style: normal;
|
2024-09-28 13:09:01 +02:00
|
|
|
font-weight: 400 800;
|
2024-09-13 23:21:51 +02:00
|
|
|
font-display: swap;
|
2024-09-28 13:09:01 +02:00
|
|
|
src: url(/fonts/baloo2/Baloo2-Latin-Variable-ext-wght.woff2) format('woff2');
|
|
|
|
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,
|
|
|
|
U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
2024-09-13 23:21:51 +02:00
|
|
|
}
|
2024-09-28 13:09:01 +02:00
|
|
|
|
2024-09-13 23:21:51 +02:00
|
|
|
@font-face {
|
2024-09-28 13:09:01 +02:00
|
|
|
font-family: 'Baloo2 Fallback';
|
2024-09-13 23:21:51 +02:00
|
|
|
font-style: normal;
|
2024-09-28 13:09:01 +02:00
|
|
|
font-weight: 400;
|
|
|
|
src: local('BlinkMacSystemFont'), local('Segoe UI'), local('Helvetica Neue'),
|
|
|
|
local('Arial');
|
|
|
|
ascent-override: 111.2%;
|
|
|
|
descent-override: 54.05%;
|
|
|
|
line-gap-override: 0%;
|
|
|
|
size-adjust: 96.95%;
|
2024-09-13 23:21:51 +02:00
|
|
|
}
|
2024-09-28 13:09:01 +02:00
|
|
|
|
2024-09-13 23:21:51 +02:00
|
|
|
@font-face {
|
2024-09-28 13:09:01 +02:00
|
|
|
font-family: 'Baloo2 Noto Fallback';
|
2024-09-13 23:21:51 +02:00
|
|
|
font-style: normal;
|
2024-09-28 13:09:01 +02:00
|
|
|
font-weight: 400;
|
|
|
|
src: local('Noto Sans');
|
|
|
|
ascent-override: 88%;
|
|
|
|
descent-override: none;
|
|
|
|
line-gap-override: 0%;
|
|
|
|
size-adjust: 92%;
|
2024-09-13 23:21:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-04-30 23:10:12 +02:00
|
|
|
a {
|
2024-09-20 12:35:30 +02:00
|
|
|
@apply text-pink-800 underline underline-offset-2 hover:transition hover:text-blue-500;
|
2024-04-30 23:10:12 +02:00
|
|
|
}
|
|
|
|
|
2024-09-20 10:44:59 +02:00
|
|
|
strong {
|
|
|
|
@apply font-medium;
|
|
|
|
}
|
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
.article-body {
|
|
|
|
h1 {
|
2024-09-15 20:38:58 +02:00
|
|
|
@apply px-4 text-2xl font-semibold text-blue-900 mb-3 mt-4 max-w-read mx-auto md:text-4xl lg:text-5xl;
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
|
|
|
h2 {
|
2024-09-15 20:38:58 +02:00
|
|
|
@apply px-4 text-xl font-semibold text-blue-900 mb-3 mt-4 max-w-read mx-auto md:text-2xl md:mb-6 md:mt-8 lg:mb-8 lg:mt-12 lg:text-4xl;
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
2024-09-18 18:36:54 +02:00
|
|
|
|
|
|
|
h3 {
|
|
|
|
@apply px-4 text-lg font-semibold text-blue-900 mb-3 mt-4 max-w-read mx-auto md:text-xl md:mb-6 md:mt-8 lg:mb-8 lg:mt-12 lg:text-3xl;
|
|
|
|
}
|
|
|
|
|
|
|
|
h4 {
|
|
|
|
@apply px-4 text-lg font-medium text-blue-900 mb-2 mt-3 max-w-read mx-auto md:text-lg md:mb-6 md:mt-8 lg:mb-8 lg:mt-12 lg:text-3xl;
|
|
|
|
}
|
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
p {
|
2024-09-15 20:38:58 +02:00
|
|
|
@apply px-4 my-2 text-slate-950 text-justify mx-auto max-w-read md:text-lg md:my-8 lg:text-readxl;
|
|
|
|
}
|
2024-09-20 12:35:30 +02:00
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
pre {
|
2024-09-10 21:58:57 +02:00
|
|
|
@apply p-4 my-1 overflow-auto text-sm mx-auto max-w-read;
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
2024-09-20 12:35:30 +02:00
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
figure {
|
2024-09-10 21:58:57 +02:00
|
|
|
@apply p-4;
|
2024-03-02 22:56:06 +01:00
|
|
|
|
|
|
|
img {
|
2024-09-15 20:38:58 +02:00
|
|
|
@apply rounded shadow-md mx-auto lg:max-w-image;
|
2024-03-02 13:12:55 +01:00
|
|
|
}
|
|
|
|
}
|
2024-03-02 22:56:06 +01:00
|
|
|
figcaption {
|
2024-09-10 21:58:57 +02:00
|
|
|
@apply mt-2 text-center text-sm italic text-blue-800 md:text-base lg:text-lg;
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
2024-09-10 21:58:57 +02:00
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
table {
|
2024-09-20 11:51:29 +02:00
|
|
|
@apply text-sm mx-auto my-4 max-w-image table-auto border-collapse border-spacing-12 border border-slate-200 rounded md:text-base lg:text-xl lg:my-8;
|
2024-09-10 21:58:57 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
thead {
|
|
|
|
@apply bg-blue-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
tbody {
|
|
|
|
@apply bg-slate-50;
|
|
|
|
}
|
|
|
|
|
|
|
|
td,
|
|
|
|
th {
|
|
|
|
@apply py-0.5 px-2 border-b md:py-2 md:px-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
tr {
|
|
|
|
@apply even:bg-slate-100;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2024-09-18 18:36:54 +02:00
|
|
|
@apply mx-6 py-1 px-2 bg-pink-50 lg:mx-auto max-w-note border-l-4 border-pink-600;
|
2024-09-10 21:58:57 +02:00
|
|
|
|
|
|
|
p {
|
|
|
|
@apply my-2 md:my-4 text-slate-600 max-w-note;
|
|
|
|
}
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
2024-09-11 13:15:00 +02:00
|
|
|
|
|
|
|
:not(pre) code {
|
2024-09-18 18:36:54 +02:00
|
|
|
@apply text-pink-900 rounded border border-blue-300 px-1 py-0.5 bg-blue-100 text-sm md:text-base lg:text-xl;
|
2024-09-11 13:15:00 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
pre code pre {
|
|
|
|
@apply mx-2 rounded lg:mx-auto lg:text-lg shadow-sm lg:max-w-note;
|
|
|
|
}
|
2024-09-18 18:36:54 +02:00
|
|
|
|
|
|
|
ul,
|
|
|
|
ol {
|
2024-09-27 11:52:25 +02:00
|
|
|
@apply pl-10 pr-6 my-2 text-slate-950 mx-auto max-w-read md:text-lg md:my-8 lg:text-readxl lg:pl-14;
|
|
|
|
|
|
|
|
& p {
|
|
|
|
@apply px-2;
|
|
|
|
}
|
2024-09-18 18:36:54 +02:00
|
|
|
}
|
|
|
|
|
2024-09-26 14:12:55 +02:00
|
|
|
ul {
|
|
|
|
@apply list-disc;
|
|
|
|
}
|
|
|
|
ol {
|
|
|
|
@apply list-decimal;
|
|
|
|
}
|
|
|
|
|
2024-09-18 18:36:54 +02:00
|
|
|
iframe {
|
|
|
|
@apply rounded shadow-md mx-auto lg:max-w-image;
|
|
|
|
}
|
2024-03-02 22:56:06 +01:00
|
|
|
}
|
|
|
|
|
2024-09-20 12:35:30 +02:00
|
|
|
article a {
|
|
|
|
@apply visited:text-purple-700;
|
|
|
|
}
|
|
|
|
|
2024-03-02 22:56:06 +01:00
|
|
|
.video-embed {
|
2024-09-10 21:58:57 +02:00
|
|
|
@apply m-4 mx-auto max-w-image aspect-video;
|
2024-03-02 13:12:55 +01:00
|
|
|
}
|
2024-09-26 14:12:55 +02:00
|
|
|
|
|
|
|
.social-card-twitch:hover {
|
|
|
|
transform: translate3d(0.6rem, -0.6rem, 0px);
|
|
|
|
box-shadow: -3px 3px 0px 3px #6441a5;
|
|
|
|
transition-delay: 75ms;
|
|
|
|
}
|
|
|
|
|
2024-09-26 14:59:18 +02:00
|
|
|
.social-card-youtube:hover {
|
|
|
|
@apply rounded-none;
|
|
|
|
transform: scale(1.02);
|
|
|
|
transition-delay: 100ms;
|
|
|
|
}
|
|
|
|
|
|
|
|
.social-card-instagram:hover {
|
|
|
|
filter: brightness(84%);
|
|
|
|
transition-delay: 100ms;
|
|
|
|
}
|
|
|
|
|
2024-09-26 14:12:55 +02:00
|
|
|
.social-card-tiktok {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
animation: tiktok-glitch 1.5s infinite;
|
|
|
|
animation-delay: 200ms;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes tiktok-glitch {
|
|
|
|
0% {
|
|
|
|
box-shadow:
|
|
|
|
0px 0px 0 rgba(0, 255, 255, 0),
|
|
|
|
0px 0px 0 rgba(255, 0, 255, 0);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(0, 0);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
10% {
|
|
|
|
box-shadow:
|
|
|
|
-3px -3px 0 rgba(0, 255, 255, 0.8),
|
|
|
|
3px 3px 0 rgba(255, 0, 255, 0.8);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(-1px, -1px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
15% {
|
|
|
|
box-shadow:
|
|
|
|
2px -2px 0 rgba(0, 255, 255, 0.6),
|
|
|
|
-2px 2px 0 rgba(255, 0, 255, 0.6);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(2px, -2px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
20% {
|
|
|
|
box-shadow:
|
|
|
|
-1px 1px 0 rgba(0, 255, 255, 0.4),
|
|
|
|
1px -1px 0 rgba(255, 0, 255, 0.4);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(1px, 1px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
25% {
|
|
|
|
box-shadow:
|
|
|
|
-4px 4px 0 rgba(0, 255, 255, 1),
|
|
|
|
4px -4px 0 rgba(255, 0, 255, 1);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(-2px, 2px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
30% {
|
|
|
|
box-shadow:
|
|
|
|
3px -3px 0 rgba(0, 255, 255, 0.5),
|
|
|
|
-3px 3px 0 rgba(255, 0, 255, 0.5);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(3px, -3px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
40% {
|
|
|
|
box-shadow:
|
|
|
|
-2px 2px 0 rgba(0, 255, 255, 0.9),
|
|
|
|
2px -2px 0 rgba(255, 0, 255, 0.9);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(-1px, 1px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
50% {
|
|
|
|
box-shadow:
|
|
|
|
-1px -2px 0 rgba(0, 255, 255, 0.7),
|
|
|
|
2px -1px 0 rgba(255, 0, 255, 0.7);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(1px, -1px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
60% {
|
|
|
|
box-shadow:
|
|
|
|
2px -2px 0 rgba(0, 255, 255, 0.3),
|
|
|
|
-2px 2px 0 rgba(255, 0, 255, 0.3);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(2px, -2px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
75% {
|
|
|
|
box-shadow:
|
|
|
|
-3px 3px 0 rgba(0, 255, 255, 1),
|
|
|
|
3px -3px 0 rgba(255, 0, 255, 1);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(-3px, 3px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
85% {
|
|
|
|
box-shadow:
|
|
|
|
-2px -2px 0 rgba(0, 255, 255, 0.2),
|
|
|
|
2px 2px 0 rgba(255, 0, 255, 0.2);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(-2px, -2px);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
100% {
|
|
|
|
box-shadow:
|
|
|
|
0px 0px 0 rgba(0, 255, 255, 0),
|
|
|
|
0px 0px 0 rgba(255, 0, 255, 0);
|
2024-09-27 11:52:25 +02:00
|
|
|
transform: translate(0, 0);
|
2024-09-26 14:12:55 +02:00
|
|
|
}
|
|
|
|
}
|
2024-10-09 11:18:47 +02:00
|
|
|
|
|
|
|
@view-transition {
|
|
|
|
navigation: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Define the animation for persistent elements (like the header and title) */
|
|
|
|
/* ::view-transition-group(*) { */
|
|
|
|
/* transition: transform 3.4s ease-in-out; */
|
|
|
|
/* } */
|
|
|
|
|
|
|
|
/* ::view-transition-group(blog_post_preview) { */
|
|
|
|
/* animation-duration: 5.5s; */
|
|
|
|
/* transition: transform 5.4s ease-in-out; */
|
|
|
|
/* opacity: 1; */
|
|
|
|
/* } */
|