forked from luis-almeida/unveil
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
51 lines (51 loc) · 789 Bytes
/
style.css
File metadata and controls
51 lines (51 loc) · 789 Bytes
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
margin: 0;
background: #000;
color: #fff;
font-family: sans-serif;
}
.intro{
height: 100vh;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
}
figure{
margin-bottom: 80px;
position: relative;
overflow: hidden;
transition: opacity 500ms;
}
figcaption{
position: absolute;
top: 0;
width: 100vw;
z-index: 10;
padding: .5em 1em;
background: rgba(0,0,0,.8);
font-family: sans-serif;
font-size: 1.25em;
line-height: 1.2em;
text-align: center;
font-weight: 300;
transition: all 500ms;
}
img{
display: block;
max-height: 100vh;
width: 100%;
object-fit: contain;
}
.link-to-unlazy{
text-align: center;
padding: 1em;
}
a{
color: #fff;
}