-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
68 lines (58 loc) · 997 Bytes
/
styles.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
* {
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
}
body {
background-color: #383830;
color: #FFF;
font-size: 32px;
font-family: sans-serif;
line-height: 1.4;
text-rendering: optimizeLegibility;
}
header, section {
background-color: inherit;
height: 100vh;
margin: 0;
padding: 1vh 2vw;
position: absolute;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
}
header { z-index: 1; }
section { z-index: 0; }
section:target { z-index: 2; }
h1, h2 {
font-family: serif;
font-size: 2em;
}
a {
color: #F92672;
}
a.button {
background-color: #F92672;
border-radius: 2vw;
font-size: 1.2em;
font-weight: 600;
color: #FFF;
padding: 0.5em 0.7em 0.3em;
text-decoration: none;
text-transform: uppercase;
white-space: nowrap;
}
span.highlight {
background-color: #E6DB74;
color: #383830;
font-weight: 400;
padding: 0.1em 0.3em;
}
body.mode--scroll header,
body.mode--scroll section{
position: relative;
z-index: unset;
}