summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormuqiuhan <[email protected]>2024-05-13 04:18:34 +0000
committermuqiuhan <[email protected]>2024-05-13 04:18:34 +0000
commit87000a8aa4480606afd572b8fd739403fd3f68b4 (patch)
tree051ab060b3d3857bbe40d6f042c036aeb12dc13c
parentecde43419503fbd2559f7450f6ccf675136506e0 (diff)
downloadblog-87000a8aa4480606afd572b8fd739403fd3f68b4.tar.gz
deploy: f799ef526a1ee6bc138b9f73ddd0b0f4d17bf67a
-rw-r--r--css/layout.css3
-rw-r--r--css/partials/footer.css4
-rw-r--r--css/partials/header.css4
-rw-r--r--css/style.css11
4 files changed, 8 insertions, 14 deletions
diff --git a/css/layout.css b/css/layout.css
index 914ef240..27e4545a 100644
--- a/css/layout.css
+++ b/css/layout.css
@@ -19,9 +19,6 @@ body {
}
.main {
flex-grow: 1;
- display: flex;
margin: 0;
padding: 0;
- align-items: center;
- justify-content: center;
}
diff --git a/css/partials/footer.css b/css/partials/footer.css
index 83ef67b5..7767cafc 100644
--- a/css/partials/footer.css
+++ b/css/partials/footer.css
@@ -3,6 +3,6 @@
border: $line-secondary $color-text-primary solid;
}
.footer .footer-text {
- margin-top: $margin-m-0;
- margin-bottom: $margin-m-0;
+ margin-top: $margin-l-0;
+ margin-bottom: $margin-l-0;
}
diff --git a/css/partials/header.css b/css/partials/header.css
index 6db704b2..01960f3c 100644
--- a/css/partials/header.css
+++ b/css/partials/header.css
@@ -5,8 +5,8 @@
display: flex;
flex-wrap: nowrap;
align-items: center;
- margin-top: $margin-m-0;
- margin-bottom: $margin-m-0;
+ margin-top: $margin-m-2;
+ margin-bottom: $margin-m-2;
}
.header-inner #menu-btn {
display: none;
diff --git a/css/style.css b/css/style.css
index f35e18a0..e50319eb 100644
--- a/css/style.css
+++ b/css/style.css
@@ -255,11 +255,8 @@ body {
}
.main {
flex-grow: 1;
- display: flex;
margin: 0;
padding: 0;
- align-items: center;
- justify-content: center;
}
div {
display: block;
@@ -318,8 +315,8 @@ input[type="search"]::-webkit-search-results-decoration {
display: flex;
flex-wrap: nowrap;
align-items: center;
- margin-top: 0.5rem;
- margin-bottom: 0.5rem;
+ margin-top: 1rem;
+ margin-bottom: 1rem;
}
.header-inner #menu-btn {
display: none;
@@ -405,8 +402,8 @@ input[type="search"]::-webkit-search-results-decoration {
color: #373633;
}
.footer .footer-text {
- margin-top: 0.5rem;
- margin-bottom: 0.5rem;
+ margin-top: 1.5rem;
+ margin-bottom: 1.5rem;
}
.post-list a {
background-image: linear-gradient(#fff, #fff), linear-gradient(#373633, #373633);