-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
53 lines (43 loc) · 964 Bytes
/
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
@font-face {
font-family: iA Writer Mono;
font-style: italic;
src: url('./iawritermonov-italic.ttf');
}
html, body {
scroll-snap-type: y mandatory;
height: 100%;
overflow-y: scroll;
}
body {
font-family: iA Writer Mono;
font-style: italic;
font-size: 3vmax;
line-height: 1.3;
background-color: #000000;
color: #ffffff;
}
section {
padding: 64px;
height: 100vh;
background-size: 60vmax auto;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
scroll-snap-align: start;
}
section.image1{
background-image: url('./image1.jpg');
}
section.image3{
background-image: url('./image3.jpg');
}
section.image2 {
background-color: #ffffff;
color: #000000;
background-position: center;
background-image: url('./image2.jpg');
background-size: 60vmax auto;
background-position: center;
background-attachment: fixed;
background-repeat: no-repeat;
}