diff options
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"); |