-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
117 lines (101 loc) · 2.12 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
109
110
111
112
113
114
115
116
117
body{
margin:0;
padding: 0;
font-family: 'Ubuntu', sans-serif;
}
.card-complete{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 300px;
height: 300px;
transform-style: preserve-3d;
perspective: 600px;
}
.card-complete .card-front{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #5ac8fa;
background-image: linear-gradient(180deg, #5ac8fa 0%, #153341 100%);
backface-visibility: hidden;
backface-visibility: hidden;
transform: rotateX(0deg);
transition: 0.5s;
}
.card-complete .card-front #prof-pic{
width: 300px;
height: 300px;
}
.card-complete .card-front #arrow{
position: absolute;
top: 90%;
left: 90%;
color: #1c1c1e;
height: 20px ;
width: 20px ;
}
.card-complete:hover .card-front{
transform: rotateX(-180deg);
}
.card-complete .card-back{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #1c1c1e;
backface-visibility: hidden;
transform: rotateX(180deg);
transition: 0.5s;
}
.card-complete .card-back #logo{
width: 100px;
height: 100px;
}
.card-complete:hover .card-back{
transform: rotateX(0deg);
}
.card-complete .card-back .card-details{
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
text-align: center;
box-sizing: border-box;
}
.card-complete .card-back .card-details h2{
margin: 0;
padding: 0;
font-size: 24px;
color: #f7f2f2;
}
.card-complete .card-back .card-details span{
margin: 0;
padding: 0;
font-size: 16px;
color: #a7a7a7;
}
.social-icons{
padding: 10px 0;
}
.social-icons a{
display: inline-block;
width: 36px;
height: 36px;
text-align: center;
background: #1c1c1e;
color: #5ac8fa;
text-decoration: none;
border-radius: 50%;
}
.social-icons a .fa{
line-height: 36px;
}
.social-icons a:hover{
background: #5ac8fa;
color: #1c1c1e;
}