|
5 | 5 | box-sizing: border-box; |
6 | 6 | } |
7 | 7 |
|
| 8 | +/* Global */ |
8 | 9 | body { |
9 | | - font-family: "Segoe UI", Arial, sans-serif; |
10 | | - background: linear-gradient(135deg, #f4f7fa, #e6eef5); |
| 10 | + font-family: "Inter", "Segoe UI", Arial, sans-serif; |
| 11 | + background: linear-gradient(135deg, #f8fafc, #eef2f7); |
11 | 12 | color: #333; |
12 | 13 | line-height: 1.6; |
13 | 14 | } |
14 | 15 |
|
15 | | -a { |
16 | | - text-decoration: none; |
17 | | -} |
18 | | - |
19 | 16 | /* Layout */ |
20 | 17 | .container { |
21 | 18 | display: flex; |
|
25 | 22 | /* Sidebar */ |
26 | 23 | .sidebar { |
27 | 24 | width: 280px; |
28 | | - background: #fff; |
| 25 | + background: #ffffff; |
29 | 26 | padding: 40px 20px; |
30 | 27 | border-right: 1px solid #e1e4e8; |
31 | 28 | display: flex; |
32 | 29 | flex-direction: column; |
33 | 30 | align-items: center; |
34 | 31 | text-align: center; |
| 32 | + box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05); |
35 | 33 | } |
36 | 34 |
|
37 | 35 | .profile img.avatar-img { |
38 | 36 | width: 120px; |
39 | 37 | height: 120px; |
40 | 38 | border-radius: 50%; |
41 | 39 | object-fit: cover; |
42 | | - box-shadow: 0 4px 10px rgba(0,0,0,0.15); |
| 40 | + box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); |
43 | 41 | margin-bottom: 15px; |
44 | 42 | } |
45 | 43 |
|
46 | 44 | .profile h1 { |
47 | | - font-size: 1.6rem; |
| 45 | + font-size: 1.8rem; |
48 | 46 | margin-bottom: 6px; |
49 | | - color: #222; |
| 47 | + color: #111; |
50 | 48 | } |
51 | 49 |
|
52 | 50 | .subtitle { |
53 | 51 | font-size: 0.95rem; |
54 | 52 | color: #666; |
| 53 | + font-weight: 500; |
55 | 54 | } |
56 | 55 |
|
57 | 56 | /* Buttons */ |
58 | 57 | .buttons { |
59 | | - margin-top: 20px; |
| 58 | + margin-top: 25px; |
60 | 59 | display: flex; |
61 | 60 | gap: 12px; |
62 | 61 | flex-wrap: wrap; |
63 | 62 | justify-content: center; |
64 | 63 | } |
65 | 64 |
|
66 | 65 | .btn { |
67 | | - padding: 10px 16px; |
68 | | - border-radius: 8px; |
69 | | - font-weight: bold; |
70 | | - transition: 0.3s ease; |
71 | | - font-size: 0.9rem; |
| 66 | + padding: 10px 18px; |
| 67 | + border-radius: 10px; |
| 68 | + font-weight: 600; |
| 69 | + transition: all 0.3s ease; |
| 70 | + font-size: 0.95rem; |
| 71 | + cursor: pointer; |
| 72 | + display: inline-block; |
72 | 73 | } |
73 | 74 |
|
74 | 75 | .btn-primary { |
|
78 | 79 |
|
79 | 80 | .btn-primary:hover { |
80 | 81 | background: #024c9a; |
| 82 | + transform: translateY(-2px); |
| 83 | + box-shadow: 0 4px 10px rgba(3, 102, 214, 0.3); |
81 | 84 | } |
82 | 85 |
|
83 | 86 | .btn-secondary { |
|
88 | 91 |
|
89 | 92 | .btn-secondary:hover { |
90 | 93 | background: #e9ecef; |
| 94 | + transform: translateY(-2px); |
91 | 95 | } |
92 | 96 |
|
93 | 97 | /* Main Content */ |
94 | 98 | .main-content { |
95 | 99 | flex: 1; |
96 | | - padding: 50px; |
| 100 | + padding: 60px; |
97 | 101 | } |
98 | 102 |
|
99 | 103 | .main-content h2 { |
100 | | - font-size: 1.4rem; |
101 | | - margin-bottom: 12px; |
102 | | - color: #222; |
| 104 | + font-size: 1.6rem; |
| 105 | + margin-bottom: 14px; |
| 106 | + color: #111; |
103 | 107 | border-bottom: 2px solid #eee; |
104 | 108 | padding-bottom: 6px; |
105 | 109 | } |
106 | 110 |
|
107 | 111 | .intro p { |
108 | 112 | margin-top: 8px; |
109 | | - font-size: 1rem; |
| 113 | + font-size: 1.05rem; |
110 | 114 | color: #444; |
111 | 115 | } |
112 | 116 |
|
| 117 | +.highlight { |
| 118 | + color: #0366d6; |
| 119 | + font-weight: bold; |
| 120 | +} |
| 121 | + |
113 | 122 | /* Cards */ |
114 | 123 | .card { |
115 | 124 | background: #fff; |
116 | 125 | border: 1px solid #e1e4e8; |
117 | | - padding: 20px; |
118 | | - border-radius: 12px; |
119 | | - box-shadow: 0 2px 6px rgba(0,0,0,0.05); |
| 126 | + padding: 24px; |
| 127 | + border-radius: 14px; |
| 128 | + box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05); |
120 | 129 | margin-top: 20px; |
| 130 | + transition: transform 0.2s ease, box-shadow 0.2s ease; |
| 131 | +} |
| 132 | + |
| 133 | +.card:hover { |
| 134 | + transform: translateY(-3px); |
| 135 | + box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1); |
121 | 136 | } |
122 | 137 |
|
123 | 138 | .card h3 { |
124 | | - margin-bottom: 8px; |
| 139 | + margin-bottom: 10px; |
125 | 140 | color: #222; |
126 | 141 | } |
| 142 | + |
| 143 | +/* Responsive */ |
| 144 | +@media (max-width: 768px) { |
| 145 | + .container { |
| 146 | + flex-direction: column; |
| 147 | + } |
| 148 | + |
| 149 | + .sidebar { |
| 150 | + width: 100%; |
| 151 | + border-right: none; |
| 152 | + border-bottom: 1px solid #e1e4e8; |
| 153 | + box-shadow: none; |
| 154 | + } |
| 155 | + |
| 156 | + .main-content { |
| 157 | + padding: 30px 20px; |
| 158 | + } |
| 159 | +} |
0 commit comments