Skip to content

Commit 1e603b7

Browse files
committed
Update main.scss
1 parent 628230d commit 1e603b7

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

_sass/main.scss

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ body {
9393
width: 60%;
9494
margin: 0 auto;
9595
margin-top: 50px;
96-
ul {
97-
padding-left: 0;
98-
}
9996
@include mediaQuery(tablet-width) {
10097
width: 70%;
10198
}
@@ -108,21 +105,22 @@ body {
108105
justify-content: space-between;
109106
flex-wrap: wrap;
110107
border-bottom: 2px solid var(--primary-text-color);
111-
text-align: center;
112108
h1 {
113109
// align-self: flex-start;
114110
font-size: 40px;
115111
flex-grow: 2;
112+
text-align: left;
113+
margin: 10px;
116114
}
117115
ul {
118116
display: flex;
119117
flex-direction: row;
120118
flex-wrap: wrap;
121-
justify-content: space-evenly;
119+
justify-content: end;
122120
align-items: center;
123121
flex-grow: 5;
124122
li {
125-
padding: 0 10px;
123+
padding: 0 20px;
126124
list-style-type: none;
127125
a {
128126
text-decoration : none;
@@ -142,12 +140,18 @@ body {
142140
flex-direction: column;
143141
justify-content: center;
144142
align-items: center;
143+
ul {
144+
justify-content: center;
145+
}
146+
h1 {
147+
text-align: center;
148+
}
145149
}
146150
}
147151
.sub-mid-section-cover {
148152
width: 100%;
149153
margin: 0 auto;
150-
154+
overflow: hidden;
151155
img {
152156
max-width: 100%;
153157
}
@@ -182,6 +186,7 @@ body {
182186
}
183187
.blog-list {
184188
list-style: none;
189+
padding-left: 0;
185190
li {
186191
margin-bottom: 50px;
187192
.excerpt {
@@ -204,6 +209,7 @@ body {
204209
list-style-type: none;
205210
display: flex;
206211
flex-wrap: wrap;
212+
padding-left: 0;
207213
li {
208214
margin: 10px 10px;
209215
}

0 commit comments

Comments
 (0)