@media screen and (max-width: 750px) { html { font-size: calc(100vw / 7.5); } } @media screen and (min-width: 750px) { html { font-size: calc(450px / 7.5); } } html, body, div, ul, li, p { padding: 0; margin: 0; } ul, li { list-style: none; } .code-container { position: relative; width: 7.5rem; height: 100vh; margin: 0 auto; background: url(../img/game.png); background-repeat: repeat-y; background-size: cover; } .bottom-content{ position: absolute; bottom: 0.53rem; left: 0.89rem; } .img-container{ width: 5.72rem; height: 5.17rem; } .btn-content{ position: absolute; bottom: 0.62rem; left: 1.25rem; } .get-gif, .try-play{ width: 3.22rem; height: 0.9rem; display: block; } .try-play{ margin-top: 0.14rem; } .mask { width: 7.5rem; height: 100vh; position: absolute; top: 0; left: 0; background: rgba(0, 0, 0, 0.24); display: none; } .dialog { width: 5.97rem; height: 4.58rem; background: #FFFFFF; border-radius: 0.2rem; position: absolute; left: 0.72rem; top: -6.96rem; overflow: hidden; } .close { width: 0.24rem; height: 0.25rem; background: url(../img/gameClose.png) no-repeat; background-size: 100% 100%; } .head-list{ display: flex; justify-content: space-between; align-items: center; padding: 0 0.28rem; height: 0.67rem; background: linear-gradient(0deg, #E2FFF6 0%, #D0FCEC 100%); } .head-title{ font-size: 0.33rem; } .content{ margin: 0.97rem 0 0.28rem 0; text-align: center; font-size: 0.28rem; } #copy-code{ width: 4.31rem; height: 0.86rem; line-height: 0.86rem; text-align: center; font-size: 0.33rem; background: #EBEBEB; border-radius: 0.14rem; margin: 0 auto; } .btn-list{ display: flex; justify-content: flex-end; margin-top: 0.68rem; } .close-text{ width: 0.74rem; height: 0.5rem; line-height: 0.5rem; text-align: center; font-size: 0.25rem; background: #EBEBEB; border-radius: 0.11rem; } .copy-btn{ width: 1.39rem; height: 0.5rem; margin: 0 0.25rem 0 0.14rem; } .copy-success{ width: 4.88rem; height: 4.88rem; display: flex; flex-direction: column; justify-content: center; align-items: center; background: #666666; border-radius: 0.23rem; position: absolute; left: 1.31rem; transform: scale(0); top: 4.36rem; overflow: hidden; transition: all 0.3s ease; } .on{ transform: scale(1); } .success-img{ width: 3rem; height: 3rem; } .success-text{ margin-top: 0.2rem; color: #FFFFFF; font-size: 0.28rem; } #toast-container>.toast-error { background-image: none !important; } .toast-error { background-color: rgba(0, 0, 0, 0.8); } #toast-container>div { font-size: 14px; min-width: 80px !important; padding: 12px !important; box-shadow: none; } .toast-center-center { min-width: 100px; top: 50%; left: 50%; text-align: center; transform: translateX(-50%); } @media (max-width: 480px) and (min-width: 241px) { #toast-container>div { min-width: 80px !important; width: auto; } }