-
Notifications
You must be signed in to change notification settings - Fork 1
/
style.scss
73 lines (68 loc) · 900 Bytes
/
style.scss
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
---
# keep the first three line front matter
---
body {
margin: 0;
min-height: 100vh;
display: grid;
grid-template-rows: auto 1fr auto;
grid-template-columns: 100%;
color: #333;
}
a {
text-decoration: none;
color: inherit;
}
body > header {
text-align: center;
position: sticky;
top: -32px;
h1 {
margin: 0;
font-size: 1.5em;
}
}
nav {
background-color: #333;
color: #ccc;
h2 {
display: none;
}
ul {
list-style: none;
margin: 0 auto;
padding: 0;
display: flex;
max-width: 960px;
}
li {
flex-grow: 1;
}
li[aria-current="true"] {
color: #fff;
}
a {
display: block;
padding: .5em 0;
}
}
main {
box-sizing: border-box;
width: 100%;
padding: .5em;
max-width: 960px;
margin: 0 auto;
h1, h2, h3 {
text-align: center;
}
a {
text-decoration: underline;
}
a:hover {
color: #000;
}
}
body > footer {
text-align: center;
padding: .5em 0;
}