From 4ceef6633c750157645d03225b07b739ca893c49 Mon Sep 17 00:00:00 2001 From: Kyle Gunger Date: Fri, 8 Nov 2024 16:12:32 -0500 Subject: Basic site framework --- styles/main.css | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ styles/widgets.css | 8 ++++++++ 2 files changed, 62 insertions(+) create mode 100644 styles/main.css create mode 100644 styles/widgets.css (limited to 'styles') diff --git a/styles/main.css b/styles/main.css new file mode 100644 index 0000000..bddd9c2 --- /dev/null +++ b/styles/main.css @@ -0,0 +1,54 @@ +html, body { + font-family: sans-serif; + box-sizing: border-box; +} + +body { + min-height: 100vh; + margin:0; +} + +user { + border-radius: 100%; + border: 3px solid gray; + overflow: hidden; + display: block; + width: 70px; + height: 70px; + position: fixed; + right: 30px; + top: 10px; + z-index: 1; +} + +user img { + width: 100%; + height: 100%; +} + +nav { + display: flex; + align-items: center; + position: fixed; + top:20px; + left: 10px; + padding-right:115px; + width:calc(100% - 20px); + height:50px; + background-color: gray; + z-index: 0; + border-radius: 10px; + box-sizing: border-box; +} + +nav .nav-el { + margin:10px; + font-weight: bold; + text-decoration: none; + color: #ddd; + transition-duration: 0.2s; +} + +nav .nav-el:hover { + color: white; +} \ No newline at end of file diff --git a/styles/widgets.css b/styles/widgets.css new file mode 100644 index 0000000..a8310e3 --- /dev/null +++ b/styles/widgets.css @@ -0,0 +1,8 @@ +.widget { + background-color: #ddd; + border-radius: 10px; +} + +.toggle { + background-color: gray; +} \ No newline at end of file -- cgit v1.2.3