From 19e440af50832426b81dde57fec601375eb889e9 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Sat, 28 Dec 2019 11:22:39 -0600 Subject: [PATCH] Move news to the top. Fix the building bar overflowing, again --- gorge.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gorge.css b/gorge.css index 596a14a..5101ed2 100644 --- a/gorge.css +++ b/gorge.css @@ -102,7 +102,7 @@ button { #buildings-list { overflow-x: hidden; overflow-y: scroll; - max-height: 70vh; + max-height: 50vh; max-width: 400px; } @@ -541,7 +541,7 @@ div::-webkit-scrollbar-corner { .news-text { text-align: center; position: fixed; - top: 98vh; + top: 15vh; left: 50vw; transform-origin: 0% 0%; animation: news-text-frames 7s cubic-bezier(0.68, -0.55, 0.265, 1.55); @@ -551,19 +551,19 @@ div::-webkit-scrollbar-corner { @keyframes news-text-frames { 0% { - transform: translate(-50%, 0px); + transform: translate(-50%, -50px); opacity: 0; } 20% { - transform: translate(-50%, -100px); + transform: translate(-50%, 0px); opacity: 1; } 80% { - transform: translate(-50%, -100px); + transform: translate(-50%, -0px); opacity: 1; } 100% { - transform: translate(-50%, 0px); + transform: translate(-50%, 50px); opacity: 0; } }