-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle-abt.css
More file actions
112 lines (97 loc) · 1.49 KB
/
style-abt.css
File metadata and controls
112 lines (97 loc) · 1.49 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
body{
margin:0;
color:#333;
background:#ffffff;
font-family:sans-serif;
}
h1{
text-align:center;
font-family:serif;
font-size:3em;
color:rgb(0, 0, 0)
}
#team{
display:flex;
flex-wrap: wrap;
flex-grow:3;
}
.card {
width:33%;
min-width: 250px;
height: 300px;
overflow: hidden;
position: relative;
margin:0 0.5% 1% 0;
display:inline-block
}
.card:nth-of-type(3n){
margin-right:0;
}
.card img {
width: 100%;
min-height:100%;
transition:all 0.9s
}
.card:hover img{
transform:scale(1.2,1.2)
}
.data {
position: absolute;
bottom: 5%;
background: #fff;
text-align:center;
width: 90%;
height: 80px;
overflow: hidden;
left: 0;
right: 0;
margin: 0 auto;
padding: 10px 5%;
box-sizing: border-box;
opacity: 0.8;
transition: all 0.4s
}
.card:hover .data {
width: 100%;
height: 100%;
bottom: 0;
opacity: 0.9;
padding:90px 10%
}
.data h2 {
margin: 0 0 5px 0;
transition:color 0.4s
}
.data p {
opacity: 0;
text-align:justify;
transition: all 0.2s
}
.card:hover .data p,.card:hover .data a {
opacity: 1
}
.data a{
color:#333;
text-decoration:none;
padding:20px;
opacity:0
}
.data a:hover,.card:hover h2{
color:#38c
}
@media (max-width:799px){
.card {width:100%;margin-right:0}
}
/* follow me @nodws */
.btn-twtr{
color:#ddd;
border:2px solid;
border-radius:3px;
text-decoration:none;
display:inline-block;
padding:5px 10px;
font-family:sans-serif;
font-weight:600;
margin-top:100px;
opacity:0.8
}