-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsuperhero.css
81 lines (71 loc) · 1.31 KB
/
superhero.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
*{
background-color: black;
color: white;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#home{
background-color: #94051a;
width: 50px;
position: absolute;
top: 20px;
padding: 5px;
text-align: center;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
cursor: pointer;
}
#favourite{
background-color: #94051a;
width: 80px;
position: absolute;
top: 60px;
padding: 5px;
text-align: center;
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
cursor: pointer;
}
i{
position: absolute;
right: 30px;
top: 30px;
color: white;
font-size: 3rem;
cursor: pointer;
}
#Superhero_detail{
width: 80%;
margin: auto;
height: 300px;
}
#photo{
text-align: center;
}
#photo img{
width: 50%;
border: #94051a solid 2px;
border-radius: 50px;
transition: ease-in .5s;
}
#photo img:hover{
transform: rotateX(360deg);
}
#name{
text-align: center;
font-size: 3rem;
margin-top: 10px;
margin-bottom: 20px;
}
.commonHeadingFeatures{
margin-top: 10px;
border: #94051a solid 2px;
padding: 5px;
border-radius: 20px;
text-align: center;
font-size: 1.5rem;
}
.informationList{
font-size: 1rem;
margin: 10px;
padding: 10px;
}