diff options
| author | metamuffin <metamuffin@disroot.org> | 2023-01-11 16:27:16 +0100 | 
|---|---|---|
| committer | metamuffin <metamuffin@disroot.org> | 2023-01-11 16:27:16 +0100 | 
| commit | 948700d35f0eddbc2e0fd29548991e687362983d (patch) | |
| tree | 29592f56a5db4998b03c4ddf6c330b25dfcad393 /server/src/frontend/style | |
| parent | 0d81cb164983fdb40a9f0daebd5951d3cdc084e6 (diff) | |
| download | jellything-948700d35f0eddbc2e0fd29548991e687362983d.tar jellything-948700d35f0eddbc2e0fd29548991e687362983d.tar.bz2 jellything-948700d35f0eddbc2e0fd29548991e687362983d.tar.zst | |
move files
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"); | 
