Skip to content

Commit 79153df

Browse files
committed
[deploy] collect staticfiles
1 parent 5c6a539 commit 79153df

File tree

8 files changed

+3330
-3280
lines changed

8 files changed

+3330
-3280
lines changed

staticfiles/css/main/main.css

Lines changed: 66 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
align-items: center;
55
padding: 50px 20px;
66
text-align: center;
7+
width: 1020px;
8+
margin-left: 200px;
9+
710
}
811

912
.main-container h3 {
@@ -24,7 +27,7 @@
2427
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
2528
text-align: center;
2629
max-width: 1050px;
27-
width: 90%;
30+
width: 900px;
2831
}
2932

3033
.banner-content h2 {
@@ -144,6 +147,7 @@
144147
font-size: 1.2em;
145148
margin-bottom: 8px;
146149
font-weight: 600;
150+
margin-top: 10px;
147151
}
148152

149153
.search-info p {
@@ -156,7 +160,7 @@
156160
.product-preview {
157161
display: flex;
158162
align-items: center;
159-
gap: 45px;
163+
gap: 20px;
160164
margin-bottom: 20px;
161165
padding-left: 30px;
162166
}
@@ -191,7 +195,7 @@
191195
display: grid;
192196
grid-template-columns: repeat(2, 1fr);
193197
gap: 10px;
194-
margin-bottom: 20px;
198+
margin: 50px 0 30px 0;
195199
}
196200

197201
.mood-option {
@@ -204,6 +208,7 @@
204208
font-weight: 500;
205209
cursor: pointer;
206210
transition: all 0.3s ease;
211+
height: 80px;
207212
}
208213

209214
.mood-option:hover {
@@ -224,8 +229,9 @@
224229

225230
.mini-color-matrix {
226231
position: relative;
227-
width: 500px;
228-
height: 350px;
232+
233+
width: 300px;
234+
height: 250px;
229235
border: 2px solid #ddd;
230236
border-radius: 10px;
231237
overflow: hidden;
@@ -345,7 +351,8 @@
345351
.voting-card {
346352
background: linear-gradient(135deg, #f0f8ff 0%, #fff 100%);
347353
position: relative;
348-
grid-column: 1 / -1; /* 전체 너비 사용 */
354+
grid-column: 1 / -1;
355+
/* 전체 너비 사용 */
349356
}
350357

351358
.voting-products {
@@ -497,6 +504,7 @@
497504
opacity: 0;
498505
transform: translateX(-50%) translateY(-20px);
499506
}
507+
500508
to {
501509
opacity: 1;
502510
transform: translateX(-50%) translateY(0);
@@ -546,7 +554,7 @@
546554
background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.9));
547555
border-radius: 30px;
548556
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
549-
width: 1200px;
557+
width: 1020px;
550558
}
551559

552560
.ranking-section .section-header {
@@ -743,15 +751,15 @@
743751
grid-template-columns: 1fr;
744752
gap: 20px;
745753
}
746-
754+
747755
.mood-options {
748756
grid-template-columns: repeat(2, 1fr);
749757
}
750-
758+
751759
.color-grid {
752760
width: 100px;
753761
}
754-
762+
755763
.color-cell {
756764
width: 30px;
757765
height: 30px;
@@ -781,4 +789,52 @@
781789
width: 100px;
782790
height: 100px;
783791
}
792+
}
793+
794+
.moodico-splash-container {
795+
position: fixed;
796+
top: 0;
797+
left: 0;
798+
width: 100%;
799+
height: 100%;
800+
background-color: black;
801+
display: flex;
802+
justify-content: center;
803+
align-items: center;
804+
z-index: 1000;
805+
transition: opacity 0.5s ease-in-out;
806+
}
807+
808+
.moodico-splash-container.hidden {
809+
opacity: 0;
810+
pointer-events: none;
811+
}
812+
813+
.moodico-banner h3,
814+
.moodico-banner p {
815+
color: mediumpurple;
816+
text-align: center;
817+
opacity: 0;
818+
animation: fadeIn 1s ease-in forwards;
819+
820+
background: linear-gradient(135deg, mediumpurple, #cf8bf3, #f6d2f3);
821+
-webkit-background-clip: text;
822+
-webkit-text-fill-color: transparent;
823+
}
824+
825+
.moodico-banner h3 {
826+
font-size: 3em;
827+
margin-bottom: 10px;
828+
animation-delay: 0.3s;
829+
}
830+
831+
.moodico-banner p {
832+
font-size: 1.5em;
833+
animation-delay: 1s;
834+
}
835+
836+
@keyframes fadeIn {
837+
to {
838+
opacity: 1;
839+
}
784840
}

staticfiles/css/products/rating.css

Lines changed: 20 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
font-size: 1.2rem;
133133
}
134134

