移动端闪存
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s
All checks were successful
Gitea Actions Official-website / deploy-dev (push) Successful in 4s
This commit is contained in:
60
public/static/index/mobile/css/topic_ssd/index.css
Normal file
60
public/static/index/mobile/css/topic_ssd/index.css
Normal file
@@ -0,0 +1,60 @@
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
html {
|
||||
width: 100% !important;
|
||||
overflow-x: hidden;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
max-width: 100vw !important;
|
||||
}
|
||||
body {
|
||||
width: 100%;
|
||||
background: #fff;
|
||||
overflow-x: hidden;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
max-width: 100vw !important;
|
||||
}
|
||||
.m-sc-main {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
display: block;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.m-sc-main-img {
|
||||
width: 100%;
|
||||
/* max-width: 2560px; */
|
||||
}
|
||||
|
||||
.m-sc-mt20 {
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
|
||||
.m-sc-main-imgs {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 0.1rem;
|
||||
list-style: none;
|
||||
/* 去除列表样式(如果有) */
|
||||
}
|
||||
|
||||
.m-sc-main-imgs a {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.m-sc-main-img1 {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
/* 保持比例 */
|
||||
display: block;
|
||||
}
|
||||
@@ -39,7 +39,9 @@ img {
|
||||
width: 100%;
|
||||
max-width: 2560px;
|
||||
}
|
||||
|
||||
.sc-mt20:first-child {
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
.sc-mt20 {
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user