-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.css
130 lines (107 loc) · 2.11 KB
/
home.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
*{
background-color: black;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
h1{
margin-top: 5px;
font-size: 4rem;
text-transform: uppercase;
background: url(https://trumpwallpapers.com/wp-content/uploads/Marvel-Wallpaper-03-1920-x-1080.jpg) 0 0 / cover repeat;
background-size: contain;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center;
font-weight: 900;
}
#favourite{
background-color: #94051a;
position: absolute;
top: 20px;
width: 90px;
padding: 5px;
text-align: center;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}
#favourite:hover{
transform: scale(1.1);
box-shadow: 1px 1px 1px 1px #94051a;
cursor: pointer;
}
#search-bar{
width: 20rem;
margin: auto;
cursor: pointer;
}
input{
width: 100%;
outline: none;
border: 2px solid #94051a;
border-radius: 40px;
padding: 5px;
margin: 5px;
}
i{
font-size: 2rem;
padding-top: 5px;
}
.search-suggestions{
width: 60%;
position: absolute;
left:30%;
}
.item-container{
padding: 5px;
transition: ease-in .2s;
width: 80%;
display: flex;
justify-content: space-between;
}
.item-container:hover{
transform: scale(1.1);
box-shadow: 2px 2px 2px 2px #94051a;
cursor: pointer;
}
.item{
width: 70%;
}
/* list item features */
li{
list-style: none;
border: #94051a solid 2px;
width: 50%;
margin: auto;
margin-top: 10px;
transition: ease-in .2s;
padding: 10px;
border-radius: 60px;
}
li:hover{
transform: scale(1.1);
box-shadow: 2px 2px 2px 2px #94051a;
cursor: pointer;
}
li img{
width: 5rem;
height: 5rem;
border: #94051a dotted 5px;
border-radius: 50%;
}
/* common class */
.beFlex{
display: flex;
justify-content: space-between;
margin: 10px;;
}
.name{
font-size: 2rem;
margin-left: 10px;
padding: auto;
width: 75%;
}
.description{
font-size: 1.2rem;
margin-left: 10px;
margin-top: 3px;
}