summaryrefslogtreecommitdiff
path: root/website/app/static/styles/home.css
diff options
context:
space:
mode:
authorblendoit <blendoit@gmail.com>2020-01-22 18:15:52 -0800
committerblendoit <blendoit@gmail.com>2020-01-22 18:15:52 -0800
commit2f1d0719faa0d955a82e87c0ea022f458e1c699f (patch)
treea6f5d5403d4884c9ef3e6c7c3b6060151fcc373b /website/app/static/styles/home.css
First commit.
Diffstat (limited to 'website/app/static/styles/home.css')
-rw-r--r--website/app/static/styles/home.css50
1 files changed, 50 insertions, 0 deletions
diff --git a/website/app/static/styles/home.css b/website/app/static/styles/home.css
new file mode 100644
index 0000000..262b40c
--- /dev/null
+++ b/website/app/static/styles/home.css
@@ -0,0 +1,50 @@
+.main {
+ height: 100%;
+ position: absolute;
+ left: 3%;
+ right: 3%;
+ background: linear-gradient(to top, var(--secondary-color), var(--primary-color)) fixed;
+}
+
+.tab-yes {
+ height: 100%;
+ width: 10%;
+ float: left;
+ position: fixed;
+ z-index: -1;
+ background: var(--yes);
+}
+.tab-no {
+ height: 100%;
+ width: 10%;
+ float: right;
+ position: fixed;
+ z-index: -1;
+ right: 0;
+ background: var(--no);
+}
+
+.tab-yes:hover ~ .main {
+ left: 5%;
+ transition: 0.2s;
+}
+
+.tab-no:hover ~ .main {
+ right: 5%;
+ transition: 0.2s;
+}
+
+.post {
+ background: white;
+ border-radius: 14px;
+ padding: 1rem;
+ margin: 1rem;
+ width: 20%;
+}
+
+.post:hover {
+ background: linear-gradient(to left, var(--no) 50%, var(--yes) 50%);
+ cursor: pointer;
+ transition: 0.8s;
+ color: white;
+}
Copyright 2019--2024 Marius PETER