-
Notifications
You must be signed in to change notification settings - Fork 0
/
listingPages.css
137 lines (115 loc) · 2.08 KB
/
listingPages.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
body{
color: var(--DarkGray);
}
#search{
display: flex;
vertical-align: center;
justify-content: center;
}
#search input[type=text] {
border: 2px solid lightgray;
transition: border-color 0.3s ease;
border-radius: 18px;
margin: 20px 20px 0 -5px;
padding-left: 10px;
width: 1200px;
height: 30px;
font-size: 17px;
}
#search input[type=text]:focus {
border: 2px solid var(--DarkRed100);
outline: none;
}
#searchButton{
border: none;
margin-top: 23px;
background-color: var(--DarkRed100);
width: 34px;
height: 34px;
border-radius: 20px;
}
#searchButton:hover{
cursor: pointer;
}
#sidebar{
width: 300px;
height: 500px;
margin: 12px 20px 0 20px;
align-items: top;
background-color: var(--DarkRed100);
display: inline-block;
}
#sidebarContent{
margin-left: 20px;
color: white;
}
#sidebar input{
width: 15px;
height: 15px;
}
#sidebar label{
display: inline-block;
cursor: pointer;
width: 250px;
margin-bottom: 20px;;
}
.listingSection{
width: 1320px;
margin: 20px auto 0 auto;
display: flex;
}
#listings{
width: 970px;
}
.fa-search{
color: white;
}
.listing{
display: inline-block;
width: 300px;
border-color: rgb(188, 188, 188);
border-radius: 15px;
box-shadow: 0 0 5px 0 rgb(188, 188, 188);
margin: 10px 10px 20px 10px;
}
.listing:hover{
animation: fade-shadow 0.25s forwards;
}
.listingText{
margin: 0 10px 0 10px;
height: 105px;
}
.listingImg{
width: 100%;
border-radius: 15px 15px 0 0;
}
.listingTitle{
margin-top: 10px;
margin-bottom: 5px;
}
.listingDescription{
margin-top: 0;
}
.price{
width: 61px;
margin: 4px 0 0 0;
display: inline-block;
}
.CTAbutton{
display: inline;
background-color: var(--DarkRed100);
color: white;
font-size: 14px;
height: 28px;
float: right;
border: none;
border-radius: 5px;
}
.CTAbutton:hover{
cursor: pointer;
background-color: var(--DarkRed050);
}
@keyframes fade-shadow {
0% {box-shadow: 0 0 5px 0 rgb(125, 125, 125);}
100% {box-shadow: 0 0 10px 0 rgb(125, 125, 125);}
}