Skip to content

Commit 58e7989

Browse files
committed
Redesign latest news
1 parent 9cf03df commit 58e7989

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

_sass/_layout.scss

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,6 @@ section.special {
190190
min-height: calc(100vh - 300px);
191191
}
192192

193-
.page-heading {
194-
font-size: 20px;
195-
}
196-
197193
.post-list {
198194
margin-left: 0;
199195
list-style: none;
@@ -206,25 +202,29 @@ section.special {
206202
.post-overview {
207203
text-align: center;
208204
padding: 0.7rem 0;
205+
display: flex;
206+
flex-wrap: wrap;
207+
justify-content: center;
208+
align-items: stretch;
209209

210210
a, a:visited {
211211
@extend .box-design;
212212
max-width: 10em;
213-
padding: 0.5em;
214-
margin: 1.5em 1em 0;
215-
line-height: 3em;
213+
margin: 1.3em 0.8em 0;
216214
vertical-align: top;
217-
min-height: 7em;
215+
padding: 0.8em 0.6em 1em;
216+
217+
font-weight: bold;
218+
font-family: $headings-font-family;
218219

219220
.post-meta {
220-
color: #f6f5f4;
221-
font-weight: 800;
222-
font-family: $headings-font-family;
221+
color: $header-text-color;
222+
font-size: $small-font-size;
223223
}
224224

225225
* {
226226
display: inline-block;
227-
line-height: 1em;
227+
margin: 0.3em 0;
228228
}
229229
}
230230
}

0 commit comments

Comments
 (0)