Spaces:
Sleeping
Sleeping
File size: 897 Bytes
624088c a40bf40 8556c64 f6f68f6 5dd2af5 c32ec0d 8556c64 c32ec0d |
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 |
@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));
}
/* this is the trick to bypass the style={{}} attribute when printing */
@media print {
.comic-page, .comic-page[style] { width: 100vw !important; }
/*if you have 2 panels, you will need replace this with landscape */
@page { size: portrait }
}
.render-to-image .comic-panel {
height: auto !important;
/* max-width: fit-content !important; */
}
|