mirror of
https://seed.radicle.dev/rad:z371PVmDHdjJucejRoRYJcDEvD5pp.git
synced 2026-10-25 06:10:37 +08:00
158 lines
3.3 KiB
CSS
158 lines
3.3 KiB
CSS
@font-face {
|
|
font-family: "Inter";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/Inter-Regular.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/Inter-Medium.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/Inter-SemiBold.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Inter";
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/Inter-Bold.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/JetBrainsMono-Regular.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-style: normal;
|
|
font-weight: 500;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/JetBrainsMono-Medium.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-weight: 600;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/JetBrainsMono-SemiBold.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
font-weight: 700;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/JetBrainsMono-Bold.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Anonymous Pro";
|
|
font-weight: normal;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/AnonymousPro-Regular.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Anonymous Pro";
|
|
font-weight: bold;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/AnonymousPro-Bold.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Anonymous Pro";
|
|
font-style: italic;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/AnonymousPro-Italic.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Anonymous Pro";
|
|
font-style: italic;
|
|
font-weight: bold;
|
|
font-display: swap;
|
|
src: url("/assets/fonts/AnonymousPro-BoldItalic.ttf");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "Box Drawing";
|
|
src: url("/assets/fonts/JetBrainsMono-Regular.woff2");
|
|
unicode-range: U+2500-257F;
|
|
}
|
|
|
|
:root {
|
|
--font-family-default: "Inter", sans-serif;
|
|
--font-family-code: "JetBrains Mono", monospace;
|
|
--font-family-code-alt: "Anonymous Pro", monospace;
|
|
--font-weight-regular: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
--font-size-tiny: 0.75rem; /* 12px */
|
|
--font-size-small: 0.875rem; /* 14px */
|
|
--font-size-regular: 1rem; /* 16px */
|
|
--font-size-medium: 1.125rem; /* 18px */
|
|
--font-size-large: 1.5rem; /* 24px */
|
|
--font-size-x-large: 2rem; /* 32px */
|
|
--font-size-xx-large: 3rem; /* 48px */
|
|
}
|
|
|
|
html {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-font-smoothing: antialiased;
|
|
-webkit-text-size-adjust: 100%;
|
|
font-family: var(--font-family-default);
|
|
font-feature-settings: "zero";
|
|
font-size: 16px;
|
|
font-weight: var(--font-weight-regular);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
html {
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
h1, h2, h3, h4, h5 {
|
|
font-family: var(--font-family-default);
|
|
}
|
|
|
|
h1 {
|
|
font-size: var(--font-size-xx-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
h2 {
|
|
font-size: var(--font-size-x-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
h3 {
|
|
font-size: var(--font-size-large);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
h4 {
|
|
font-size: var(--font-size-medium);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|
|
|
|
h5 {
|
|
font-size: var(--font-size-small);
|
|
font-weight: var(--font-weight-semibold);
|
|
}
|