troylusty.com/src/styles/global.css

53 lines
1.1 KiB
CSS
Raw Normal View History

2024-12-23 21:18:55 +00:00
@import "@fontsource-variable/red-hat-mono";
@import "@fontsource-variable/outfit";
2025-01-06 15:37:15 +00:00
@import "@fontsource/borel";
2024-12-23 21:18:55 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--primary: 0deg 0% 99%;
--secondary: 0deg 0% 13%;
2025-01-19 23:00:54 +00:00
--tertiary: 0deg 0% 45%;
--accent: 0deg 0% 39%;
2024-12-23 21:18:55 +00:00
}
@media (prefers-color-scheme: dark) {
:root {
--primary: 0deg 0% 0%;
--secondary: 0deg 0% 93%;
2025-01-19 23:00:54 +00:00
--tertiary: 0deg 0% 50%;
--accent: 0deg 0% 71%;
2024-12-23 21:18:55 +00:00
}
}
}
2025-01-18 21:50:40 +00:00
@media (prefers-color-scheme: dark) {
.astro-code,
.astro-code span {
color: var(--shiki-dark) !important;
background-color: var(--shiki-dark-bg) !important;
/* Optional, if you also want font styles */
font-style: var(--shiki-dark-font-style) !important;
font-weight: var(--shiki-dark-font-weight) !important;
text-decoration: var(--shiki-dark-text-decoration) !important;
}
}
2025-01-17 22:16:14 +00:00
@media print {
body {
background: none;
color: black;
}
header,
footer,
main {
max-width: unset !important;
}
header,
footer {
display: none;
2025-01-17 22:16:14 +00:00
}
}