自适应手机

This commit is contained in:
augushong
2020-08-14 13:24:47 +08:00
parent 2a04ff970c
commit 6855670c45

View File

@@ -96,7 +96,7 @@
border-bottom: 1px solid #ddd; border-bottom: 1px solid #ddd;
} }
a.post-item>div:nth-child(2) { .post-item>div:nth-child(2) {
width: calc(100% - 160px); width: calc(100% - 160px);
} }
@@ -161,6 +161,22 @@ a.post-item>div:nth-child(2) {
display: inline-block; display: inline-block;
margin: 5px; margin: 5px;
} }
.post-item .poster, .plus-post-item .poster {
width: 80px;
height: 60px;
}
.post-item>div:nth-child(2) {
width: calc(100% - 80px);
}
.post-item .info .title {
font-weight: 500;
font-size: 14px;
}
.content-container .title{
font-size: 18px;
line-height: 28px;
}
} }
@media screen and (min-width:1200px) { @media screen and (min-width:1200px) {