-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
108 lines (108 loc) · 2.1 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
body,h1,h2,h3,h4,h5,h6,p
{
color: white;
background-color: rgb(156, 81, 226);
}
h1
{
text-align: center;
}
input {
width: 30%;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
font-size: 16px;
background-color: white;
background-image: url('./searchicon.png');
background-position: 10px 10px;
background-repeat: no-repeat;
background-size: 5%;
padding: 12px 20px 12px 40px;
}
#container{
width: 80%;
margin: 0 auto;
margin-top: 50px;
margin-left: 450px;
text-align: center;
display: grid;
grid-template-columns: repeat(4,1fr);
grid-template-rows: auto;
gap: 30px;
}
#container>div{
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
#container>div>h2{
margin: 8px 20px;
text-align: center;
}
#container>div>img{
width: 100%;
}
#top
{
margin-top: 50px;
text-align: center;
}
#result {
height: 295px;
width: 500px;
overflow-y: auto;
margin: auto;
}
#result::-webkit-scrollbar {
display: none;
}
.card {
height: 90px;
width: 90%;
display: grid;
grid-template-columns: 30% 70%;
grid-template-rows: 100%;
gap: 5px;
margin: auto;
cursor: pointer;
}
.image {
height: 100%;
width: 100%;
}
.p{
font-weight: bolder;
color: white;
width: 100%;
height: 100%;
display: flex;
}
#heading
{
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
font-size: 25px;
margin-left: 200px;
}
#display_box
{
margin-top: -350px;
margin-left: 1000px;
width: 400px;
box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}
#trending_btn
{
float: right;
margin-right: 10px;
}
a
{
background-color: teal;
color: white;
padding: 12px 24px;
font-weight: bold;
font-size: large;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 10px;
}