-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
100 lines (86 loc) · 1.77 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
body {
margin: 0;
padding: 0;
}
/* style on superhero image */
#superhero {
background-image: url("./images/waldemar-brandt-eIOPDU3Fkwk-unsplash.jpg");
background-size: cover;
box-sizing: border-box;
width: 100%;
height: 89vh;
text-align: center;
}
#img-lft {
width: 14rem;
height: inherit;
}
/* superhero list item */
#adding-list::-webkit-scrollbar {
display: none;
}
#adding-list {
overflow: scroll;
display: inline-block;
width: 40%;
height: 75vh;
box-sizing: border-box;
margin: 50px 0;
background-color: rgba(255, 255, 255, 0.9);
opacity: 1;
list-style: none;
text-align: center;
overflow-x: hidden;
}
#adding-list li {
margin: 0;
padding: 0;
box-sizing: border-box;
flex-wrap: wrap;
width: 100%;
height: 35%;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2px dashed black;
}
#adding-list li:hover {
background-color: black;
color: whitesmoke;
cursor: pointer;
}
/* heading */
#adding-list li h1 {
width: 100px;
transition: 0.5s all ease-in-out;
padding: 20px;
font-size: 30px;
}
#adding-list li h1:hover {
text-shadow: 0px 0px 0px 10px whitesmoke;
transform: scale(1.3);
}
/* image */
#adding-list li img {
left: 10rem;
width: 120px;
height: 120px;
min-width: 100px;
min-height: 100px;
transition: 0.5s all ease-in-out;
}
#adding-list li img:hover {
transform: scale(1.3);
box-shadow: 0px 0px 5px 5px whitesmoke;
}
/* icon heart */
#adding-list li i {
padding-right: 20px;
font-size: 2rem;
color: darkcyan;
transition: 0.5s all ease-in-out;
}
#adding-list li i:hover {
text-shadow: 0px 0px 50px whitesmoke;
transform: scale(1.2);
}