This commit is contained in:
Zimeng Xiong
2025-11-21 19:18:07 -08:00
parent 35734936b3
commit 4e8beae0ee
66 changed files with 21548 additions and 315 deletions
+22 -58
View File
@@ -1,68 +1,32 @@
:root {
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
@tailwind base;
@tailwind components;
@tailwind utilities;
color-scheme: light dark;
color: rgba(255, 255, 255, 0.87);
background-color: #242424;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
html.dark body {
/* Debug: If this turns red/dark, the class is present */
background-color: #0a0a0a !important;
}
a {
font-weight: 500;
color: #646cff;
text-decoration: inherit;
}
a:hover {
color: #535bf2;
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
body {
margin: 0;
display: flex;
place-items: center;
min-width: 320px;
min-height: 100vh;
@apply bg-slate-50 text-slate-900 dark:bg-neutral-950 dark:text-neutral-50;
background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
background-size: 24px 24px;
}
h1 {
font-size: 3.2em;
line-height: 1.1;
html.dark body {
background-image: radial-gradient(#262626 1px, transparent 1px);
}
button {
border-radius: 8px;
border: 1px solid transparent;
padding: 0.6em 1.2em;
font-size: 1em;
font-weight: 500;
font-family: inherit;
background-color: #1a1a1a;
cursor: pointer;
transition: border-color 0.25s;
}
button:hover {
border-color: #646cff;
}
button:focus,
button:focus-visible {
outline: 4px auto -webkit-focus-ring-color;
}
@media (prefers-color-scheme: light) {
:root {
color: #213547;
background-color: #ffffff;
}
a:hover {
color: #747bff;
}
button {
background-color: #f9f9f9;
}
}
@font-face {
font-family: 'Excalifont';
src: url('./assets/fonts/Excalifont-Regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}