-
Notifications
You must be signed in to change notification settings - Fork 0
/
social.css
107 lines (105 loc) · 2 KB
/
social.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
@import "//codepen.io/chrisdothtml/pen/ojLzJK.css";
.social-btns .btn,
.social-btns .btn:before,
.social-btns .btn .fa {
transition: all 0.35s;
transition-timing-function: cubic-bezier(0.31, -0.105, 0.43, 1.59);
}
.social-btns .btn:before {
top: 90%;
left: -110%;
}
.social-btns .btn .fa {
transform: scale(0.8);
}
.social-btns .btn.facebook:before {
background-color: #3b5998;
}
.social-btns .btn.facebook .fa {
color: #3b5998;
}
.social-btns .btn.twitter:before {
background-color: #3cf;
}
.social-btns .btn.twitter .fa {
color: #3cf;
}
.social-btns .btn.gitlab:before {
background-color: #e2432a;
}
.social-btns .btn.gitlab .fa {
color: #e2432a;
}
.social-btns .btn.medium:before {
background-color: #000;
}
.social-btns .btn.medium .fa {
color: #000;
}
.social-btns .btn.email:before {
background-color: #d6249f;
}
.social-btns .btn.email .fa {
color: #d6249f;
}
.social-btns .btn.linkedin:before {
background-color: #211f1f;
}
.social-btns .btn.linkedin .fa {
color: #211f1f;
}
.social-btns .btn:focus:before,
.social-btns .btn:hover:before {
top: -10%;
left: -10%;
}
.social-btns .btn:focus .fa,
.social-btns .btn:hover .fa {
color: #fff;
transform: scale(1);
}
.social-btns-wrapper {
padding: 40px 20px;
min-height: 300px;
background: #ecf0f1;
display: flex;
flex-flow: column;
}
.social-btns {
margin: auto;
display: flex;
width: 100%;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
.social-btns .btn {
display: inline-block;
padding-top: 25px;
background-color: #fff;
width: 90px;
height: 90px;
line-height: 90px;
margin: 20px 10px;
text-align: center;
position: relative;
overflow: hidden;
border-radius: 28%;
box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
opacity: 0.99;
}
.social-btns .btn:before {
content: "";
width: 120%;
height: 120%;
position: absolute;
transform: rotate(45deg);
}
.social-btns .btn .fa {
font-size: 38px;
vertical-align: middle;
}
.social-headers {
font-size: 40px;
font-weight: bold;
}