summaryrefslogtreecommitdiff
path: root/pages/html/style.gohtml
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-04-09 21:29:25 +0200
committerewy <ewy0@protonmail.com>2026-04-09 21:29:25 +0200
commitc2ab8ee9409ac26a95e9a4c80c8ada51a22313f1 (patch)
tree94a070e764abad211335a0f99a78ac181233976a /pages/html/style.gohtml
parent6e896ae0e108eef385b46c26e770dc191ae936ba (diff)
Diffstat (limited to 'pages/html/style.gohtml')
-rw-r--r--pages/html/style.gohtml84
1 files changed, 84 insertions, 0 deletions
diff --git a/pages/html/style.gohtml b/pages/html/style.gohtml
new file mode 100644
index 0000000..bb15fb9
--- /dev/null
+++ b/pages/html/style.gohtml
@@ -0,0 +1,84 @@
+{{ define "style"}}
+<style>
+ @media (prefers-color-scheme: dark) {
+ html {
+ background-color: #3e3b37;
+ color: rgb(222, 213, 200);
+ }
+ }
+
+ body {
+ max-width: 44em;
+ margin: auto;
+ display: flex;
+ flex-direction: column;
+ gap: 32px;
+
+ & p {
+ padding: 4px 0;
+ }
+ }
+ main {
+ min-height: 105vh;
+ display: flex;
+ gap: 16px;
+ flex-direction: column;
+ align-items: center;
+ }
+
+ label {
+ display: flex;
+ justify-content: end;
+ width: 100%;
+ gap: 8px;
+ }
+
+ form {
+ font-family: system-ui;
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+
+ width: 100%;
+
+ & input {
+ background-color: #fefcf8;
+ color: rgb(30, 27, 25);
+ border-color: #bad1f9;
+ border-style: double;
+ }
+
+ & input[type="number"] {
+ width: 48px;
+ }
+
+ & input[type="text"] {
+ width: 20em;
+ }
+
+ & input[type="submit"] {
+ background-color: #bef8d7;
+ border-color: #395143;
+ }
+ }
+
+ header {
+ display: flex;
+ align-items: baseline;
+ gap: 16px;
+ justify-content: space-between;
+
+ & a {
+ text-decoration: none;
+ }
+
+ & h1 {
+ font-family: monospace
+ }
+ }
+
+ a {
+ color: #f2cae2;
+ }
+</style>
+{{end}} \ No newline at end of file