commit a24fae1f452e163a5b8d021f3d2d4adb803fd16c
parent 7e42567657899e6adc881a8ec1aeda5903201364
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 12 Apr 2026 03:17:04 +0000
feat: borders
Diffstat:
1 file changed, 28 insertions(+), 0 deletions(-)
diff --git a/static/css/style.css b/static/css/style.css
@@ -1,10 +1,13 @@
:root {
+ /* Rendering */
font-family: Departure Mono, monospace;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color-scheme:light dark;
+
+ /* Colors */
--amber: #ffa133;
--pumpkin: #e47b1a;
--flux: #c8be50;
@@ -20,6 +23,9 @@
--soot: #333333;
--carbon: #222222;
--black: #141414;
+
+ /* Theme */
+ --border: var(--smoke);
--accent: var(--amber);
--fg: var(--dark);
--bg: var(--enamel);
@@ -33,3 +39,25 @@
url("/fonts/DepartureMono-1.500/DepartureMono-Regular.woff") format("woff"),
url("/fonts/DepartureMono-1.500/DepartureMono-Regular.otf") format("opentype");
}
+
+body {
+ min-height: 100vh;
+ display: grid;
+ justify-items: center;
+ margin: 0;
+}
+
+main {
+ width: 720px;
+ padding: 2rem;
+ border-left: 2px dashed var(--border);
+ border-right: 2px dashed var(--border);
+}
+
+@media screen and (max-width: 720px) {
+ main {
+ width: auto;
+ border-left: none;
+ border-right: none;
+ }
+}