-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.css
58 lines (51 loc) · 846 Bytes
/
default.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
html,
body {
padding: 0;
margin: 0;
font-family: arial, helvetica;
font-size: 16px;
}
.nav {
z-index: 100;
padding: 20px;
font-size: 20px;
position: fixed;
box-sizing: border-box;
left: 0;
top: 0;
bottom: 0;
background-color: rgba(255, 255, 255, .2);
display: flex;
flex-direction: column;
width: 20px;
align-items: center;
justify-content: center;
}
.nav a {
text-align: center;
display: block;
cursor: pointer;
}
.wrapper {
width: 100%;
height: 100vh;
overflow: hidden;
position: fixed;
top: 0;
left: 0;
right: 0;
}
.container {
transition: linear 0.6s transform;
}
section {
height: 100vh;
box-sizing: border-box;
padding: 40px 80px;
}
section:nth-of-type(even) {
background-color: rgba(0, 0, 0, .1);
}
section:nth-of-type(odd) {
background-color: rgba(0, 0, 0, .3);
}