diff options
Diffstat (limited to 'app/static/styles/home.css')
-rw-r--r-- | app/static/styles/home.css | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/app/static/styles/home.css b/app/static/styles/home.css index 262b40c..e2617bd 100644 --- a/app/static/styles/home.css +++ b/app/static/styles/home.css @@ -1,22 +1,23 @@ .main { height: 100%; position: absolute; + z-index: 1; left: 3%; right: 3%; - background: linear-gradient(to top, var(--secondary-color), var(--primary-color)) fixed; } .tab-yes { height: 100%; - width: 10%; + width: 3%; float: left; position: fixed; z-index: -1; + left: 0; background: var(--yes); } .tab-no { height: 100%; - width: 10%; + width: 3%; float: right; position: fixed; z-index: -1; @@ -24,6 +25,16 @@ background: var(--no); } +.tab-yes:hover { + width: 4%; + transition: 0.2s; +} + +.tab-no:hover { + width: 4%; + transition: 0.2s; +} + .tab-yes:hover ~ .main { left: 5%; transition: 0.2s; |