-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
61 lines (52 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
body {
font-family: 'PT Serif', serif;
padding: 0;
margin: 0;
-webkit-backface-visibility: hidden;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
}
body h1, body h2 {
font-family: 'Source Sans Pro', sans-serif;
}
.regular-container article .content {
max-width: 600px;
margin: 0 auto;
}
.big-image {
height: 420px;
background-position: center center;
background-repeat: none;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
}
.big-image .text {
width: 200px;
height: 100px;
margin: auto;
color: white;
}
.big-image .fader {
width: 100%;
height: 100%;
background: rgba(0,0,0,0.6);
display: flex;
cursor: pointer;
}
.example-enter {
transform: translate3d(0, 50%, 0);
}
.example-enter.example-enter-active {
transform: translate3d(0, 0, 0);
transition: all 500ms ease-in;
}
.example-leave {
opacity: 1;
}
.example-leave.example-leave-active {
opacity: 0.01;
transform: scale(0.8) translate3d(0, -10%, 0);
transition: all 300ms ease-in;
}