135-
.ratings-list {
135+
#ratings-list {
136136
display: flex;
137137
flex-direction: column;
138138
gap: 15px;
@@ -143,6 +143,15 @@
143143
border: 1px solid #e9ecef;
144144
border-radius: 6px;
145145
background-color: #f8f9fa;
146+
display: flex;
147+
flex-direction: column;
148+
gap: 15px;
149+
}
150+
151+
.rating-comment,
152+
.rating-item-images {
153+
width: 100%;
154+
box-sizing: border-box;
146155
}
147156

148157
.rating-item-header {
@@ -213,7 +222,7 @@
213222
gap: 8px;
214223
margin-top: 10px;
215224
flex-wrap: wrap;
216-
justify-content: start;
225+
justify-content: center;
217226
}
218227

219228
.image-box {
@@ -227,7 +236,7 @@
227236
position: relative;
228237
overflow: hidden;
229238
border-radius: 8px;
230-
margin: 0 auto;
239+
margin: 0;
231240
}
232241

233242
.image-box img {
@@ -283,14 +292,6 @@
283292
background: rgba(0, 0, 0, 0.8);
284293
}
285294

286-
/*리뷰 이미지 부분*/
287-
.rating-item-body {
288-
display: grid;
289-
grid-template-columns: 1fr 1fr;
290-
gap: 20px;
291-
align-items: start;
292-
}
293-
294295
/* 리뷰 댓글 */
295296
.rating-item-comment {
296297
font-size: 0.95rem;
@@ -300,33 +301,18 @@
300301
}
301302

302303
.rating-item-images {
303-
display: grid;
304-
gap: 5px;
305-
grid-template-columns: repeat(4, 1fr);
306-
}
307-
308-
/* 이미지가 1개일 때 */
309-
.rating-item-images:has(img:first-child:last-child) {
310-
grid-template-columns: 1fr;
311-
}
312-
313-
/* 이미지가 2개일 때 */
314-
.rating-item-images:has(img:nth-child(2):last-child) {
315-
grid-template-columns: repeat(2, 1fr);
316-
}
317-
318-
/* 이미지가 3개일 때 */
319-
.rating-item-images:has(img:nth-child(3):last-child) {
320-
grid-template-columns: repeat(3, 1fr);
304+
display: flex;
305+
gap: 10px;
306+
flex-wrap: wrap;
307+
justify-content: flex-start;
321308
}
322-
323-
.rating-image {
324-
width: 100%;
325-
aspect-ratio: 1 / 1;
309+
.rating-item-images .rating-image {
310+
width: 100px;
311+
height: 100px;
326312
object-fit: cover;
327313
border-radius: 8px;
328314
cursor: pointer;
329-
transition: transform 0.2s ease-in-out;
315+
border: 1px solid #eee;
330316
}
331317

332318
.image-modal {

staticfiles/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ header nav {
2828
display: flex;
2929
justify-content: space-between;
3030
align-items: center;
31-
max-width: 1200px;
31+
max-width: 1020px;
3232
margin: 0 auto;
3333
}
3434

0 commit comments

Comments
 (0)