瀏覽代碼

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

tags/v0.1.0
Fen Dweller 5 年之前
父節點
當前提交
19e440af50
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: E80B35A6F11C3656
共有 1 個檔案被更改,包括 6 行新增6 行删除
  1. +6
    -6
      gorge.css

+ 6
- 6
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;
}
}


Loading…
取消
儲存