diff --git a/css/styles.css b/css/styles.css index 9abfaca..05e8ac4 100644 --- a/css/styles.css +++ b/css/styles.css @@ -96,6 +96,16 @@ a:hover { text-decoration: underline; } .modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.5); z-index: 999; display: flex; align-items: center; justify-content: center; } .modal.hidden { display: none; } .modal-content { background: var(--white); padding: 32px; border-radius: 16px; width: 90%; max-width: 800px; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,.2); } +.user-detail-modal { max-width: 600px; } +.user-detail-header { display: flex; align-items: center; gap: 20px; margin-bottom: 24px; } +.user-detail-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; flex-shrink: 0; } +.user-detail-avatar .user-avatar-text { font-size: 2rem; font-weight: 700; } +.user-detail-header h2 { font-size: 1.5rem; font-weight: 700; margin: 0 0 4px 0; } +.user-detail-header p { font-size: 1rem; color: #6b7280; margin: 0; } +.detail-row { display: flex; justify-content: space-between; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--gray2); } +.detail-row:last-child { border-bottom: none; } +.detail-label { font-weight: 600; font-size: .9rem; color: #4b5563; } +.detail-value { font-size: .9rem; color: #1f2937; text-align: right; max-width: 60%; word-break: break-word; } .modal-content h3 { margin-bottom: 24px; } .close-btn { position: absolute; top: 16px; right: 20px; font-size: 24px; cursor: pointer; color: #6b7280; } .username-display { padding: 12px 0; font-size: 1.1rem; font-weight: 700; color: var(--black); } diff --git a/index.html b/index.html index 6e7f296..b02e7c8 100644 --- a/index.html +++ b/index.html @@ -222,6 +222,49 @@ + + +