Skip to content

Commit af8095b

Browse files
Refined UI with Pastel Color Palette for Tags
1 parent 8e5c1d7 commit af8095b

File tree

1 file changed

+34
-75
lines changed

1 file changed

+34
-75
lines changed

projects.html

Lines changed: 34 additions & 75 deletions
Original file line numberDiff line numberDiff line change
@@ -40,202 +40,161 @@
4040
/* CSS CHO TAG PHÂN LOẠI DỰ ÁN */
4141
.project-category-tag {
4242
display: inline-block;
43-
background-color: var(--bs-primary);
44-
/* Sử dụng màu primary của Bootstrap */
45-
color: white;
43+
background-color: #b3cde0; /* Pastel blue */
44+
color: #333;
4645
padding: 0.3rem 0.8rem;
4746
font-size: 0.75rem;
4847
font-weight: 600;
4948
border-radius: 50px;
50-
/* Bo tròn mạnh như pill */
5149
margin-bottom: 0.75rem;
52-
/* Khoảng cách với tiêu đề dự án */
5350
text-transform: uppercase;
5451
letter-spacing: 0.05em;
5552
}
5653

57-
/* Tùy chọn: Thêm các màu khác cho các loại tag khác nhau nếu muốn */
5854
.project-category-tag.frontend {
59-
background-color: #198754;
60-
/* Màu success của Bootstrap */
55+
background-color: #ccebc5; /* Pastel green */
6156
}
6257

6358
.project-category-tag.mobile {
64-
background-color: #ffc107;
65-
/* Màu warning của Bootstrap */
59+
background-color: #ffedbc; /* Pastel yellow */
6660
color: #333;
67-
/* Đổi màu chữ cho dễ đọc trên nền vàng */
6861
}
6962

7063
.project-category-tag.ml {
71-
background-color: #6f42c1;
72-
/* Màu indigo hoặc purple của Bootstrap */
64+
background-color: #decbe4; /* Pastel purple */
7365
}
7466

7567
.project-category-tag.fullstack {
76-
background-color: #0d6efd;
77-
/* Màu primary của Bootstrap */
68+
background-color: #fed9a6; /* Pastel orange */
7869
}
7970

80-
/* Class cơ sở cho các tag đặc biệt - bạn có thể dùng màu primary hoặc một màu chung */
8171
.project-tag-special {
82-
background-color: var(--bs-primary);
83-
/* Màu primary mặc định */
72+
background-color: #b3cde0; /* Pastel blue */
8473
}
8574

86-
/* Các biến thể màu sắc/style (ví dụ) */
8775
.project-tag-highly-recommended {
88-
background-color: #198754;
89-
/* Màu success (xanh lá) */
76+
background-color: #ccebc5; /* Pastel green */
9077
}
9178

9279
.project-tag-featured {
93-
background-color: #ffc107;
94-
/* Màu warning (vàng) */
80+
background-color: #ffedbc; /* Pastel yellow */
9581
color: #333;
96-
/* Chữ đen cho dễ đọc trên nền vàng */
9782
}
9883

9984
.project-tag-best-choice {
100-
background-color: #dc3545;
101-
/* Màu danger (đỏ) - hoặc một màu nổi bật khác */
85+
background-color: #fddaec; /* Pastel pink */
10286
}
10387

10488
.project-tag-new-release {
105-
background-color: #0dcaf0;
106-
/* Màu info (xanh dương nhạt) */
107-
color: #fff;
89+
background-color: #b3e2cd; /* Pastel teal */
90+
color: #333;
10891
}
10992

11093
.project-tag-learning {
111-
/* Dành cho dự án thử nghiệm như games_tools */
112-
background-color: #6c757d;
113-
/* Màu secondary (xám) */
94+
background-color: #e6e6e6; /* Pastel gray */
11495
}
11596

116-
117-
11897
/* CSS CHO TECH TAGS */
11998
.tech-stack-container {
12099
margin-top: 0.75rem;
121-
/* Khoảng cách với đoạn mô tả ở trên */
122100
margin-bottom: 0.5rem;
123-
/* Khoảng cách với các nút bên dưới */
124101
}
125102

