This commit is contained in:
64
public/static/index/pc/css/topic_ssd/index.css
Normal file
64
public/static/index/pc/css/topic_ssd/index.css
Normal file
@@ -0,0 +1,64 @@
|
||||
|
||||
html {
|
||||
width: 100%;
|
||||
}
|
||||
body {
|
||||
/* width: 100vw;
|
||||
height: 100vh; */
|
||||
background: #000;
|
||||
overflow-x: hidden;
|
||||
scroll-behavior: smooth !important;
|
||||
-webkit-overflow-scrolling: touch !important;
|
||||
}
|
||||
/* 当视口宽度大于1920px时生效 */
|
||||
@media screen and (min-width: 1920px) {
|
||||
/* 这里写你的样式 */
|
||||
body {
|
||||
max-width:100% !important;
|
||||
width: 100vw !important;
|
||||
}
|
||||
|
||||
}
|
||||
.sc-main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
max-width: 2560px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sc-main-img {
|
||||
width: 100%;
|
||||
max-width: 2560px;
|
||||
}
|
||||
|
||||
.sc-mt20 {
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
.sc-main-imgs {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.2rem;
|
||||
list-style: none;
|
||||
/* 去除列表样式(如果有) */
|
||||
}
|
||||
|
||||
.sc-main-imgs a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.sc-main-img1 {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
/* 保持比例 */
|
||||
display: block;
|
||||
}
|
||||
Reference in New Issue
Block a user