-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
80 lines (65 loc) · 1.04 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
@import "compass/css3";
@import url('https://fonts.googleapis.com/css?family=Limelight');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font: 14px/1 'Limelight', sans-serif;
color: rgb(55, 55, 55);
background: lightgray
}
.gallery {
width: 690px;
margin: 0 auto;
background: #fff;
box-shadow: 0 1px 1px rgba(0,0,0,.1);
}
.gallery > div {
position: relative;
float: left;
padding: 5px;
}
.gallery > div > img {
width: 220px;
height: 180px;
transition: .1s transform;
transform: translateZ(0);
}
.gallery > div:hover {
z-index: 1;
}
.gallery > div:hover > img {
transform: scale(1.8,1.8);
transition: .3s transform;
}
.cf:before, .cf:after {
display: table;
content: "";
line-height: 0;
}
.cf:after {
clear: both;
}
h1 {
margin: 40px 0;
font-size: 24px;
text-align: center;
}
.subtitulo {
margin: 40px 0;
text-align: center
}
.texto {
font-size: 8px;
text-align: center;
}
.link {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
z-index: 1;
}