Skip to content

Commit 32f7ac6

Browse files
committed
home.css 수정
최근 활동 (recent-activity) 수정
1 parent b3a8eab commit 32f7ac6

1 file changed

Lines changed: 84 additions & 1 deletion

File tree

src/styles/home.css

Lines changed: 84 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,90 @@
271271
/* 최근 활동 */
272272
.recent-activity {
273273
background: linear-gradient(180deg, var(--card-bg-from), var(--card-bg-to));
274-
}
274+
border: 1px solid var(--card-border);
275+
border-radius: 20px;
276+
padding: 28px;
277+
}
278+
279+
.section-title {
280+
font-size: 22px;
281+
font-weight: 800;
282+
color: var(--text-primary);
283+
margin: 0 0 20px 0;
284+
display: flex;
285+
align-items: center;
286+
gap: 10px;
287+
}
288+
289+
.section-title::before {
290+
content: '📋';
291+
font-size: 20px;
292+
}
293+
294+
.activity-list {
295+
display: flex;
296+
flex-direction: column;
297+
gap: 12px;
298+
}
299+
300+
.activity-item {
301+
display: flex;
302+
align-items: center;
303+
gap: 16px;
304+
padding: 16px 20px;
305+
background: var(--bg-secondary);
306+
border: 1px solid var(--card-border);
307+
border-radius: 14px;
308+
transition: all 0.2s ease;
309+
}
310+
311+
.activity-item:hover {
312+
transform: translateX(4px);
313+
background: var(--card-hover-bg-from);
314+
border-color: var(--btn-hover-border);
315+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
316+
}
317+
318+
.activity-dot {
319+
display: none;
320+
}
321+
322+
323+
324+
.activity-title {
325+
font-size: 15px;
326+
font-weight: 600;
327+
color: var(--text-primary);
328+
margin: 0 0 4px 0;
329+
white-space: nowrap;
330+
overflow: hidden;
331+
text-overflow: ellipsis;
332+
}
333+
334+
.activity-time {
335+
font-size: 13px;
336+
color: var(--text-muted);
337+
margin: 0;
338+
display: flex;
339+
align-items: center;
340+
gap: 6px;
341+
}
342+
343+
.activity-time::before {
344+
content: '🕐';
345+
font-size: 12px;
346+
}
347+
348+
/* 활동 없을 때 */
349+
.activity-list:empty::after {
350+
content: '아직 학습 활동이 없습니다. 지금 시작해보세요!';
351+
display: block;
352+
text-align: center;
353+
padding: 40px 20px;
354+
color: var(--text-muted);
355+
font-size: 14px;
356+
}
357+
275358
@media (max-width: 1024px) {
276359
.stats-grid,
277360
.action-grid {

0 commit comments

Comments
 (0)