Skip to content

Commit

Permalink
improve size and space
Browse files Browse the repository at this point in the history
  • Loading branch information
mirmousaviii committed Oct 24, 2023
1 parent 0a654a3 commit d8028e0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion themes/mostafa-hugo-theme/assets/sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
justify-content: center;
flex-direction: row;

padding-top: 50px;
padding-top: 40px;
min-height: 90px;
position: relative;

Expand Down
8 changes: 5 additions & 3 deletions themes/mostafa-hugo-theme/assets/sass/_pagination.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
.paginator {
display: flex;
margin-left: 100px;
margin-top: 75px;
margin-right: 100px;
margin-top: 40px;
padding-bottom: 1em;

.fa {
Expand All @@ -13,11 +14,12 @@
padding: 0.8em 1.4em;
text-decoration: none;
font-weight: bold;
background-color: #b4b4b4;
background-color: $article-background-color;
color: #fff;

&:hover {
background-color: $highlight-color;
color: $header-text-color;
//background-color: $highlight-color;
transition: all 0.3s ease-in-out;
}

Expand Down
12 changes: 6 additions & 6 deletions themes/mostafa-hugo-theme/assets/sass/_responsive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@
font-size: 2.5rem;
line-height: 150%;

margin-top: 2rem;
margin-bottom: 1rem;

margin-left: auto;
margin-right: auto;
margin: 2rem auto;
}

nav ul li {
Expand Down Expand Up @@ -59,10 +55,14 @@

.main {
margin-bottom: 0;

.article-wrapper {
padding-top: 10px;
}
}

.main article {
margin: 14px;
margin: 16px;
width: 100%;

&:before,
Expand Down

0 comments on commit d8028e0

Please sign in to comment.