summaryrefslogtreecommitdiff
path: root/styles
diff options
context:
space:
mode:
Diffstat (limited to 'styles')
-rw-r--r--styles/base.css52
-rw-r--r--styles/login.css44
-rw-r--r--styles/signup.css44
3 files changed, 139 insertions, 1 deletions
diff --git a/styles/base.css b/styles/base.css
index 338b19f..f5a3085 100644
--- a/styles/base.css
+++ b/styles/base.css
@@ -23,17 +23,40 @@ nav {
display: flex;
background-color: #9f3050;
+ padding: 0 15px 0 15px;
+
height: 64px;
}
+nav a {
+ display: block;
+ height: 100%;
+}
+
+#main-nav {
+ flex:1;
+}
+
+#user-nav {
+ margin: 5px 0;
+ display: flex;
+ align-items: center;
+}
+
#logo {
height: 100%;
}
+#user-profile {
+ height: 100%;
+ border-radius: 50%;
+ border: 4px solid #ffecdc;
+}
content {
display:flex;
+ flex-direction: column;
width: 100vw;
min-height: calc(100vh - 128px);
padding: 10px 10px 10px 10px;
@@ -54,4 +77,31 @@ footer {
background-color: #777;
color: #eee;
-} \ No newline at end of file
+}
+
+a {
+ color: #9f3050;
+ text-decoration: none;
+ font-weight: bold;
+ transition-duration: 0.2s;
+}
+
+a:hover {
+ color: #c24166;
+}
+
+a:active {
+ color: #85233f;
+}
+
+a.secondary {
+ color: #ffecdc;
+}
+
+a.secondary:hover {
+ color: white;
+}
+
+a.secondary:active {
+ color: #e4c1a5
+}
diff --git a/styles/login.css b/styles/login.css
new file mode 100644
index 0000000..43ca200
--- /dev/null
+++ b/styles/login.css
@@ -0,0 +1,44 @@
+content {
+ justify-content: center;
+ align-items: center;
+}
+
+.login {
+ display: flex;
+ flex-direction: column;
+ width: 500px;
+ border-radius: 5px;
+ background: white;
+ box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
+ padding: 15px;
+}
+
+.login > div {
+ display: flex;
+ margin-bottom: 5px;
+}
+
+.login > div > * {
+ flex: 1;
+}
+
+#login {
+ width: 50%;
+ border: none;
+ border-radius: 5px;
+ font-size: x-large;
+ color: white;
+ background-color: #9f3050;
+ margin-left: 25%;
+ margin-top: 15px;
+ cursor: pointer;
+ transition-duration: 0.2s;
+}
+
+#login:hover {
+ background-color: #c24166;
+}
+
+#login:active {
+ background-color: #85233f;
+} \ No newline at end of file
diff --git a/styles/signup.css b/styles/signup.css
new file mode 100644
index 0000000..bb1ba0d
--- /dev/null
+++ b/styles/signup.css
@@ -0,0 +1,44 @@
+content {
+ justify-content: center;
+ align-items: center;
+}
+
+.signup {
+ display: flex;
+ flex-direction: column;
+ width: 500px;
+ border-radius: 5px;
+ background: white;
+ box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.3);
+ padding: 15px;
+}
+
+.signup > div {
+ display: flex;
+ margin-bottom: 5px;
+}
+
+.signup > div > * {
+ flex: 1;
+}
+
+#signup {
+ width: 50%;
+ border: none;
+ border-radius: 5px;
+ font-size: x-large;
+ color: white;
+ background-color: #9f3050;
+ margin-left: 25%;
+ margin-top: 15px;
+ cursor: pointer;
+ transition-duration: 0.2s;
+}
+
+#signup:hover {
+ background-color: #c24166;
+}
+
+#signup:active {
+ background-color: #85233f;
+} \ No newline at end of file