@import 'tailwindcss/base'; @import 'tailwindcss/components'; @import './prism.css'; @import 'tailwindcss/utilities'; @layer base { html, body { /* This prevents the overscroll behavior when scrolling past the end of the page in browsers like Chrome */ /* https://developer.mozilla.org/en-US/docs/Web/CSS/overscroll-behavior */ overscroll-behavior: none; } body { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96"%3E%3Cdefs%3E%3Cpattern id="diagonal-line" patternUnits="userSpaceOnUse" width="96" height="96"%3E%3Cline x1="0" y1="96" x2="96" y2="0" stroke="black" stroke-width="1" /%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%" height="100%" fill="url(%23diagonal-line)" /%3E%3C/svg%3E'); background-repeat: repeat; font-size: 18px; } @media (prefers-color-scheme: dark) { body { background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="96" height="96" viewBox="0 0 96 96"%3E%3Cdefs%3E%3Cpattern id="diagonal-line" patternUnits="userSpaceOnUse" width="96" height="96"%3E%3Cline x1="0" y1="96" x2="96" y2="0" stroke="%232A2A2B" stroke-width="1" /%3E%3C/pattern%3E%3C/defs%3E%3Crect width="100%" height="100%" fill="url(%23diagonal-line)" /%3E%3C/svg%3E'); } } h1, h2, h3, h4, h5, h6 { font-family: var(--font-lora); } }