style: 优化移动端ui
This commit is contained in:
@@ -80,8 +80,8 @@ const {posts, page, totalPage} = Astro.props
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.page-content {
|
||||
gap: 24px;
|
||||
.intro{
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
|
||||
footer {
|
||||
|
||||
@@ -31,7 +31,7 @@ const {siteTitle} = siteConfig;
|
||||
|
||||
@media (max-width: 640px) {
|
||||
header {
|
||||
margin-top: 24px;
|
||||
margin-top: 12px;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -45,4 +45,10 @@ const pageTitle = title ? `${title} - ${siteTitle}` : siteTitle;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.container {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user