diff options
author | metamuffin <metamuffin@disroot.org> | 2023-01-10 08:44:06 +0100 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-01-10 08:44:06 +0100 |
commit | 0c30e065b678d41d8932b3bf0926608cfa15a7ac (patch) | |
tree | 0dd1c03c25ed49b97985d840790b108f2d4fe967 /src/frontend/style | |
parent | c64d3cd8cda389909b4b3dbdf00c0710e2c9a490 (diff) | |
download | jellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar jellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar.bz2 jellything-0c30e065b678d41d8932b3bf0926608cfa15a7ac.tar.zst |
first listing
Diffstat (limited to 'src/frontend/style')
-rw-r--r-- | src/frontend/style/layout.css | 35 | ||||
-rw-r--r-- | src/frontend/style/master.css | 0 | ||||
-rw-r--r-- | src/frontend/style/mod.rs | 2 |
3 files changed, 36 insertions, 1 deletions
diff --git a/src/frontend/style/layout.css b/src/frontend/style/layout.css new file mode 100644 index 0000000..d6196b0 --- /dev/null +++ b/src/frontend/style/layout.css @@ -0,0 +1,35 @@ +@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; +} + +nav { + position: absolute; + top: 0px; + left: 0px; + padding: 1em; + width: 100vw; + 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; +} diff --git a/src/frontend/style/master.css b/src/frontend/style/master.css deleted file mode 100644 index e69de29..0000000 --- a/src/frontend/style/master.css +++ /dev/null diff --git a/src/frontend/style/mod.rs b/src/frontend/style/mod.rs index 180fe0e..9d0729e 100644 --- a/src/frontend/style/mod.rs +++ b/src/frontend/style/mod.rs @@ -1,2 +1,2 @@ -pub const CSS_BUNDLE: &'static str = include_str!("master.css"); +pub const CSS_BUNDLE: &'static str = include_str!("layout.css"); |