|
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 | | - |
216 | 1 | .mood-result-container { |
217 | 2 | max-width: 1200px; |
218 | 3 | margin: 0 auto; |
|
0 commit comments