diff options
author | blendoit <blendoit@gmail.com> | 2020-01-22 18:15:52 -0800 |
---|---|---|
committer | blendoit <blendoit@gmail.com> | 2020-01-22 18:15:52 -0800 |
commit | 2f1d0719faa0d955a82e87c0ea022f458e1c699f (patch) | |
tree | a6f5d5403d4884c9ef3e6c7c3b6060151fcc373b /website/app/static/styles/yes.css |
First commit.
Diffstat (limited to 'website/app/static/styles/yes.css')
-rw-r--r-- | website/app/static/styles/yes.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/website/app/static/styles/yes.css b/website/app/static/styles/yes.css new file mode 100644 index 0000000..96443e1 --- /dev/null +++ b/website/app/static/styles/yes.css @@ -0,0 +1,54 @@ +.main { + height: 100%; + right: 6%; + left: 0; + position: absolute; + z-index: 1; + background: linear-gradient(to top, var(--secondary-color), var(--primary-color)) fixed; +} + +.tab-home { + height: 100%; + width: 3%; + float: right; + position: relative; + z-index: 0; + background: var(--home); +} + +.tab-no { + height: 100%; + width: 3%; + float: right; + position: relative; + z-index: -1; + background: var(--no); +} + +.tab-home:hover ~ .main { + right: 9%; + transition: 0.2s; +} + +.tab-home:hover { + width: 6%; + transition: 0.2s; +} + +.tab-no:hover ~ .main { + right: 9%; + transition: 0.2s; +} + +.tab-no:hover { + width: 6%; + transition: 0.2s; +} + +.post { + background: white; + border-radius: 14px; + padding: 1rem; + margin: 1rem; + width: 20%; +} |