-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
146 lines (113 loc) · 1.9 KB
/
index.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#banner {
object-fit: contain;
display: flex;
justify-content: center;
}
#banner > img {
width: 80%;
max-height: 300px;
}
.search {
height: 40px;
width: 28%;
}
.form-search {
max-height: 16rem;
width: 100%;
border: 1px solid #bbb;
border-radius: 8px;
padding: 10px 12px;
font-size: 14px;
}
#header-area{
display: flex;
justify-content: space-evenly;
align-items: center;
height: 6rem;
width: 100%;
}
#logo {
max-width: 16rem;
min-width: 10rem;
float: left;
cursor: pointer;
}
#upload-btn {
cursor: pointer;
text-decoration: none;
height: 3rem;
width: 8rem;
display: inline-flex;
align-items: center;
justify-content: center;
border: 3px solid #bbb;
border-radius: 10%;
border-color: rgb(241, 241, 241);
}
#product-list {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.product-card {
cursor: pointer;
width: 180px;
height: 300px;
border: 1px solid rgb(230, 230, 230);
margin-top: 12px;
border-radius: 8px;
margin-left: 10px;
position: relative;
}
@media screen and (max-width : 400px){
.product-card{
width: 160px !important;
}
#header {
padding: 0 8px;
}
#app {
padding: 0 8px;
}
}
.product-blur{
position : absolute;
left : 0;
top : 0;
right : 0;
bottom: 0;
filter: blur(10px);
}
.product-img {
width: 100%;
height: 60%;
object-fit: contain;
}
.product-content {
align-items: baseline;
display: flex;
flex-direction: column;
margin: 8px;
}
.product-price {
font-weight: 600;
margin-top: 4px;
}
.product-seller {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 2rem
}
.product-seller > div{
display: flex;
}
.product-avatar {
width: 24px;
height: 100%;
}
.product-link {
color : inherit; /* 원래 색상 */
text-decoration: none; /* a태그일때 밑줄 삭제. */
}