22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 1 | .user-center { |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 2 | max-width: 100%; |
3 | padding: 3%; | ||||
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 4 | font-family: Arial, sans-serif; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 5 | display: flex; |
6 | gap: 10%; | ||||
Krishya | 57cc17b | 2025-05-26 16:43:34 +0800 | [diff] [blame] | 7 | background: #333; |
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 8 | } |
9 | |||||
10 | |||||
11 | .right-content { | ||||
12 | flex: 3; | ||||
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 13 | } |
14 | |||||
15 | .profile-header { | ||||
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 16 | margin-top: -20%; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 17 | text-align: center; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 18 | } |
19 | |||||
20 | .avatar { | ||||
21 | width: 100px; | ||||
22 | height: 100px; | ||||
23 | border-radius: 50%; | ||||
24 | object-fit: cover; | ||||
25 | } | ||||
26 | |||||
27 | h1 { | ||||
28 | font-size: 2em; | ||||
29 | margin-top: 10px; | ||||
30 | } | ||||
31 | |||||
32 | .profile-details { | ||||
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 33 | margin-top: 20%; |
22301009 | 24e5c0f | 2025-04-15 21:31:12 +0800 | [diff] [blame] | 34 | font-size: 1.2em; |
35 | } | ||||
36 | |||||
37 | .profile-details p { | ||||
38 | margin: 10px 0; | ||||
39 | } | ||||
40 | |||||
41 | .profile-details strong { | ||||
42 | color: #333; | ||||
43 | } | ||||
44 | |||||
45 | .error { | ||||
46 | color: red; | ||||
47 | text-align: center; | ||||
Krishya | c0f7e9b | 2025-04-22 15:28:28 +0800 | [diff] [blame] | 48 | } |
49 | |||||
50 | .common-card { | ||||
51 | background-color: #e9ded2; | ||||
52 | border-radius: 16px; | ||||
53 | margin: 0 auto; | ||||
54 | margin-top: 40px; | ||||
55 | padding: 10% 20%; | ||||
56 | margin-left: 5%; | ||||
57 | margin-right: 5%; | ||||
58 | } |