126103
.tech-tag {
127104
display: inline-block;
128105
padding: 0.35em 0.65em;
129-
/* Padding của Bootstrap badge */
130106
font-size: 0.8em;
131-
/* Kích thước chữ nhỏ hơn một chút */
132107
font-weight: 600;
133108
line-height: 1;
134-
color: #fff;
109+
color: #333;
135110
text-align: center;
136111
white-space: nowrap;
137112
vertical-align: baseline;
138113
border-radius: 0.375rem;
139-
/* Bo tròn giống Bootstrap badge */
140114
margin-right: 0.5rem;
141-
/* Khoảng cách giữa các tag */
142115
margin-bottom: 0.5rem;
143-
/* Khoảng cách nếu các tag xuống dòng */
144116
}
145117

146-
/* Định nghĩa màu cho từng công nghệ (bạn có thể thêm/sửa) */
147118
.tech-tag.html5 {
148-
background-color: #E34F26;
119+
background-color: #f1d4d4; /* Pastel red */
149120
}
150121

151122
.tech-tag.css3 {
152-
background-color: #1572B6;
123+
background-color: #d1e5f0; /* Pastel blue */
153124
}
154125

155126
.tech-tag.javascript {
156-
background-color: #F7DF1E;
157-
color: #000;
127+
background-color: #fff2cc; /* Pastel yellow */
158128
}
159129

160-
/* JS màu vàng, chữ đen */
161130
.tech-tag.bootstrap {
162-
background-color: #7952B3;
131+
background-color: #e6d9f2; /* Pastel purple */
163132
}
164133

165134
.tech-tag.tailwind {
166-
background-color: #06B6D4;
135+
background-color: #b3e0e6; /* Pastel cyan */
167136
}
168137

169138
.tech-tag.nodejs {
170-
background-color: #339933;
139+
background-color: #ccebd7; /* Pastel green */
171140
}
172141

173142
.tech-tag.expressjs {
174-
background-color: #000000;
143+
background-color: #e6e6e6; /* Pastel gray */
175144
}
176145

177-
/* Hoặc màu xám #68A063 */
178146
.tech-tag.php {
179-
background-color: #777BB4;
147+
background-color: #f2e6d9; /* Pastel beige */
180148
}
181149

182150
.tech-tag.mysql {
183-
background-color: #4479A1;
151+
background-color: #d9e6f2; /* Pastel light blue */
184152
}
185153

186154
.tech-tag.firebase {
187-
background-color: #FFCA28;
188-
color: #000;
155+
background-color: #fff2cc; /* Pastel yellow */
189156
}
190157

191-
/* Firebase màu vàng, chữ đen */
192158
.tech-tag.java {
193-
background-color: #007396;
159+
background-color: #f2d9e6; /* Pastel pink */
194160
}
195161

196-
/* Hoặc màu cam #f89820 */
197162
.tech-tag.android {
198-
background-color: #3DDC84;
163+
background-color: #e0f2e6; /* Pastel green */
199164
}
200165

201-
/* Hoặc màu cam #f89820 */
202166
.tech-tag.github {
203-
background-color: #16d0ff;
204-
color: #000;
167+
background-color: #e6f0fa; /* Pastel light blue */
205168
}
206169

207-
208170
.tech-tag.python {
209-
background-color: #3776AB;
171+
background-color: #d9e6f2; /* Pastel light blue */
210172
}
211173

212174
.tech-tag.tensorflow {
213-
background-color: #FF6F00;
175+
background-color: #ffe0b2; /* Pastel orange */
214176
}
215177

216178
.tech-tag.keras {
217-
background-color: #D00000;
179+
background-color: #f2d9d9; /* Pastel red */
218180
}
219181

220182
.tech-tag.opencv {
221-
background-color: #5C3EE8;
183+
background-color: #e6d9f2; /* Pastel purple */
222184
}
223185

224186
.tech-tag.colab {
225-
background-color: #F9AB00;
226-
color: #000;
187+
background-color: #fff2cc; /* Pastel yellow */
227188
}
228189

229190
.tech-tag.git {
230-
background-color: #F05032;
191+
background-color: #f2e0e6; /* Pastel pink */
231192
}
232193

233194
.tech-tag.figma {
234-
background-color: #F24E1E;
195+
background-color: #e6e0f2; /* Pastel lavender */
235196
}
236197

237-
/* Thêm các màu khác nếu cần */
238-
239198
.project-card-image {
240199
max-width: 150px;
241200
display: block;

0 commit comments

Comments
 (0)