|
22 | 22 | margin-bottom: 4rem; |
23 | 23 | } |
24 | 24 |
|
25 | | -/* --- Info Panel General Style --- */ |
| 25 | +/* --- Info Panel: Final Polished Version --- */ |
26 | 26 | .info-panel { |
| 27 | + display: flex; /* Flexbox 레이아웃 적용 */ |
| 28 | + flex-direction: column; /* 아이템을 세로로 정렬 */ |
| 29 | + gap: 1.2rem; /* 모든 섹션 사이의 간격을 1.2rem으로 완벽히 통일 */ |
27 | 30 | text-align: left; |
28 | | - line-height: 1.6; |
| 31 | + line-height: 1.5; |
29 | 32 | } |
30 | 33 |
|
31 | 34 | .info-name { |
32 | 35 | font-size: 3em; |
33 | 36 | font-weight: 700; |
34 | | - margin-bottom: 1rem; |
35 | 37 | line-height: 1.2; |
| 38 | + margin: 0; /* gap으로 제어하므로 개별 마진 불필요 */ |
36 | 39 | } |
37 | 40 |
|
38 | | -/* --- 그룹핑 및 기본 스타일 --- */ |
| 41 | +/* --- 각 정보 그룹 스타일 --- */ |
39 | 42 | .info-affiliation, .info-details, .info-research, .info-links { |
40 | | - padding-top: 1rem; /* margin-top을 없애고 이 값으로만 간격 조절 */ |
41 | | - border-top: 1px solid #e5e5e5; /* 그룹을 나누는 옅은 선 */ |
| 43 | + margin: 0; /* 개별 마진 제거 */ |
42 | 44 | } |
43 | 45 |
|
| 46 | +/* 선(border)이 필요한 그룹에만 선과 선 아래 공간(padding) 추가 */ |
| 47 | +.info-affiliation, .info-details, .info-research, .info-links { |
| 48 | + border-top: 1px solid #e5e5e5; |
| 49 | + padding-top: 1.2rem; /* 선과 내용물 사이의 간격 */ |
| 50 | +} |
| 51 | + |
| 52 | +/* --- 텍스트 및 내부 간격 --- */ |
44 | 53 | .info-title { |
45 | 54 | font-size: 1.2em; |
46 | 55 | font-weight: 600; |
47 | | - color: #1d1d1f; /* 애플의 메인 텍스트 블랙 */ |
48 | | - margin-top: 0; /* <-- 이 한 줄을 추가해주세요 */ |
49 | | - margin-bottom: 0; |
| 56 | + color: #1d1d1f; |
| 57 | + margin: 0; |
50 | 58 | } |
51 | 59 |
|
52 | 60 | .info-university { |
53 | 61 | font-size: 1.1em; |
54 | | - color: #86868b; /* 애플의 보조 텍스트 그레이 */ |
55 | | - margin-bottom: 0.5rem; |
| 62 | + color: #86868b; |
| 63 | + margin: 0; |
56 | 64 | } |
57 | 65 |
|
58 | | -/* --- 상세 정보 링크 --- */ |
59 | 66 | .info-details p { |
60 | 67 | font-size: 1.1em; |
61 | 68 | color: #555; |
62 | | - margin-top: 0; /* <-- 이 한 줄을 추가해주세요 */ |
63 | | - margin-bottom: 1rem; |
| 69 | + margin: 0; |
| 70 | +} |
| 71 | +.info-details p:not(:last-child) { |
| 72 | + margin-bottom: 0.5rem; /* Lab과 Advisor 사이의 간격 */ |
64 | 73 | } |
65 | 74 |
|
66 | 75 | .info-details p strong { |
|
69 | 78 | } |
70 | 79 |
|
71 | 80 | .info-details a { |
72 | | - color: #0071e3; /* 애플 블루 */ |
| 81 | + color: #0071e3; |
73 | 82 | text-decoration: none; |
74 | 83 | font-weight: 500; |
75 | 84 | } |
76 | 85 | .info-details a:hover { |
77 | 86 | text-decoration: underline; |
78 | 87 | } |
79 | 88 |
|
80 | | -/* --- 연구 분야 리스트 --- */ |
81 | 89 | .info-research h4 { |
82 | 90 | font-size: 1.2em; |
83 | 91 | font-weight: 600; |
84 | 92 | color: #1d1d1f; |
85 | | - margin-bottom: 0.rem; |
86 | | - margin-top: 0; /* <-- 이 한 줄을 추가해주세요 */ |
| 93 | + margin: 0 0 1rem 0; /* 제목과 목록 사이 간격 */ |
87 | 94 | } |
88 | 95 |
|
89 | 96 | .info-research ul { |
90 | 97 | list-style: none; |
91 | 98 | padding-left: 0; |
| 99 | + margin: 0; |
92 | 100 | } |
93 | 101 |
|
94 | 102 | .info-research li { |
95 | 103 | font-size: 1.1em; |
96 | 104 | padding-left: 1.5em; |
97 | 105 | position: relative; |
98 | | - margin-bottom: 0.5rem; |
99 | 106 | color: #555; |
100 | 107 | } |
| 108 | +.info-research li:not(:last-child) { |
| 109 | + margin-bottom: 0.5rem; /* 목록 아이템 사이 간격 */ |
| 110 | +} |
101 | 111 |
|
102 | 112 | .info-research li::before { |
103 | | - content: "–"; /* 불릿을 대시(-)로 변경 */ |
| 113 | + content: "–"; |
104 | 114 | position: absolute; |
105 | 115 | left: 0; |
106 | | - color: #0071e3; /* 불릿 포인트에 색상 강조 */ |
| 116 | + color: #0071e3; |
107 | 117 | } |
108 | 118 |
|
109 | | - |
110 | 119 | /* --- 아이콘 링크 버튼 --- */ |
111 | 120 | .info-links { |
112 | | - padding-top: 1rem; |
113 | 121 | display: flex; |
114 | | - gap: 1rem; /* 버튼 사이 간격 */ |
| 122 | + gap: 1rem; |
115 | 123 | flex-wrap: wrap; |
116 | 124 | } |
117 | 125 |
|
|
122 | 130 | background-color: #f5f5f7; |
123 | 131 | color: #1d1d1f; |
124 | 132 | padding: 0.7rem 1.4rem; |
125 | | - border-radius: 99px; /* 알약 모양 */ |
| 133 | + border-radius: 99px; |
126 | 134 | text-decoration: none; |
127 | 135 | font-weight: 600; |
128 | 136 | font-size: 1em; |
@@ -285,7 +293,7 @@ <h4>Research Interests</h4> |
285 | 293 |
|
286 | 294 | <nav class="qa-nav-wrapper"> |
287 | 295 | <a href="/research-interests/" class="qa-link-card"> |
288 | | - <h2>What are your main research interests?</h2> |
| 296 | + <h2>What are your research interests in detail?</h2> |
289 | 297 | </a> |
290 | 298 | <a href="/#pursuits" class="qa-link-card"> |
291 | 299 | <h2>What do you enjoy doing outside of research?</h2> |
|
0 commit comments