summaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
authorKyle Gunger <kgunger12@gmail.com>2024-11-08 16:12:32 -0500
committerKyle Gunger <kgunger12@gmail.com>2024-11-08 16:12:32 -0500
commit4ceef6633c750157645d03225b07b739ca893c49 (patch)
tree1be04b40f3dbbca4eb8319f2e65d16b18e15f157 /styles
parent76ee3a9bb9c865a6f5c37de8613a62b48e1a1c93 (diff)
Basic site framework
Diffstat (limited to 'styles')
-rw-r--r--styles/main.css54
-rw-r--r--styles/widgets.css8
2 files changed, 62 insertions, 0 deletions
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