6464
6565/* Make the about section text smaller */
6666#about {
67- font-size : 0.7 rem ; /* default is ~1rem, reduce a bit */
67+ font-size : 0.8 rem ; /* default is ~1rem, reduce a bit */
6868 line-height : 1.5 ; /* keep it readable */
6969 color : #333 ; /* optional: softer black */
7070}
9393
9494@media (max-width : 600px ) {
9595 .about-photo-wrapper {
96- float : none ;
97- width : 60 % ;
98- height : auto ;
99- margin : 0 auto 1 rem auto ;
96+ float : right ; /* ✅ keep on the right */
97+ width : 150 px ; /* smaller square on mobile */
98+ height : 150 px ; /* force square */
99+ margin : 0 0 0.75 rem 0.75 rem ; /* tighter margin */
100100 }
101+
101102 .about-photo {
102- height : auto !important ;
103- object-position : center top !important ;
103+ width : 100% !important ;
104+ height : 100% !important ;
105+ object-fit : cover ;
106+ object-position : center top ; /* keep face/head visible */
104107 }
105108}
106109
107-
108110.welcome-name {
109111 font-size : 2.5rem ; /* very large */
110112 font-weight : 400 ; /* bold */
115117
116118}
117119
118- /* Scrollable container */
119120/* Scrollable container */
120121.news-scroll {
121122 max-height : 300px ; /* adjust height */
169170 line-height : 1.4 ;
170171}
171172
172- /* Optional: mobile stacking */
173+ /* Optional: mobile tweaks */
173174@media (max-width : 600px ) {
174175 .news-list li {
175- flex-direction : column ;
176- border-bottom : 1 px solid #eee ;
176+ flex-direction : row ; /* ✅ keep side-by-side */
177+ align-items : flex-start ; /* date aligns with top of text */
177178 }
179+
178180 .news-date {
179- margin-bottom : 0.25rem ;
181+ flex : 0 0 45px ; /* slightly narrower on small screens */
182+ margin-right : 0.5rem ; /* smaller gap */
183+ padding-left : 5px ; /* reduce padding */
184+ font-size : 0.65rem ; /* shrink text */
185+ }
186+
187+ .news-text {
188+ font-size : 0.75rem ; /* shrink news text slightly */
189+ line-height : 1.3 ;
180190 }
181191}
182192
193+
183194.publications-preview .publication-block {
184- display : grid ;
185- grid-template-columns : 80px 1fr ; /* thumbnail column + text column */
186- column-gap : 1rem ;
187- align-items : start ; /* top-aligns image with first line of text */
195+ display : flex ;
196+ gap : 1rem ;
197+ align-items : flex-end ; /* 🔑 aligns image with first line of text */
188198 padding : 0.5rem 0 ;
199+ flex-wrap : nowrap ; /* keep image + text side by side */
200+ margin-bottom : 1.5rem ;
189201}
190202
191- .publication-thumbnail img {
192- width : 80px ;
193- height : 80px ;
194- object-fit : cover ;
203+ .publication-thumbnail {
204+ width : 100px ;
205+ height : 100px ;
206+ background-size : cover ; /* crop to fill */
207+ background-position : center ;
195208 border-radius : 4px ;
209+ flex-shrink : 0 ;
210+ padding : 0.5rem 0 ;
196211}
197212
198213.publication-data {
199214 font-size : 0.85rem ;
200215 line-height : 1.3 ;
216+ min-width : 200px ;
201217}
202218
203- .publication-title a {
204- font-size : 0.9rem ;
205- font-weight : 600 ;
206- color : #111 ;
207- text-decoration : none ;
208- }
209-
210- .publication-title a :hover {
211- text-decoration : underline ;
212- }
213219
214- .publication-venue ,
215- .publication-authors {
216- font-size : 0.8 rem ;
217- color : #555 ;
218- }
220+ /* 📱 Mobile adjustments */
221+ @media ( max-width : 768 px ) {
222+ .publication-block {
223+ align-items : flex-start ; /* align image top with text top */
224+ }
219225
220- /* Mobile stacking */
221- @media (max-width : 600px ) {
222- .publications-preview .publication-block {
223- grid-template-columns : 1fr ; /* stack image above text */
224- row-gap : 0.5rem ;
226+ .publication-thumbnail {
227+ width : 80px ; /* smaller square for mobile */
228+ height : 80px ;
225229 }
226230}
231+
232+ .pub-more {
233+ font-size : 0.9rem ; /* slightly smaller than normal text */
234+ line-height : 1.4 ; /* good readability */
235+ margin-top : 1rem ; /* spacing from above section */
236+ text-align : left ; /* keep alignment consistent */
237+ }
0 commit comments