-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresults.css
174 lines (149 loc) · 2.58 KB
/
results.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Lato', sans-serif;
background-color: #f2f2f2;
}
header {
background-color: #fff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
position: fixed;
width: 100%;
top: 0;
left: 0;
z-index: 999;
}
header nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px;
}
header nav img {
height: 50px;
}
header nav ul {
display: flex;
}
header nav ul li {
list-style: none;
margin-right: 220px;
}
header nav ul li a {
text-decoration: none;
color: #333;
font-size: 22px;
font-weight: 700;
}
header nav form {
display: flex;
}
header nav form input[type="text"] {
border: none;
border-radius: 25px 0 0 25px;
padding: 10px 20px;
font-size: 16px;
width: 350px;
height: 50px;
}
header nav form button[type="submit"] {
background-color: #333;
color: #fff;
border: none;
border-radius: 0 25px 25px 0;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
}
.results {
padding: 80px;
}
.results h2 {
font-size: 36px;
font-weight: 700;
margin-bottom: 40px;
}
.card {
background-color: #ffffff;
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 20px;
margin-bottom: 40px;
margin-right: 30px;
display: inline-block;
text-align: center;
max-width: 300px;
}
.card img {
width: 100%;
height: auto;
object-fit: cover;
border-radius: 10px;
margin-bottom: 20px;
}
.card h3 {
font-size: 20px;
font-weight: 800;
margin-bottom: 20px;
text-align: center;
max-height: 30px;
overflow: hidden;
text-overflow: ellipsis;
}
.card a {
text-decoration: none;
background-color: #333;
color: #ffffff;
padding: 10px 20px;
border-radius: 25px;
font-size: 16px;
font-weight: 700;
}
.results-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 40px;
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 40px;
}
footer p {
font-size: 16px;
margin-bottom: 0;
}
.hero {
background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(cover.jpg);
background-size: cover;
background-position: center;
height: 50vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
color: #fff;
}
.hero h1 {
font-size: 48px;
font-weight: 700;
margin-bottom: 20px;
}
.hero p {
font-size: 16px;
margin-bottom: 20px;
}
.hero a {
background-color: #333;
color: #fff;
padding: 15px 30px;
border-radius: 25px;
text-decoration: none;
font-size: 16px;
font-weight: 700;
}