aboutsummaryrefslogtreecommitdiff
path: root/web/src/index.css
diff options
context:
space:
mode:
authorgammelalf <gammelalf@hopfen.space>2023-01-25 21:22:38 +0100
committerFlorian Fischer <florian.fischer@muhq.space>2023-02-24 12:47:40 +0100
commitc0c4bea988208f75fa4534b807a026de3f619eaf (patch)
tree5e46b190f877ce4af8a6134c9f33a05c120a94c3 /web/src/index.css
parent933e3b7e5a3a18a8c3f315f6c0d8c2375ceecb3c (diff)
downloadWRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.tar.gz
WRMS-c0c4bea988208f75fa4534b807a026de3f619eaf.zip
Switched from SvelteKit to Svelte
Diffstat (limited to 'web/src/index.css')
-rw-r--r--web/src/index.css52
1 files changed, 52 insertions, 0 deletions
diff --git a/web/src/index.css b/web/src/index.css
new file mode 100644
index 0000000..58fba29
--- /dev/null
+++ b/web/src/index.css
@@ -0,0 +1,52 @@
+:root {
+ --background: #222222;
+ --primary: white;
+ --secondary: gray;
+}
+
+html {
+ width: 100%;
+ overflow: hidden;
+}
+
+body {
+ position: fixed;
+ overflow-y: scroll;
+ -webkit-overflow-scrolling: touch;
+ width: 100%;
+ height: 100%;
+ margin: 0;
+ background-color: var(--background);
+ color: var(--primary);
+}
+
+a {
+ color: yellow;
+ text-decoration: none;
+}
+a:hover {
+ color: orange;
+}
+
+.flex-column {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+}
+
+.flex-row {
+ display: flex;
+ flex-direction: row;
+ align-items: center;
+}
+
+.icon-button {
+ --icon-size: 4em;
+ border: none;
+ background-color: transparent;
+}
+.icon-button > img {
+ width: var(--icon-size);
+ height: var(--icon-size);
+ filter: invert(100%);
+}