Browse Source

Move news to the top. Fix the building bar overflowing, again

tags/v0.1.0
Fen Dweller 5 years ago
parent
commit
19e440af50
No known key found for this signature in database GPG Key ID: E80B35A6F11C3656
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      gorge.css

+ 6
- 6
gorge.css View File

@@ -102,7 +102,7 @@ button {
#buildings-list { #buildings-list {
overflow-x: hidden; overflow-x: hidden;
overflow-y: scroll; overflow-y: scroll;
max-height: 70vh;
max-height: 50vh;
max-width: 400px; max-width: 400px;
} }


@@ -541,7 +541,7 @@ div::-webkit-scrollbar-corner {
.news-text { .news-text {
text-align: center; text-align: center;
position: fixed; position: fixed;
top: 98vh;
top: 15vh;
left: 50vw; left: 50vw;
transform-origin: 0% 0%; transform-origin: 0% 0%;
animation: news-text-frames 7s cubic-bezier(0.68, -0.55, 0.265, 1.55); 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 { @keyframes news-text-frames {
0% { 0% {
transform: translate(-50%, 0px);
transform: translate(-50%, -50px);
opacity: 0; opacity: 0;
} }
20% { 20% {
transform: translate(-50%, -100px);
transform: translate(-50%, 0px);
opacity: 1; opacity: 1;
} }
80% { 80% {
transform: translate(-50%, -100px);
transform: translate(-50%, -0px);
opacity: 1; opacity: 1;
} }
100% { 100% {
transform: translate(-50%, 0px);
transform: translate(-50%, 50px);
opacity: 0; opacity: 0;
} }
} }


Loading…
Cancel
Save