@tailwind base; @tailwind components; @tailwind utilities; @tailwind variants; * { font-family: 'Poppins', sans-serif; } @layer base { :focus-visible { @apply outline-none ring ring-blue-500; } /* Has to be split because css parser moment */ ::-moz-selection { @apply bg-blue-500/20; } ::selection { @apply bg-blue-500/20; } html, body { @apply text-[14px] md:text-[16px]; } } /* Codeblocks */ .astro-code { padding: 10px; border-radius: 16px; border: 1px solid rgba(65, 74, 88, 1); width: 100%; } .astro-code code { white-space: pre-wrap; padding: 10px; padding-bottom: 0; color: #546E7A; } .astro-code code::before { counter-reset: listing; } .astro-code code span { font-family: 'Roboto Mono', monospace !important; } .astro-code code span.line { counter-increment: listing; text-align: left; /* float: left; clear: left; */ font-size: 13px; text-wrap: nowrap; } .astro-code code span.line::before { content: counter(listing) " "; display: inline-block; float: left; width: 2em; padding: 0; margin-left: auto; /* margin-right: 10px; */ text-align: right; font-family: 'Roboto Mono', monospace !important; font-size: 13px; }