-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (85 loc) · 1.45 KB
/
style.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
*{
margin: 0;
padding: 0;
font-family: 'Poppins', sans-serif;
box-sizing: border-box;
}
body{
/*background: #39297b;*/
background: #36454f;
color: white;
}
h1{
text-align: center;
margin: 100px auto 50px;
}
/*======= Form ======*/
form{
width: 90%;
max-width: 600px;
margin: auto;
height: 60px;
background: #434989;
display: flex;
align-items: center;
}
#search-form{
text-align: center;
}
form input{
height: 100%;
flex: 1;
padding: 0px 38px;
border: 0;
outline: 0;
background: transparent;
color: white;
font-size: 18px;
border-radius: 8px;
}
form button{
height: 100%;
padding: 0px 40px;
background: #ff3929;
color: white;
border: 0;
outline: 0;
font-size: 18px;
cursor: pointer;
border-top-right-radius: 8px;
border-bottom-right-radius: 8px;
}
::placeholder{
color: white;
font-size: 18px;
}
#btn{
background-color: #ff3929;
color: white;
padding: 10px 20px;
border-radius: 4px;
margin: 10px auto 100px;
cursor: pointer;
border: 0;
outline: 0;
display: none;
font-size: 15px;
}
#search-result{
width: 80%;
margin: 100px auto 50px;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-gap: 40px;
}
#search-result img{
width: 100%;
height: 200px;
object-fit: cover;
border: 5px;
}
#txt{
text-align: center;
margin-top: 10px;
color: #7a7ea7;
}