.index-content-container { width: 100%; } [ng-cloak]{ display: none; } a{text-decoration:none} .news-list-loading, .strategy-list-loading{ padding-top: 60px; width: 100%; align-items: center; } .news-cover{ width: 100%; height: 100%; } .news-cover img{ width: 100%; height: 100%; } .banner-box{ position: relative; } .news-repeat{ display: flex; flex-direction: column; align-items: center; } .banner { width: 100%; height: 910px; object-fit: cover; } .banner-bottom{ position: absolute; bottom: -1px; } .main-bg{ width: 100%; background-image: ; background-size: 100%; } .main-container{ width: 950px; margin: 0 auto; position: relative; top: -240px; } .news-container{ width: 950px; margin: 0 auto; position: relative; } .news-content-container{ display: flex; height: 240px; position: absolute; top: -240px; } .start-game{ width: 160px; background-image: ; background-size: 160px 100%; background-repeat: no-repeat; margin-right: 10px; display: flex; flex-direction: column ; align-items: center; justify-content: space-around; padding-top: 10px; } .start-game>span{ color: #fff; font-size: 12px; } .start-game a{ width: 100px; height: 29px; color: #aa6f6c; font-size: 12px; display: flex; justify-content: center; align-items: center; text-decoration:none; } .news-center{ width: 772px; } .news-center-nav{ display: flex; cursor: pointer; } .news-center-box{ height: 205px; position: relative; overflow: hidden; } .news-center-list{ margin-top: 10px; display: flex; justify-content: left; align-items: center; /* flex-wrap: wrap; */ justify-content: space-between; position: relative; } .news-center-list .news-box{ width: 188px; height: 176px; background-color: white; text-align: left; display: flex; justify-content: flex-start; flex-direction: column; align-items: center; flex-shrink:0; margin:0 2.6px } .news-center-list:nth-child(4n){ margin-right: 0; } .news-center-list:nth-child(4n 1){ margin-left: 0px; } .news-center-page{ position: absolute; bottom: 0; right: 0; font-size: 14px; color: #9c9aaa; margin-right: 10px; display: flex; justify-content: flex-end; } .news-center-page>div{ cursor: pointer; width: 50px; margin: 0 2px; } .news-center-page>div a:link { font-size: 14px; color: #9c9aaa; text-decoration: none; } .news-center-page>div a:active { font-size: 14px; color: #9c9aaa; text-decoration: none; } .news-center-page>div a:visited { font-size: 14px; color: #9c9aaa; text-decoration: none; } .news-box .news-title{ width: 80%; height: 42px; margin-top: 17px; font-size: 16px; color: #403d56; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-wrap: break-word; overflow: hidden; } .news-box .news-content{ width: 80%; height: 38px; margin-top: 30px; font-size: 14px; color: #9c9aaa; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-wrap: break-word; overflow: hidden; } .news-box .news-date{ width: 80%; margin-top: 20px; font-size: 12px; color: #ffcea2; display: flex; justify-content: space-between; align-items: center; } .news-box .news-date img{ /* height: 10px; */ } .news-box:hover .news-date img { animation: shake 1s ease; } @keyframes shake { 0%, 20%, 40%, 60%, 80%, 100% { transform: translatex(0); } 10%, 50%, 90% { transform: translatex(6px); } 30%{ transform: translatex(-6px); } 70% { transform: translatex(-3px); } } .game-container{ width: 100%; background-image: ; background-size: 100%; } .game-content-container{ width: 952px; height: 978px; margin: 0 auto; display: flex; flex-direction: column; justify-content: space-around; } .game-content-container .title{ position: relative; left: -389px; } .game-container .game-information { display: flex; } .game-container .game-information-nav{ display: flex; justify-content: space-between; overflow: hidden; } .game-information-nav-item { width: auto; height: 592px; position: relative; float: left; } .game-container .game-information-nav .game-tag{ background-image: ; width: 154px; height: 592px; display: flex; flex-direction: column; align-items: center; margin: 0 -9px 0 -5px; position: relative; float: left; cursor: pointer; } .game-tag .game-tag-top{ position: relative; top: 48px; } .game-tag .game-tag-center{ position: relative; top: 134px; } .game-tag .game-tag-bottom{ position: relative; top: 170px; } .game-container .game-information-banner{ width: 0; height: 482px; margin-top: 17px; overflow: hidden; position: relative; float: left; transition: width .3s; } .banner-active { width: 252px !important; } .game-information-banner > span { position: absolute; top: 0; left: 0; height: 482px; width: 252px; background: no-repeat; } .game-container .game-information-banner span > img{ width: 222px; height: 411px; position: relative; top: 35px; } .game-strategy{ display: flex; width: 892px; margin: 0 auto; } .game-strategy .game-strategy-container{ width: 472px; height: 266px; } .game-strategy-container .game-strategy-nav{ display: flex; width: 100%; height: 42px; background-image: ; } .game-strategy-nav div{ width: 84px; height: 34px; margin: 8px 0 0 18px; padding-top: 3px; color:#fafafa; font-size: 14px; font-weight: bold; cursor: pointer; } .game-strategy-nav div .underline{ display: none; position: relative; top: -8px; } .game-strategy-nav div .underline.active{ display: inline; } .game-strategy-nav div.active{ width: 84px; height: 34px; margin-top: 8px; color: #ff9d92; background-color: #fafafa; } .game-strategy-container .game-strategy-list{ width: 100%; height: 228px; background-color: #fafafa; display: flex; flex-direction: column; justify-content: flex-start; } .game-strategy-list .game-strategy-box { margin: 8px; height: 20%; text-align: left; padding: 5px; } .game-strategy-top{ display: flex; justify-content: space-between; } .game-strategy-box .game-strategy-date{ font-size:12px; color: #403d56; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 2px; } .game-strategy-box .game-strategy-title{ font-size:14px; color: #403d56; width: 300px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin-bottom: 2px; } .game-strategy-box .game-strategy-content{ font-size:12px; color: #b2afc5; width: 450px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; word-wrap: break-word; overflow: hidden; } .game-strategy .game-strategy-banner{ background-color: #fff; padding: 4px; }