body,html,p{ padding: 0; margin:0; } body{ height: 100%; } .topBox{ height: calc(100vh - 65px); overflow: scroll; } /* Chrome, Safari, Edge */ .topBox::-webkit-scrollbar { width: 10px; /* 滚动条宽度 */ } .topBox::-webkit-scrollbar-track { background: #ffffff; /* 轨道背景颜色 */ } .topBox::-webkit-scrollbar-thumb { background: #888; /* 滚动条颜色 */ border-radius: 5px; /* 滚动条圆角 */ } .topBox::-webkit-scrollbar-thumb:hover { background: #555; /* 滚动条悬停时的颜色 */ } .xm_top{ text-align: center; padding-top: 10px; } .xm_top .item img{ width: 120px; } .xm_top .item p{ height: 42px; font-size: 30px; font-weight: 600; color: #000000; line-height: 42px; margin: 8px 0 12px 0; } .divider{ height: 1px; border-bottom: 1px solid #E6E6E6; margin: 0 15px 3px 15px; box-sizing: border-box; } .thumbnail-left-left{ padding:15px; } .thumbnail-left-left ul{ padding: 0; margin:0; list-style: none; } .shortjpg{ margin-bottom: 20px; } .shortjpg p{ font-size: 18px; font-weight: bold; color: #000000; line-height: 25px; margin-bottom: 10px; display: flex; } .shortjpg p span{ display: inline-block; flex-shrink: 0; } .shortjpg p .title{ display: inline-block; background: #d00; border-radius: 2px; color: #fff; font-size: 12px; line-height: 14px; padding: 2px 10px; flex-shrink: 1; text-align: justify; height: fit-content; margin-top: 4px; } .shortjpg a{ display: block; width: 100%; box-shadow: 0px 5px 3px #eee; } .shortjpg a img{ width: 100%; } .wangqi{ width: calc(50% - 40px); bottom:22px; } .share{ width: calc(50% - 60px); justify-content:center; bottom:22px; }