135 lines
2.2 KiB
CSS
Executable File
135 lines
2.2 KiB
CSS
Executable File
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono&display=swap');
|
|
@import url('https://fonts.googleapis.com/css?family=Inter&display=swap');
|
|
|
|
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
html,
|
|
body {
|
|
@apply bg-soft-lavender dark:bg-midnight text-deep-indigo dark:text-white;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
/* make scroll bars dark in dark mode */
|
|
html {
|
|
color-scheme: normal;
|
|
}
|
|
|
|
html.dark {
|
|
color-scheme: dark;
|
|
}
|
|
|
|
button {
|
|
@apply hover:dark:bg-[#1E1F1E] hover:bg-[#E5E6E5]/80 flex items-center h-fit p-[2px] rounded;
|
|
}
|
|
|
|
hr {
|
|
@apply text-deep-indigo dark:text-white;
|
|
}
|
|
|
|
.font-jetbrains {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
code,
|
|
kbd,
|
|
pre,
|
|
samp {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.love {
|
|
text-decoration: underline;
|
|
text-decoration-color: #EB0066;
|
|
}
|
|
|
|
.love::before,
|
|
.love::after {
|
|
content: '❤';
|
|
position: absolute;
|
|
pointer-events: none;
|
|
opacity: 0;
|
|
transition: opacity 650ms;
|
|
}
|
|
|
|
.love::after {
|
|
margin-left: 4px;
|
|
animation-name: floating;
|
|
animation-duration: 2.35s;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
.love::before {
|
|
margin-left: -24px;
|
|
animation-name: floatingButDownMore;
|
|
animation-duration: 2.025s;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
}
|
|
|
|
.love:hover::after,
|
|
.love:active::after,
|
|
.love:focus::after {
|
|
opacity: 1;
|
|
}
|
|
|
|
.love:hover::before,
|
|
.love:active::before,
|
|
.love:focus::before {
|
|
opacity: 1;
|
|
}
|
|
|
|
@keyframes floating {
|
|
0% {
|
|
transform: translate(0, -5px) rotate(0turn);
|
|
}
|
|
|
|
25% {
|
|
transform: translate(0, -11px) rotate(0.0425turn);
|
|
}
|
|
|
|
50% {
|
|
transform: translate(0, -17px) rotate(0turn);
|
|
}
|
|
|
|
75% {
|
|
transform: translate(0, -11px) rotate(-0.05turn);
|
|
}
|
|
|
|
100% {
|
|
transform: translate(0, -5px) rotate(0turn);
|
|
}
|
|
}
|
|
|
|
@keyframes floatingButDownMore {
|
|
0% {
|
|
transform: translate(0, 2px) rotate(0turn);
|
|
}
|
|
|
|
25% {
|
|
transform: translate(0, -4px) rotate(-0.05turn);
|
|
}
|
|
|
|
50% {
|
|
transform: translate(0, -10px) rotate(0turn);
|
|
}
|
|
|
|
75% {
|
|
transform: translate(0, -4px) rotate(0.0375turn);
|
|
}
|
|
|
|
100% {
|
|
transform: translate(0, 2px) rotate(0turn);
|
|
}
|
|
}
|
|
|
|
.main-content {
|
|
column-count: 12;
|
|
}
|
|
|
|
.btn-tabs {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(75px, max-content));
|
|
} |