summaryrefslogtreecommitdiff
path: root/src/main.css
diff options
context:
space:
mode:
authorcurly <curly@infernal.garden>2024-07-15 13:42:35 -0600
committercurly <curly@infernal.garden>2024-07-15 13:42:35 -0600
commite6150a01fef7cb8614f1337abbc9630be373aac5 (patch)
treeaf6062e8a885623285915baf0db729dab7e7b5b3 /src/main.css
downloadpoko_web-e6150a01fef7cb8614f1337abbc9630be373aac5.tar.gz
poko_web-e6150a01fef7cb8614f1337abbc9630be373aac5.tar.bz2
poko_web-e6150a01fef7cb8614f1337abbc9630be373aac5.zip
login/out
Diffstat (limited to 'src/main.css')
-rw-r--r--src/main.css63
1 files changed, 63 insertions, 0 deletions
diff --git a/src/main.css b/src/main.css
new file mode 100644
index 0000000..2c53965
--- /dev/null
+++ b/src/main.css
@@ -0,0 +1,63 @@
+html, body {
+ margin: 0;
+ padding: 0;
+ border: 0;
+ background-color: grey;
+}
+footer {
+ border-top: 2px solid black;
+ font-weight: bold;
+}
+footer > center > p {
+ margin: 0;
+}
+body {
+ display: flex;
+ flex-direction: column;
+ height: 100vh;
+ width: 100vw;
+}
+#content {
+ flex-grow: 1;
+ max-width: 70vw;
+ margin: auto;
+ display: flex;
+ flex-direction: column;
+}
+form {
+ display: flex;
+ flex-direction: column;
+ max-width: 40vw;
+ align-self: center;
+}
+form > label {
+ margin-top: 6px;
+}
+
+input:invalid {
+ border: 2px dotted red;
+}
+
+bold {
+ font-weight: bold;
+ color: red;
+ background-color: black;
+}
+
+:root {
+ --primary: #efefef;
+ --text-primary: #222;
+}
+
+@media (prefers-color-scheme: dark) {
+ :root {
+ --primary: #222;
+ --text-primary: #eee;
+ }
+}
+
+@media screen and (max-width: 500px) {
+ #content {
+ max-width: unset;
+ }
+} \ No newline at end of file