systems-obscure/src/index.css
2026-03-01 15:24:59 +00:00

100 lines
1.8 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
@import "./styles/_variables.css";
@import "tailwindcss";
@import "tw-animate-css";
* {
outline-color: color-mix(in srgb, var(--ring) 50%, transparent);
}
html {
font-family: var(--font-sansserif);
}
body {
background-color: var(--background);
color: var(--foreground);
}
.condensed {
font-family: "IBM Plex Sans";
}
figcaption {
font-weight: 500;
font-family: "IBM Plex Sans";
}
h1 {
color: var(--color-orange-light);
font-family: "IBM Plex Sans";
}
h2 {
font-family: "IBM Plex Sans";
color: var(--color-green-light);
}
.h2-home {
font-family: "IBM Plex Sans";
font-weight: 600;
}
h3 {
font-family: "IBM Plex Sans";
font-weight: 600 !important;
}
.monospaced-font {
font-family: "iA Writer Mono";
}
.scanlined {
position: relative;
/* Add this */
}
.scanlined::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: linear-gradient(rgba(0, 0, 0, 0.4) 1px, transparent 1px);
background-size: 2px 2px;
background-repeat: repeat;
pointer-events: none;
z-index: 9999;
/* Might want to lower this too */
}
code {
font-family: var(--font-monospaced);
}
p,
li {
font-size: 1.125rem !important;
line-height: 1.8 !important;
}
p code {
color: var(--foreground);
background: #504945;
font-size: 14px;
padding: 0.2rem 0.3rem;
border-radius: var(--radius);
font-weight: 500;
}
.shiki {
padding: 1rem 1.2rem;
border-radius: 0;
overflow-x: auto;
margin: 1.5rem 0;
line-height: 1.3;
/* counter-reset: line; */
font-family: var(--font-monospaced) !important;
font-size: 14px !important;
}