-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
221 lines (187 loc) · 3.04 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
html, body {
font-family: Noto Sans, sans-serif;
margin: 0;
padding: 0;
overflow: auto;
}
table {
width: 100%;
}
hr {
color: red;
}
.booktags {
list-style-type: none;
padding: 0;
}
.booktags li {
display: inline-block;
font-size: 12px;
background-color: red;
color: #fff;
padding: 6px 12px;
margin-right: 8px;
font-style: italic;
border-radius: 18px;
margin-top: 8px;
}
.booktags li:hover {
background: #000;
cursor: pointer;
}
.search {
background: #fff;
border-bottom: 1px solid red;
max-width: 600px;
margin: auto;
}
.links {
list-style-type: none;
padding: 16px;
background: #feeeee;
border-radius: 12px;
}
.links a {
text-decoration: none;
}
.links a:hover {
color: black;
text-decoration: underline;
}
#search {
display: block;
width: 100%;
padding: 12px;
margin: 24px 0;
background: #fff;
color: red;
font-size: 16px;
border: none;
outline: red;
}
/* The side navigation menu */
.sidebar {
margin: 0;
padding: 0;
width: 400px;
background-color: #fff;
position: fixed;
height: 100%;
overflow: hidden;
}
/* Sidebar links */
.sidebar a {
display: block;
color: black;
padding: 16px;
text-decoration: none;
}
/* Active/current link */
.sidebar a.active {
background-color: #04AA6D;
color: white;
}
/* Links on mouse-over */
.sidebar a:hover:not(.active) {
background-color: #555;
color: white;
}
/* Page content. The value of the margin-left property should match the value of the sidebar's width property */
div.content {
padding: 32px 16px 1px 16px;
height: 1000px;
margin: 24px auto;
max-width: 600px;
}
/* On screens that are less than 700px wide, make the sidebar into a topbar */
@media screen and (max-width: 800px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar a {float: left;}
div.content {margin-left: 0;}
}
/* On screens that are less than 400px, display the bar vertically, instead of horizontally */
@media screen and (max-width: 400px) {
.sidebar a {
text-align: center;
float: none;
}
}
tr:nth-child(2n) {
background: #eee;
}
td {
padding: 6px;
}
pre {
overflow: auto;
}
blockquote {
border: 1px solid black;
padding: 0 32px;
}
.container {
padding: 4em;
margin: auto;
max-width: 8.5in;
}
h1 img {
width: 100%;
display: block;
margin: auto;
}
p {
line-height: 1.5em;
font-size: 1.1em;
margin: 2em 0;
}
a {
color: red;
}
a:hover {
text-decoration: underline;
}
h1 {
font-size: 4em;
max-width: 600px;
margin: 24px auto;
}
h1 em {
display: block;
font-size: 1rem;
}
h2 {
border-bottom: 0.5rem solid #000;
padding: 0.5rem 0;
font-size: 2em;
}
h3 {
font-size: 1.5em;
}
h3 strong {
display: block;
float: right;
color: white;
background-color: black;
padding: 0 0.5rem;
}
h4 {
font-style: italic;
font-weight: normal;
}
h5 {
font-size: 1em;
font-weight: normal;
font-style: italic;
margin: 0.5em 0 0.5em 2em;
}
h5 em {
display: block;
float: inline-end;
text-align: left;
max-width: 40em;
padding: 0 2rem;
}