diff options
Diffstat (limited to 'server/src/frontend/style')
-rw-r--r-- | server/src/frontend/style/layout.css | 42 | ||||
-rw-r--r-- | server/src/frontend/style/mod.rs | 2 |
2 files changed, 44 insertions, 0 deletions
diff --git a/server/src/frontend/style/layout.css b/server/src/frontend/style/layout.css new file mode 100644 index 0000000..4418903 --- /dev/null +++ b/server/src/frontend/style/layout.css @@ -0,0 +1,42 @@ +@import url("https://s.metamuffin.org/static/font-ubuntu/include.css"); + +* { + color: white; + font-family: "Ubuntu", sans-serif; + font-weight: 300; + margin: 0px; + padding: 0px; +} + +body { + background-color: #1a1a1a; + width: 100vw; +} + +nav { + position: absolute; + top: 0px; + left: 0px; + padding: 1em; + width: calc(100vw - 2em); + height: 2em; + background-color: #41414144; +} + +nav h1 { + margin: 0px; + font-size: 1.5em; +} + +#main { + margin-top: 5em; + padding: 1em; + padding-left: 3em; + padding-right: 3em; +} + +.error { + padding: 1em; + color: rgb(255, 117, 117); + font-family: monospace; +} diff --git a/server/src/frontend/style/mod.rs b/server/src/frontend/style/mod.rs new file mode 100644 index 0000000..9d0729e --- /dev/null +++ b/server/src/frontend/style/mod.rs @@ -0,0 +1,2 @@ + +pub const CSS_BUNDLE: &'static str = include_str!("layout.css"); |