Skip to content

Commit

Permalink
styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhuxb-Clouds committed Dec 26, 2024
1 parent 4231eb8 commit 7284544
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
5 changes: 5 additions & 0 deletions components/Header/Header.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,9 @@
bottom: -10px;
transform: scale(0.75) translate(-10%, 5%);
cursor: pointer;
}
@media screen and (max-width: 800px) {
.header{
padding-inline: 10%;
}
}
10 changes: 10 additions & 0 deletions components/layout/layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
top: 90px;
/* padding-block-end: 100px; */
}

.body {
width: 70%;
max-width: 75ch;
Expand All @@ -12,3 +13,12 @@
position: relative;
padding-block-end: 100px;
}

@media screen and (max-width: 800px) {
.container {
top: 40px;
}
.body{
width: 85%;
}
}
2 changes: 1 addition & 1 deletion styles/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ p {
text-wrap: pretty;
line-height: 1.5;
&>img {
width: 80%;
width: 100%;
border: 1px solid var(--border-color);
border-radius: 14px;
}
Expand Down

0 comments on commit 7284544

Please sign in to comment.