Skip to content

Commit 01c5f1a

Browse files
committed
[deploy] load static
1 parent a5ba796 commit 01c5f1a

10 files changed

Lines changed: 585 additions & 962 deletions

File tree

staticfiles/css/main/main.css

Lines changed: 104 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,6 +497,7 @@
497497
.vote-message-info {
498498
background: linear-gradient(135deg, #2196f3, #1976d2);
499499
color: white;
500+
white-space: pre-wrap;
500501
}
501502

502503
@keyframes slideDown {
@@ -745,6 +746,108 @@
745746
margin: 0;
746747
}
747748

749+
/* 투표 결과 부분 css */
750+
.prev-result {
751+
display: flex;
752+
align-items: center;
753+
gap: 20px;
754+
height: 100px;
755+
padding: 15px;
756+
background-color: #f7f9fc;
757+
border: 1px solid #e9ecef;
758+
border-radius: 16px;
759+
box-sizing: border-box;
760+
overflow: hidden;
761+
margin: 20px 0 0 0;
762+
}
763+
764+
/* 왼쪽: 우승자 정보 */
765+
.prev-result__winner {
766+
display: flex;
767+
align-items: center;
768+
flex-shrink: 0;
769+
text-decoration: none;
770+
color: inherit;
771+
}
772+
773+
.winner__image {
774+
width: 50px;
775+
height: 50px;
776+
border-radius: 50%;
777+
object-fit: cover;
778+
margin-right: 12px;
779+
border: 2px solid #fff;
780+
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
781+
}
782+
783+
.winner__info {
784+
display: flex;
785+
flex-direction: column;
786+
}
787+
788+
.winner__label {
789+
font-size: 12px;
790+
color: #868e96;
791+
}
792+
793+
.winner__name {
794+
font-size: 16px;
795+
font-weight: bold;
796+
color: #212529;
797+
}
798+
799+
/* 오른쪽: 상세 득표율 */
800+
.prev-result__details {
801+
display: flex;
802+
flex-direction: column;
803+
gap: 8px;
804+
width: 100%;
805+
}
806+
807+
a.details__bar {
808+
display: flex;
809+
align-items: center;
810+
gap: 8px;
811+
font-size: 13px;
812+
text-decoration: none;
813+
color: inherit;
814+
}
815+
816+
a.details__bar:hover {
817+
background-color: rgba(0, 0, 0, 0.03);
818+
}
819+
820+
.bar__label {
821+
width: 100px; /* 라벨 너비를 고정해 정렬 */
822+
color: #495057;
823+
white-space: nowrap;
824+
overflow: hidden;
825+
text-overflow: ellipsis;
826+
}
827+
828+
.bar__progress {
829+
flex-grow: 1; /* 남은 공간을 모두 차지 */
830+
height: 10px;
831+
background-color: #e9ecef;
832+
border-radius: 5px;
833+
overflow: hidden; /* fill이 삐져나가지 않도록 */
834+
}
835+
836+
.bar__fill {
837+
height: 100%;
838+
background-color: #4C6EF5;
839+
border-radius: 5px;
840+
transition: width 0.5s ease-in-out;
841+
}
842+
843+
.bar__percentage {
844+
width: 35px;
845+
font-weight: bold;
846+
color: #343a40;
847+
text-align: right;
848+
flex-shrink: 0;
849+
}
850+
748851
/* 반응형 디자인 */
749852
@media (max-width: 768px) {
750853
.main-features {
@@ -989,7 +1092,7 @@
9891092

9901093
.pc-btn { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border-radius:12px; font-weight:800; font-size:14px; border:1px solid transparent; cursor:pointer; text-decoration:none; }
9911094
.pc-btn.primary { background: var(--pc-brand); color:#fff; box-shadow:0 8px 18px rgba(111,76,255,.28); }
992-
.pc-btn.primary:hover { background: var(--pc-brand-600); }
1095+
.pc-btn.primary:hover { background: var(--pc-brand-600); text-decoration: none;}
9931096
.pc-btn.ghost { background:#fff; border-color:var(--pc-line); color:#111; }
9941097
.pc-btn.ghost:hover { background:#fbfaff; border-color:#d9d3ff; }
9951098

staticfiles/css/moodtest/mood_result.css

Lines changed: 0 additions & 215 deletions
Original file line numberDiff line numberDiff line change
@@ -1,218 +1,3 @@
1-
/*
2-
이전 css인데 혹시몰라서 저장해놓음
3-
.mood-result-container {
4-
padding: 50px 20px;
5-
max-width: 900px;
6-
margin: 0 auto;
7-
display: flex;
8-
flex-wrap: wrap;
9-
flex-direction: column;
10-
gap: 40px;
11-
justify-content: center;
12-
}
13-
14-
.mood-summary-section {
15-
flex: 1 1 350px;
16-
background-color: #fff;
17-
padding: 30px;
18-
border-radius: 10px;
19-
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
20-
text-align: center;
21-
}
22-
23-
.mood-summary-section .icon {
24-
font-size: 2.5em;
25-
margin-bottom: 15px;
26-
color: darkslategray;
27-
}
28-
29-
.mood-summary-section h2 {
30-
font-size: 1.8em;
31-
color: #333;
32-
margin-bottom: 10px;
33-
}
34-
35-
.mood-summary-section p {
36-
color: #666;
37-
font-size: 1.1em;
38-
margin-bottom: 25px;
39-
line-height: 1.5;
40-
}
41-
42-
.color-palette {
43-
display: flex;
44-
justify-content: center;
45-
gap: 15px;
46-
margin-bottom: 25px;
47-
}
48-
49-
.color-box {
50-
width: 50px;
51-
height: 50px;
52-
border-radius: 50%;
53-
border: 1px solid rgba(0, 0, 0, 0.1);
54-
}
55-
56-
.tag-list {
57-
display: flex;
58-
flex-wrap: wrap;
59-
justify-content: center;
60-
gap: 10px;
61-
margin-bottom: 30px;
62-
font-weight: bold;
63-
64-
}
65-
66-
.tag {
67-
background-color: #f0f0f0;
68-
color: #555;
69-
padding: 8px 15px;
70-
border-radius: 20px;
71-
font-size: 0.9em;
72-
}
73-
74-
.mood-category-selector {
75-
display: flex;
76-
justify-content: center;
77-
gap: 15px;
78-
margin-bottom: 30px;
79-
}
80-
81-
.mood-category-selector button {
82-
background-color: #f7f7f7;
83-
color: #555;
84-
border: 1px solid #ddd;
85-
padding: 10px 20px;
86-
border-radius: 25px;
87-
cursor: pointer;
88-
font-size: 1em;
89-
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
90-
}
91-
92-
.mood-category-selector button.active {
93-
background-color: darkslategray;
94-
color: white;
95-
border-color: darkslategray;
96-
}
97-
98-
.mood-category-selector button:hover:not(.active) {
99-
background-color: #ffeef2;
100-
border-color: #ffb3c1;
101-
}
102-
103-
.recommendation-section {
104-
flex: 2 1 600px;
105-
min-width: 600px;
106-
background-color: #fff;
107-
padding: 30px;
108-
border-radius: 10px;
109-
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
110-
}
111-
112-
.recommendation-section h3 {
113-
font-size: 1.5em;
114-
color: #333;
115-
margin-bottom: 25px;
116-
text-align: center;
117-
}
118-
119-
.recommended-product-grid {
120-
display: grid;
121-
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
122-
gap: 25px;
123-
}
124-
125-
.recommended-product-card {
126-
border: 1px solid #eee;
127-
border-radius: 10px;
128-
overflow: hidden;
129-
text-align: center;
130-
padding: 20px;
131-
display: flex;
132-
flex-direction: column;
133-
align-items: center;
134-
transition: box-shadow 0.3s ease;
135-
position: relative;
136-
}
137-
138-
.recommended-product-card:hover {
139-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
140-
text-decoration: none;
141-
}
142-
143-
.recommended-product-card .product-type-label {
144-
background-color: #ffeef2;
145-
color: darkslategray;
146-
padding: 5px 10px;
147-
border-radius: 15px;
148-
font-size: 0.8em;
149-
font-weight: bold;
150-
margin-bottom: 15px;
151-
}
152-
153-
.recommended-product-card img {
154-
width: 120px;
155-
height: 120px;
156-
object-fit: contain;
157-
margin-bottom: 15px;
158-
}
159-
160-
.recommended-product-card .brand-name {
161-
font-size: 0.9em;
162-
color: #888;
163-
margin-bottom: 5px;
164-
}
165-
166-
.recommended-product-card .product-name {
167-
font-weight: bold;
168-
color: #333;
169-
margin-bottom: 10px;
170-
min-height: 40px;
171-
display: -webkit-box;
172-
-webkit-line-clamp: 2;
173-
-webkit-box-orient: vertical;
174-
overflow: hidden;
175-
}
176-
177-
.recommended-product-card .price {
178-
font-size: 1em;
179-
color: #ff6699;
180-
font-weight: bold;
181-
margin-bottom: 15px;
182-
}
183-
184-
.product-rating {
185-
display: flex;
186-
align-items: center;
187-
justify-content: center;
188-
font-size: 0.9em;
189-
color: #888;
190-
margin-bottom: 10px;
191-
}
192-
193-
.product-rating .star-icon {
194-
color: gold;
195-
margin-right: 5px;
196-
}
197-
198-
.purchase-button {
199-
background-color: darkslategray;
200-
color: white;
201-
border: none;
202-
padding: 10px 20px;
203-
border-radius: 20px;
204-
cursor: pointer;
205-
font-size: 0.9em;
206-
transition: background-color 0.3s ease;
207-
width: 100%;
208-
max-width: 150px;
209-
}
210-
211-
.purchase-button:hover {
212-
background-color: darkgray;
213-
}
214-
*/
215-
2161
.mood-result-container {
2172
max-width: 1200px;
2183
margin: 0 auto;

0 commit comments

Comments
 (0)