diff options
Diffstat (limited to 'apps/web/src/app/globals.css')
| -rw-r--r-- | apps/web/src/app/globals.css | 140 |
1 files changed, 0 insertions, 140 deletions
diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css deleted file mode 100644 index bed9278b..00000000 --- a/apps/web/src/app/globals.css +++ /dev/null @@ -1,140 +0,0 @@ -@import "@radix-ui/colors/gray"; -@import "@radix-ui/colors/gray-dark"; - -@tailwind base; -@tailwind components; -@tailwind utilities; - -:root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - } -} - -body { - @apply text-rgray-11 max-h-screen overflow-y-hidden bg-white; - /* color: rgb(var(--foreground-rgb)); - background: linear-gradient( - to bottom, - transparent, - rgb(var(--background-end-rgb)) - ) - rgb(var(--background-start-rgb)); */ -} - -[vaul-drawer-wrapper] { - @apply bg-rgray-2; -} - -@layer utilities { - .text-balance { - text-wrap: balance; - } -} - -.sidebar { - height: 100vh; - height: 100dvh; - max-height: 100vh; - max-height: 100dvh; -} - -.DrawerContent { - padding-top: 5vh; - padding-top: 5dvh; -} - -.main-hidden { - padding-bottom: 20vh; - padding-bottom: 15dvh; -} - -.bottom-padding { - bottom: 20vh; - bottom: 20dvh; -} - -@media (min-width: 768px) { - .bottom-padding { - bottom: 0; - } -} - -.chat-answer code { - @apply bg-rgray-3 border-rgray-5 text-rgray-11 text-wrap rounded-md border p-1 text-sm; -} - -.novel-editor pre { - @apply bg-rgray-3 border-rgray-5 text-rgray-11 my-5 rounded-md border p-4 text-sm; -} - -.chat-answer h1 { - @apply text-rgray-11 my-5 text-xl font-medium; -} - -.chat-answer a { - @apply underline underline-offset-1 opacity-90 hover:opacity-100; -} - -.chat-answer img { - @apply my-5 rounded-md font-medium; -} - -.tippy-box { - @apply bg-rgray-3 text-rgray-11 border-rgray-5 rounded-md border py-0; -} - -.tippy-content #slash-command { - @apply text-rgray-11 border-none bg-transparent; -} - -#slash-command button { - @apply text-rgray-11 py-2; -} - -#slash-command button div:first-child { - @apply text-rgray-11 bg-rgray-4 border-rgray-5; -} - -#slash-command button.novel-bg-stone-100 { - @apply bg-rgray-1; -} - -.novel-editor [data-type="taskList"] > li { - @apply my-0; -} - -.novel-editor input[type="checkbox"] { - @apply accent-rgray-4 rounded-md; - - background: var(--gray-4) !important; - border: 1px solid var(--gray-10) !important; -} - -.novel-editor .is-empty::before { - content: "Press '/' for commands" !important; -} - -.novel-editor h1 { - @apply text-2xl; -} - -.novel-editor h2 { - @apply text-xl; -} - -.novel-editor h3 { - @apply text-lg; -} - -.novel-editor .drag-handle { - @apply hidden; -} |