html,body{ background-color: #31373D; color: #ffffff; user-select: none; height: 100%; overflow: hidden; } img { -webkit-user-drag: none; } .main{ margin-top: 40px; position: relative; height: 100%; } .main .left{ padding-right: 40px; padding-left: 40px; border-right: 1px solid #000000; height: 100%; } .left h1{ position: relative; } .left .card{ background-color: #3E454D; width: 100%; /* height: 130px; */ margin-top: 30px; color: #999999; cursor: pointer; display: flex; align-items: center; justify-content: center; } .left .card:hover{ background-color: #646E76; color: #ffffff !important; } .card .rect{ padding: 10px; text-align: center; } .rect img{ max-width: 70%; max-height: 70%; } .rect1 img { border-radius: 0; } .rect .tip{ margin-top: 10px; font-size: 16px; letter-spacing:1px; width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .right{ padding-left: 30px; padding-right: 30px; height: calc(100vh - 40px); position: relative; } .right .recent{ position: absolute; left: 50%; transform: translate(-50%, 0); line-height: 40px; font-size: 2em; } .right .card{ background-color: #3E454D; width: 230px; height: 200px; margin-top: 30px; color: #999999; cursor: pointer; display: inline-block; margin-right: 40px; display: flex; align-items: center; justify-content: center; } .ui-select{ background-color: #31373D; border: #646E76 solid 1px; color: #ffffff; font-size: 16px; position: absolute; bottom: 50px; } .card-list{ height: calc(100% - 78px); display: flex; flex-wrap: wrap; overflow-y: auto; align-content: flex-start; } ::-webkit-scrollbar { width: 8px; height: 8px; background-color: #31373D; } /*定义滚动条轨道 内阴影+圆角*/ ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); border-radius: 10px; background-color: #F5F5F5; } /*定义滑块 内阴影+圆角*/ ::-webkit-scrollbar-thumb { border-radius: 10px; -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); background-color: #555; }