summaryrefslogtreecommitdiffstats
path: root/assets/index.css
diff options
context:
space:
mode:
authorToby Vincent <tobyv@tobyvin.dev>2024-09-26 17:31:16 -0500
committerToby Vincent <tobyv@tobyvin.dev>2024-09-26 17:31:16 -0500
commitfd992d7e3c03f37fbcafe9d3f26c72a2ead3b2a7 (patch)
treef3e29427d1bbe4a8d6e050abbd9f66afb5fa2152 /assets/index.css
parentcbfca14b38806798847e3f2008038b25194a9b8b (diff)
feat!: impl full api
Diffstat (limited to 'assets/index.css')
-rw-r--r--assets/index.css61
1 files changed, 61 insertions, 0 deletions
diff --git a/assets/index.css b/assets/index.css
new file mode 100644
index 0000000..9c170e4
--- /dev/null
+++ b/assets/index.css
@@ -0,0 +1,61 @@
+html {
+ background: var(--bg);
+ color: var(--fg);
+ font-size: 12pt;
+ font-family: monospace;
+ display: flex;
+ flex-direction: column;
+}
+body {
+ height: calc(100vh - 1rem);
+ width: calc(100vw - 4rem);
+ max-width: 640px;
+ margin: 0 2rem 1rem;
+ line-height: 1.4;
+ align-self: center;
+}
+main {
+ display: flex;
+ flex-direction: column;
+}
+hgroup {
+ text-align: center;
+}
+table {
+ width: 100%;
+ max-width: 500px;
+ align-self: center;
+ border-collapse: collapse;
+}
+tr {
+ border: 2px solid #ddd;
+}
+td {
+ padding: 5px;
+}
+td:first-of-type + td {
+ text-align: right;
+}
+.ok {
+ color: #228b22;
+}
+.warning {
+ color: #ff8c00;
+}
+.error {
+ color: #dc143c;
+}
+
+#status {
+ color: #fff;
+ background: #228b22;
+}
+#status.ok {
+ background: #228b22;
+}
+#status.warning {
+ background: #ff8c00;
+}
+#status.error {
+ background: #dc143c;
+}