diff options
Diffstat (limited to 'app/static/styles/yes.css')
-rw-r--r-- | app/static/styles/yes.css | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app/static/styles/yes.css b/app/static/styles/yes.css new file mode 100644 index 0000000..96443e1 --- /dev/null +++ b/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%; +} |