-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
106 lines (88 loc) · 1.43 KB
/
main.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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
body {
margin: 1rem;
font-family: serif;
}
#metabar {
position: fixed;
box-sizing: border-box;
display: flex;
justify-content: space-between;
top: 0;
left: 0;
width: 100%;
padding: 0.4rem 1.2rem;
background-image: linear-gradient(#d2d2d2, #e7e7e7);
border-bottom: #888 1px solid;
}
#metabar .title,
#metabar .author {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
#metabar .title {
margin-right: 0.8rem;
}
#content {
max-width: 600px;
margin: 0 auto;
}
#footer {
position: fixed;
padding: 0.4rem 1.2rem;
bottom: 0;
left: 0;
width: 100%;
background-image: linear-gradient(#f3f3f3, #ffffff);
border-top: #eee 1px solid;
}
#footer p {
margin: 0 auto;
max-width: 600px;
color: grey;
}
#footer a:any-link {
color: grey;
text-decoration: none;
}
#footer a:hover {
text-decoration: underline;
}
.page {
padding: 2rem 0 4rem;
}
.page:target ~ .page:last-child,
.page {
display: none;
}
.page:last-child,
.page:target {
display: block;
}
p.heading {
font-weight: bold;
font-size: 1.4rem;
text-align: center;
}
p.subheading {
font-weight: bold;
font-size: 1rem;
text-align: center;
}
p.bold {
font-weight: bold;
}
ul.choices {
list-style: square;
}
ul.choices li {
margin-bottom: 0.4rem;
}
ul.choices li a:any-link,
ul.choices li a:visited {
text-decoration: none;
color: rgb(0, 0, 238);
}
ul.choices li a:hover {
text-decoration: underline;
}