systems-obscure/src/index.css

90 lines
1.7 KiB
CSS
Raw Normal View History

2025-11-17 20:13:17 +00:00
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans+Condensed:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=IBM+Plex+Sans:ital,wght@0,100..700;1,100..700&display=swap");
2025-07-07 17:08:27 +01:00
@import "./styles/_variables.css";
@import "tailwindcss";
@import "tw-animate-css";
2025-11-04 19:06:51 +00:00
* {
outline-color: color-mix(in srgb, var(--ring) 50%, transparent);
2025-11-04 19:06:51 +00:00
}
html {
font-family: var(--font-sansserif);
2025-11-04 19:06:51 +00:00
}
body {
background-color: var(--background);
color: var(--foreground);
2025-11-04 19:06:51 +00:00
}
2025-11-17 20:13:17 +00:00
.condensed {
font-family: "IBM Plex Sans Condensed";
2025-11-17 20:13:17 +00:00
}
figcaption {
font-weight: 500;
font-family: "IBM Plex Sans Condensed";
2025-11-17 20:13:17 +00:00
}
2025-11-04 19:06:51 +00:00
h1 {
color: var(--color-orange-light);
2025-11-17 20:13:17 +00:00
font-family: "IBM Plex Sans Condensed";
2025-11-04 19:06:51 +00:00
}
h2 {
font-family: "IBM Plex Sans Condensed";
color: var(--color-green-light);
2025-11-04 19:06:51 +00:00
}
2025-11-17 20:13:17 +00:00
h3 {
font-family: "IBM Plex Sans Condensed";
2025-11-17 20:13:17 +00:00
}
2025-11-04 19:06:51 +00:00
.monospaced-font {
font-family: "iA Writer Mono";
2025-11-04 19:06:51 +00:00
}
2025-11-04 19:06:51 +00:00
.scanlined {
position: relative;
/* Add this */
2025-11-04 19:06:51 +00:00
}
.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 */
2025-11-04 19:06:51 +00:00
}
code {
font-family: var(--font-monospaced);
2025-11-04 19:06:51 +00:00
}
p code {
color: var(--foreground);
background: #504945;
font-size: 14px;
padding: 0.2rem 0.3rem;
border-radius: var(--radius);
font-weight: 500;
2025-11-04 19:06:51 +00:00
}
.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;
2025-11-04 19:06:51 +00:00
}