From 0c30e065b678d41d8932b3bf0926608cfa15a7ac Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 10 Jan 2023 08:44:06 +0100 Subject: first listing --- src/frontend/style/layout.css | 35 +++++++++++++++++++++++++++++++++++ src/frontend/style/master.css | 0 src/frontend/style/mod.rs | 2 +- 3 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 src/frontend/style/layout.css delete mode 100644 src/frontend/style/master.css (limited to 'src/frontend/style') 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 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"); -- cgit v1.2.3-70-g09d2