/
style.css
88 lines (73 loc) · 1.16 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
81
82
83
84
85
86
87
88
html, body {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
overflow: hidden;
}
section, header, footer, nav, div, span, ul, li, a {
box-sizing: border-box;
}
header {
position: fixed;
top: 0;
right: 0;
left: 0;
background-color: #f2f2f2;
}
header nav {
}
header ul {
margin: 0;
padding: 0;
list-style: none;
}
header ul li {
display: inline-block;
padding: 0 20px;
}
header ul a {
font-weight: 700;
text-decoration: none;
color: #4d4d4d;
height: 50px;
display: block;
position: relative;
}
header ul a span {
position: relative;
top: 50%;
transform: translateY(-50%);
display: inline-block;
}
section {
float: left;
display: block;
height: 100%;
padding: 75px 0 0 0;
margin: 0;
}
#section-section1 {
background: #2c3e50;
}
#section-section2 {
background: #16a085;
}
#section-section3 {
background: #27ae60;
}
#section-section4 {
background: #c0392b;
}
.horizon-prev, .horizon-next {
position: fixed;
top: 50%;
margin-top: -24px;
z-index: 9999;
}
.horizon-prev {
left: 20px;
}
.horizon-next {
right: 20px;
}