-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
113 lines (91 loc) · 2.06 KB
/
style.css
File metadata and controls
113 lines (91 loc) · 2.06 KB
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
body,ul, h2, p {
margin : 0;
padding: 0;
}
li {
list-style-type: none;
}
body {
background-color: #111;
color: #999;
}
.wrapper {
display: flex;
height: 100vh;
justify-content: center;
align-items: center;
}
.team {
display: flex;
justify-content: center;
align-items: center;
}
.team-item {
flex-basis: 300px;
flex-shrink: 0;
margin : 0 10px;
transition: all .4s;
}
.team-item:hover {
flex-basis: 300px;
margin : 0 20px;
}
.team-item img{
width : 100%;
}
.profile {
background-color: #222;
position: relative;
}
.profile:before{
content: ' ';
/*Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#000000+0,000000+100&0+0,0.95+100*/
background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.95) 100%); FF3.6-15
background: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); Chrome10-25,Safari5.1-6
background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.95) 100%); W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#f2000000',GradientType=0 ); IE6-9
position: absolute;
left:0;
right:0;
bottom:0;
height: 10px;
}
.profile_red{
color: rgb(182, 72, 72);
}
.profile_beige{
color: rgba(224, 119, 0, 0.671);
}
.profile_purple{
color: rgba(241, 255, 179, 0.733);
}
.profile_green{
color: rgb(255, 123, 211);
}
.profile-contents{
left: 0;
bottom: 0;
padding: 10px;
}
.profile-contents h2{
font-size: 20px;
}
.profile-contents h2 span{
display: block;
font-size: 18px;
}
.profile-contents p{
color: white;
font-size: 12px;
min-width: 150px;
max-height: 0;
overflow: hidden;
line-height: 1.2;
transition: all .4s;
opacity: 0;
}
.team-item:hover .profile-contents p{
opacity: 1;
max-height: 6em;
margin-top:0.2em;
}