Spaces:
Sleeping
Sleeping
File size: 1,576 Bytes
7b0525c 5683f0b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | @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 {
color: rgb(var(--foreground-rgb));
background: linear-gradient(to bottom,
transparent,
rgb(var(--background-end-rgb))) rgb(var(--background-start-rgb));
}
@layer utilities {
.text-balance {
text-wrap: balance;
}
}
/* Elimina el margen superior del primer elemento para que empiece arriba del todo */
.ProseMirror>*:first-child {
margin-top: 0 !important;
}
.ProseMirror p {
margin-top: 0.5rem;
margin-bottom: 0.5rem;
line-height: 1.5;
}
.ProseMirror ul {
list-style-type: disc;
padding-left: 1.5rem;
margin: 1rem 0;
}
.ProseMirror ol {
list-style-type: decimal;
padding-left: 1.5rem;
margin: 1rem 0;
}
.ProseMirror li {
margin-bottom: 0.25rem;
}
/* Custom Text Selection */
::selection {
background-color: rgba(168, 85, 247, 0.25);
/* Purple-500 with low opacity */
color: inherit;
/* Keep original text color */
}
/* Specific override for ProseMirror to ensure it takes precedence */
.ProseMirror ::selection {
background-color: rgba(168, 85, 247, 0.25);
color: inherit;
}
/* Force no underline for links when configured */
.no-underline-link {
text-decoration: none !important;
} |