flotilla/src/app.css

114 lines
1.8 KiB
CSS
Raw Normal View History

2024-08-05 21:45:16 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-08-06 20:04:13 +00:00
@font-face {
font-family: "Satoshis";
font-style: normal;
font-weight: 400;
src:
local(""),
url("/fonts/Satoshi Symbol.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
font-style: normal;
font-weight: 400;
src:
local(""),
url("/fonts/Lato-Regular.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
font-style: bold;
font-weight: 600;
src:
local(""),
url("/fonts/Lato-Bold.ttf") format("truetype");
}
@font-face {
font-family: "Lato";
font-style: italic;
font-weight: 400;
src:
local(""),
url("/fonts/Italic.ttf") format("truetype");
}
:root {
font-family: Lato;
}
2024-08-14 21:52:00 +00:00
.card2 {
2024-08-26 21:43:43 +00:00
@apply rounded-box bg-base-100 p-6 text-base-content;
2024-08-08 21:02:46 +00:00
}
2024-08-23 23:54:05 +00:00
.card2.card2-sm {
2024-08-26 21:43:43 +00:00
@apply rounded-box bg-base-100 p-4 text-base-content;
2024-08-23 23:54:05 +00:00
}
.card2.card2-alt {
@apply bg-base-300;
}
2024-08-08 21:02:46 +00:00
.column {
@apply flex flex-col;
}
2024-08-14 21:52:00 +00:00
.center {
2024-08-16 17:50:38 +00:00
@apply flex items-center justify-center;
2024-08-14 21:52:00 +00:00
}
.content {
2024-08-16 17:50:38 +00:00
@apply m-auto w-full max-w-3xl p-12;
2024-08-14 21:52:00 +00:00
}
2024-08-08 21:02:46 +00:00
.heading {
2024-08-16 17:50:38 +00:00
@apply text-center text-2xl;
2024-08-08 21:02:46 +00:00
}
.subheading {
2024-08-16 17:50:38 +00:00
@apply text-center text-xl;
2024-08-08 21:02:46 +00:00
}
2024-08-09 23:22:09 +00:00
2024-08-14 21:52:00 +00:00
.superheading {
2024-08-16 17:50:38 +00:00
@apply text-center text-4xl;
2024-08-14 21:52:00 +00:00
}
2024-08-09 23:22:09 +00:00
.link {
2024-08-16 17:50:38 +00:00
@apply cursor-pointer text-primary underline;
2024-08-09 23:22:09 +00:00
}
.input input::placeholder {
opacity: 0.5;
}
2024-08-15 21:30:55 +00:00
.shadow-top-xl {
@apply shadow-[0_20px_25px_-5px_rgb(0,0,0,0.1)_0_8px_10px_-6px_rgb(0,0,0,0.1)];
}
2024-08-19 21:22:16 +00:00
2024-08-22 23:16:35 +00:00
/* tiptap */
2024-08-29 16:23:54 +00:00
.tiptap[contenteditable="true"] {
2024-08-26 21:43:43 +00:00
@apply max-h-[350px] overflow-y-auto rounded-box bg-base-300 p-2 px-4;
2024-08-22 23:16:35 +00:00
}
.tiptap pre code {
2024-08-26 21:43:43 +00:00
@apply link-content block w-full;
2024-08-22 23:16:35 +00:00
}
.tiptap p code {
@apply link-content;
2024-08-19 21:22:16 +00:00
}
.link-content {
2024-08-29 16:23:54 +00:00
@apply inline-block max-w-full overflow-hidden text-ellipsis whitespace-nowrap rounded bg-neutral px-1 text-sm text-neutral-content no-underline;
2024-08-19 21:22:16 +00:00
}
2024-08-20 20:20:45 +00:00
.link-content.link-content-selected {
@apply bg-primary text-primary-content;
}