/
style.css
114 lines (101 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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #222;
font-family: Arial, Helvetica, sans-serif;
}
a,
a.active,
a.focus,
a.hover,
a.visited {
color: inherit;
text-decoration: none;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
height: 100vh;
min-height: 300px;
}
.accordion {
-webkit-box-shadow: 0px 0px 100px 5px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 100px 5px rgba(0,0,0,0.5);
box-shadow: 0px 0px 100px 5px rgba(0,0,0,0.5);
background-color: #333;
width: 910px;
min-width: 910px;
display: block;
list-style-type: none;
overflow: hidden;
height: 200px;
margin: 0 auto;
}
ul li.tab {
display: inline-block;
float: left;
background-color: #444;
border-right: 1px solid #333;
width: 100px;
height: 200px;
position: relative;
margin: 0;
transition: all 0.5s ease-in-out 0.1s;
overflow: hidden;
}
li.tab .social {
float: left;
height: 200px;
line-height: 200px;
text-align: center;
vertical-align: middle;
width: 100px;
font-size: 40px;
color: white;
}
.tab:hover {
width: 610px;
}
.tab .content {
background: #fff;
width: 510px;
height: 200px;
margin-left: 100px;
position: relative;
}
.tab .content .content-wrapper {
display: flex;
flex-direction: column;
justify-content: center;
height: 200px;
padding: 0 35px 0 35px;
width: 510px;
}
.tab .content h2 {
font-size: 25px;
font-weight: 700;
margin-bottom: 10px;
}
.tab .content p {
font-size: 16px;
line-height: 1.4rem;
}
.tab:hover .social a {
color: #ffffff;
}
.facebook:hover .social {
background: #3b5998;
}
.twitter:hover .social {
background: #00aced;
}
.linkedin:hover .social {
background: #007bb6;
}
.github:hover .social {
background: #171516;
}