Skip to content

Commit 67fae59

Browse files
authored
대표자 소개 그리드를 한 줄에 2개씩 뜨게 CSS 개선
1 parent 59d03fe commit 67fae59

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

style.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ body {
8686
background:
8787
linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)),
8888
url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80");
89-
9089
background-size: cover;
9190
background-position: center;
9291
}
@@ -237,7 +236,7 @@ footer .maker a {
237236

238237
.people-grid {
239238
display: grid;
240-
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
239+
grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
241240
gap: 30px;
242241
margin-top: 40px;
243242
}
@@ -296,6 +295,10 @@ footer .maker a {
296295
}
297296

298297
@media (max-width: 768px) {
298+
.greeting-msg {
299+
font-size: 1.51rem !important;
300+
}
301+
299302
#hero h1 {
300303
font-size: 1.7rem;
301304
}
@@ -360,4 +363,8 @@ footer .maker a {
360363
.msg {
361364
width: 270px;
362365
}
366+
367+
.people-grid {
368+
grid-template-columns: 1fr;
369+
}
363370
}

0 commit comments

Comments
 (0)