madness 0.9.9 → 1.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +56 -63
- data/app/public/css/main.css +457 -239
- data/app/public/css/main.css.map +26 -22
- data/app/public/font/fontello.eot +0 -0
- data/app/public/font/fontello.svg +16 -0
- data/app/public/font/fontello.ttf +0 -0
- data/app/public/font/fontello.woff +0 -0
- data/app/public/font/fontello.woff2 +0 -0
- data/app/public/js/clipboard.js +2 -2
- data/app/styles/_anchor.scss +4 -0
- data/app/styles/_code.scss +34 -41
- data/app/styles/{_icons.scss → _fontello.scss} +28 -19
- data/app/styles/_footnotes.scss +6 -0
- data/app/styles/_general.scss +4 -0
- data/app/styles/_manifest.scss +10 -8
- data/app/styles/_nav.scss +1 -11
- data/app/styles/_rouge.scss +213 -0
- data/app/styles/_scrollbar.scss +9 -0
- data/app/styles/main.scss +2 -2
- data/lib/madness/command_line.rb +2 -11
- data/lib/madness/docopt.txt +1 -35
- data/lib/madness/document.rb +5 -110
- data/lib/madness/highlight_renderer.rb +10 -0
- data/lib/madness/markdown_document.rb +103 -0
- data/lib/madness/settings.rb +1 -1
- data/lib/madness/templates/madness.yml +5 -3
- data/lib/madness/version.rb +1 -1
- metadata +46 -48
- data/app/public/fonts/fontello.eot +0 -0
- data/app/public/fonts/fontello.svg +0 -16
- data/app/public/fonts/fontello.ttf +0 -0
- data/app/public/fonts/fontello.woff +0 -0
- data/app/public/fonts/fontello.woff2 +0 -0
- data/app/styles/_coderay.scss +0 -37
data/app/public/css/main.css
CHANGED
@@ -1,71 +1,4 @@
|
|
1
|
-
|
2
|
-
-ms-text-size-adjust: 100%;
|
3
|
-
-webkit-text-size-adjust: 100%;
|
4
|
-
color: #333;
|
5
|
-
font-family: "Segoe UI", "Helvetica Neue", Helvetica,Arial, freesans, sans-serif;
|
6
|
-
font-size: 16px;
|
7
|
-
line-height: 1.6;
|
8
|
-
word-wrap: break-word; }
|
9
|
-
|
10
|
-
strong, .strong {
|
11
|
-
font-weight: bolder; }
|
12
|
-
|
13
|
-
h1, h2, h3, h4, h5, h6 {
|
14
|
-
margin-top: 1em;
|
15
|
-
margin-bottom: 16px;
|
16
|
-
font-weight: bold;
|
17
|
-
line-height: 1.4; }
|
18
|
-
|
19
|
-
h1 {
|
20
|
-
margin: 0.67em 0;
|
21
|
-
padding-bottom: 0.3em;
|
22
|
-
font-size: 2.25em;
|
23
|
-
line-height: 1.2;
|
24
|
-
border-bottom: 1px solid #eee; }
|
25
|
-
|
26
|
-
h2 {
|
27
|
-
padding-bottom: 0.3em;
|
28
|
-
font-size: 1.75em;
|
29
|
-
line-height: 1.225;
|
30
|
-
border-bottom: 1px solid #eee; }
|
31
|
-
|
32
|
-
h3 {
|
33
|
-
font-size: 1.5em;
|
34
|
-
line-height: 1.43; }
|
35
|
-
|
36
|
-
h4 {
|
37
|
-
font-size: 1.25em; }
|
38
|
-
|
39
|
-
h5 {
|
40
|
-
font-size: 1em; }
|
41
|
-
|
42
|
-
h6 {
|
43
|
-
font-size: 1em;
|
44
|
-
color: #777; }
|
45
|
-
|
46
|
-
code, pre, kbd {
|
47
|
-
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
48
|
-
font-size: 1em; }
|
49
|
-
|
50
|
-
table {
|
51
|
-
border-spacing: 0;
|
52
|
-
border-collapse: collapse;
|
53
|
-
display: block;
|
54
|
-
width: 100%;
|
55
|
-
overflow: auto;
|
56
|
-
word-break: normal;
|
57
|
-
word-break: keep-all; }
|
58
|
-
table th {
|
59
|
-
font-weight: bold; }
|
60
|
-
table th, table td {
|
61
|
-
padding: 6px 13px;
|
62
|
-
border: 1px solid #ddd; }
|
63
|
-
table tr {
|
64
|
-
background-color: #fff;
|
65
|
-
border-top: 1px solid #ccc; }
|
66
|
-
table tr:nth-child(2n) {
|
67
|
-
background-color: #f8f8f8; }
|
68
|
-
|
1
|
+
@charset "UTF-8";
|
69
2
|
a {
|
70
3
|
-webkit-text-decoration-skip: objects;
|
71
4
|
color: #4078c0;
|
@@ -76,98 +9,111 @@ a {
|
|
76
9
|
a:not([href]) {
|
77
10
|
color: inherit;
|
78
11
|
text-decoration: none; }
|
12
|
+
a.icon {
|
13
|
+
color: inherit; }
|
79
14
|
|
80
|
-
|
81
|
-
margin-top:
|
82
|
-
|
83
|
-
|
15
|
+
.breadcrumbs {
|
16
|
+
margin-top: 6px;
|
17
|
+
border-bottom: 1px solid #ccc; }
|
18
|
+
.breadcrumbs a {
|
19
|
+
display: inline-block;
|
20
|
+
padding: 7px 0; }
|
84
21
|
|
85
|
-
|
86
|
-
|
22
|
+
code {
|
23
|
+
padding: 0px 8px;
|
24
|
+
margin: 0;
|
25
|
+
font-size: 90%;
|
26
|
+
background-color: #eee;
|
27
|
+
border-radius: 3px;
|
28
|
+
display: inline-block; }
|
87
29
|
|
88
|
-
|
89
|
-
|
30
|
+
pre {
|
31
|
+
overflow-x: auto;
|
32
|
+
position: relative;
|
33
|
+
border-radius: 3px; }
|
34
|
+
pre code {
|
35
|
+
background-color: transparent;
|
36
|
+
display: block;
|
37
|
+
font-size: inherit;
|
38
|
+
line-height: 1.2; }
|
39
|
+
pre code .clipboard-button {
|
40
|
+
position: absolute;
|
41
|
+
left: 7px;
|
42
|
+
bottom: 7px;
|
43
|
+
font-size: 1.25em;
|
44
|
+
background: white;
|
45
|
+
border: 1px solid #ccc;
|
46
|
+
border-radius: 5px;
|
47
|
+
opacity: 0;
|
48
|
+
transition: opacity 0.3s;
|
49
|
+
display: inline-block;
|
50
|
+
padding: 7px; }
|
51
|
+
pre code:hover .clipboard-button {
|
52
|
+
opacity: 0.7;
|
53
|
+
transition: opacity 0.3s; }
|
54
|
+
pre code:hover .clipboard-button:hover {
|
55
|
+
opacity: 1.0;
|
56
|
+
transition: opacity 0.3s; }
|
90
57
|
|
91
|
-
|
92
|
-
|
93
|
-
|
58
|
+
@font-face {
|
59
|
+
font-family: 'fontello';
|
60
|
+
src: url("../font/fontello.eot?19183580");
|
61
|
+
src: url("../font/fontello.eot?19183580#iefix") format("embedded-opentype"), url("../font/fontello.woff2?19183580") format("woff2"), url("../font/fontello.woff?19183580") format("woff"), url("../font/fontello.ttf?19183580") format("truetype"), url("../font/fontello.svg?19183580#fontello") format("svg");
|
62
|
+
font-weight: normal;
|
63
|
+
font-style: normal; }
|
94
64
|
|
95
|
-
|
96
|
-
|
65
|
+
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
66
|
+
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
67
|
+
/*
|
68
|
+
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
69
|
+
@font-face {
|
70
|
+
font-family: 'fontello';
|
71
|
+
src: url('../font/fontello.svg?19183580#fontello') format('svg');
|
72
|
+
}
|
73
|
+
}
|
74
|
+
*/
|
75
|
+
[class^="icon-"]:before, [class*=" icon-"]:before {
|
76
|
+
font-family: "fontello";
|
77
|
+
font-style: normal;
|
78
|
+
font-weight: normal;
|
79
|
+
speak: never;
|
80
|
+
display: inline-block;
|
81
|
+
text-decoration: inherit;
|
82
|
+
width: 1em;
|
83
|
+
margin-right: .2em;
|
84
|
+
text-align: center;
|
85
|
+
/* opacity: .8; */
|
86
|
+
/* For safety - reset parent styles, that can break glyph codes*/
|
87
|
+
font-variant: normal;
|
88
|
+
text-transform: none;
|
89
|
+
/* fix buttons height, for twitter bootstrap */
|
90
|
+
line-height: 1em;
|
91
|
+
/* Animation center compensation - margins should be symmetric */
|
92
|
+
/* remove if not needed */
|
93
|
+
margin-left: .2em;
|
94
|
+
/* you can be more comfortable with increased icons size */
|
95
|
+
/* font-size: 120%; */
|
96
|
+
/* Font smoothing. That was taken from TWBS */
|
97
|
+
-webkit-font-smoothing: antialiased;
|
98
|
+
-moz-osx-font-smoothing: grayscale;
|
99
|
+
/* Uncomment for 3D effect */
|
100
|
+
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ }
|
97
101
|
|
98
|
-
|
99
|
-
|
100
|
-
dl dt {
|
101
|
-
padding: 0;
|
102
|
-
margin-top: 16px;
|
103
|
-
font-size: 1em;
|
104
|
-
font-style: italic;
|
105
|
-
font-weight: bold; }
|
106
|
-
dl dd {
|
107
|
-
padding: 0 16px;
|
108
|
-
margin-bottom: 16px; }
|
102
|
+
.icon-home:before {
|
103
|
+
content: '\e806'; }
|
109
104
|
|
110
|
-
|
111
|
-
|
105
|
+
/* '' */
|
106
|
+
.icon-copy:before {
|
107
|
+
content: '\f24d'; }
|
112
108
|
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
padding-bottom: 0.2em;
|
117
|
-
margin: 0;
|
118
|
-
background-color: #eee;
|
119
|
-
border-radius: 3px; }
|
120
|
-
code:before, code:after {
|
121
|
-
letter-spacing: -0.2em;
|
122
|
-
content: "\00a0"; }
|
109
|
+
/* '' */
|
110
|
+
.icon-search:before {
|
111
|
+
content: '\f50d'; }
|
123
112
|
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
word-wrap: normal; }
|
129
|
-
pre > code {
|
130
|
-
padding: 0;
|
131
|
-
margin: 0;
|
132
|
-
font-size: 100%;
|
133
|
-
word-break: normal;
|
134
|
-
white-space: pre;
|
135
|
-
background: transparent;
|
136
|
-
border: 0; }
|
137
|
-
pre code {
|
138
|
-
display: inline-block;
|
139
|
-
max-width: initial;
|
140
|
-
overflow: initial;
|
141
|
-
line-height: inherit;
|
142
|
-
word-wrap: normal;
|
143
|
-
border: 0; }
|
144
|
-
pre code:before,
|
145
|
-
pre code:after {
|
146
|
-
content: normal; }
|
147
|
-
|
148
|
-
.clipboard-button {
|
149
|
-
position: absolute;
|
150
|
-
right: 0;
|
151
|
-
font-size: 1.25em;
|
152
|
-
opacity: 0.2;
|
153
|
-
transition: opacity 0.3s; }
|
154
|
-
|
155
|
-
table.CodeRay:hover .clipboard-button {
|
156
|
-
opacity: 1;
|
157
|
-
transition: opacity 0.3s; }
|
158
|
-
|
159
|
-
table.CodeRay {
|
160
|
-
position: relative;
|
161
|
-
margin-bottom: 0; }
|
162
|
-
table.CodeRay pre {
|
163
|
-
margin-bottom: 0; }
|
164
|
-
table.CodeRay tr, table.CodeRay td {
|
165
|
-
border: 0; }
|
166
|
-
table.CodeRay tr pre, table.CodeRay td pre {
|
167
|
-
margin-left: 0; }
|
168
|
-
table.CodeRay td.line-numbers {
|
169
|
-
background: #eee;
|
170
|
-
padding: 4px; }
|
113
|
+
/* '' */
|
114
|
+
.footnotes {
|
115
|
+
color: #666;
|
116
|
+
font-size: 85%; }
|
171
117
|
|
172
118
|
img {
|
173
119
|
border-style: none;
|
@@ -175,6 +121,19 @@ img {
|
|
175
121
|
box-sizing: content-box;
|
176
122
|
background-color: #fff; }
|
177
123
|
|
124
|
+
kbd {
|
125
|
+
display: inline-block;
|
126
|
+
padding: 3px 5px;
|
127
|
+
font-size: 11px;
|
128
|
+
line-height: 10px;
|
129
|
+
color: #555;
|
130
|
+
vertical-align: middle;
|
131
|
+
background-color: #fcfcfc;
|
132
|
+
border: solid 1px #ccc;
|
133
|
+
border-bottom-color: #bbb;
|
134
|
+
border-radius: 3px;
|
135
|
+
box-shadow: inset 0 -1px 0 #bbb; }
|
136
|
+
|
178
137
|
hr {
|
179
138
|
box-sizing: content-box;
|
180
139
|
overflow: visible;
|
@@ -195,61 +154,42 @@ hr {
|
|
195
154
|
clear: both;
|
196
155
|
content: ""; }
|
197
156
|
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
line-height: 10px;
|
203
|
-
color: #555;
|
204
|
-
vertical-align: middle;
|
205
|
-
background-color: #fcfcfc;
|
206
|
-
border: solid 1px #ccc;
|
207
|
-
border-bottom-color: #bbb;
|
208
|
-
border-radius: 3px;
|
209
|
-
box-shadow: inset 0 -1px 0 #bbb; }
|
157
|
+
ul, ol {
|
158
|
+
margin-top: 0;
|
159
|
+
margin-bottom: 0;
|
160
|
+
padding-left: 2em; }
|
210
161
|
|
211
|
-
|
212
|
-
|
213
|
-
display: none; } }
|
162
|
+
ol ol, ul ol {
|
163
|
+
list-style-type: lower-roman; }
|
214
164
|
|
215
|
-
|
216
|
-
|
217
|
-
display: none; } }
|
165
|
+
ul ul ol, ul ol ol, ol ul ol, ol ol ol {
|
166
|
+
list-style-type: lower-alpha; }
|
218
167
|
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
font-size: 30px;
|
223
|
-
top: 0px;
|
224
|
-
right: 10px;
|
225
|
-
opacity: 0.5; } }
|
168
|
+
ul ul, ul ol, ol ol, ol ul {
|
169
|
+
margin-top: 0;
|
170
|
+
margin-bottom: 0; }
|
226
171
|
|
227
|
-
|
228
|
-
margin-
|
229
|
-
margin-top: 20px; }
|
172
|
+
dd {
|
173
|
+
margin-left: 0; }
|
230
174
|
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
241
|
-
|
175
|
+
dl {
|
176
|
+
padding: 0; }
|
177
|
+
dl dt {
|
178
|
+
padding: 0;
|
179
|
+
margin-top: 16px;
|
180
|
+
font-size: 1em;
|
181
|
+
font-style: italic;
|
182
|
+
font-weight: bold; }
|
183
|
+
dl dd {
|
184
|
+
padding: 0 16px;
|
185
|
+
margin-bottom: 16px; }
|
242
186
|
|
243
|
-
|
244
|
-
margin-top:
|
245
|
-
border-bottom: 1px solid #ccc; }
|
246
|
-
.breadcrumbs a {
|
247
|
-
display: inline-block;
|
248
|
-
padding: 7px 0; }
|
187
|
+
li > p {
|
188
|
+
margin-top: 16px; }
|
249
189
|
|
250
190
|
nav {
|
251
191
|
height: 100vh;
|
252
|
-
width:
|
192
|
+
width: 300px;
|
253
193
|
overflow-y: auto;
|
254
194
|
position: fixed; }
|
255
195
|
@media print {
|
@@ -276,55 +216,330 @@ nav {
|
|
276
216
|
height: 90px;
|
277
217
|
display: block; }
|
278
218
|
|
219
|
+
.highlight table td {
|
220
|
+
padding: 5px; }
|
221
|
+
|
222
|
+
.highlight table pre {
|
223
|
+
margin: 0; }
|
224
|
+
|
225
|
+
.highlight .cm {
|
226
|
+
color: #999988;
|
227
|
+
font-style: italic; }
|
228
|
+
|
229
|
+
.highlight .cp {
|
230
|
+
color: #999999;
|
231
|
+
font-weight: bold; }
|
232
|
+
|
233
|
+
.highlight .c1 {
|
234
|
+
color: #999988;
|
235
|
+
font-style: italic; }
|
236
|
+
|
237
|
+
.highlight .cs {
|
238
|
+
color: #999999;
|
239
|
+
font-weight: bold;
|
240
|
+
font-style: italic; }
|
241
|
+
|
242
|
+
.highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
|
243
|
+
color: #999988;
|
244
|
+
font-style: italic; }
|
245
|
+
|
246
|
+
.highlight .err {
|
247
|
+
color: #a61717;
|
248
|
+
background-color: #e3d2d2; }
|
249
|
+
|
250
|
+
.highlight .gd {
|
251
|
+
color: #000000;
|
252
|
+
background-color: #ffdddd; }
|
253
|
+
|
254
|
+
.highlight .ge {
|
255
|
+
color: #000000;
|
256
|
+
font-style: italic; }
|
257
|
+
|
258
|
+
.highlight .gr {
|
259
|
+
color: #aa0000; }
|
260
|
+
|
261
|
+
.highlight .gh {
|
262
|
+
color: #999999; }
|
263
|
+
|
264
|
+
.highlight .gi {
|
265
|
+
color: #000000;
|
266
|
+
background-color: #ddffdd; }
|
267
|
+
|
268
|
+
.highlight .go {
|
269
|
+
color: #888888; }
|
270
|
+
|
271
|
+
.highlight .gp {
|
272
|
+
color: #555555; }
|
273
|
+
|
274
|
+
.highlight .gs {
|
275
|
+
font-weight: bold; }
|
276
|
+
|
277
|
+
.highlight .gu {
|
278
|
+
color: #aaaaaa; }
|
279
|
+
|
280
|
+
.highlight .gt {
|
281
|
+
color: #aa0000; }
|
282
|
+
|
283
|
+
.highlight .kc {
|
284
|
+
color: #000000;
|
285
|
+
font-weight: bold; }
|
286
|
+
|
287
|
+
.highlight .kd {
|
288
|
+
color: #000000;
|
289
|
+
font-weight: bold; }
|
290
|
+
|
291
|
+
.highlight .kn {
|
292
|
+
color: #000000;
|
293
|
+
font-weight: bold; }
|
294
|
+
|
295
|
+
.highlight .kp {
|
296
|
+
color: #000000;
|
297
|
+
font-weight: bold; }
|
298
|
+
|
299
|
+
.highlight .kr {
|
300
|
+
color: #000000;
|
301
|
+
font-weight: bold; }
|
302
|
+
|
303
|
+
.highlight .kt {
|
304
|
+
color: #445588;
|
305
|
+
font-weight: bold; }
|
306
|
+
|
307
|
+
.highlight .k, .highlight .kv {
|
308
|
+
color: #000000;
|
309
|
+
font-weight: bold; }
|
310
|
+
|
311
|
+
.highlight .mf {
|
312
|
+
color: #009999; }
|
313
|
+
|
314
|
+
.highlight .mh {
|
315
|
+
color: #009999; }
|
316
|
+
|
317
|
+
.highlight .il {
|
318
|
+
color: #009999; }
|
319
|
+
|
320
|
+
.highlight .mi {
|
321
|
+
color: #009999; }
|
322
|
+
|
323
|
+
.highlight .mo {
|
324
|
+
color: #009999; }
|
325
|
+
|
326
|
+
.highlight .m, .highlight .mb, .highlight .mx {
|
327
|
+
color: #009999; }
|
328
|
+
|
329
|
+
.highlight .sa {
|
330
|
+
color: #000000;
|
331
|
+
font-weight: bold; }
|
332
|
+
|
333
|
+
.highlight .sb {
|
334
|
+
color: #d14; }
|
335
|
+
|
336
|
+
.highlight .sc {
|
337
|
+
color: #d14; }
|
338
|
+
|
339
|
+
.highlight .sd {
|
340
|
+
color: #d14; }
|
341
|
+
|
342
|
+
.highlight .s2 {
|
343
|
+
color: #d14; }
|
344
|
+
|
345
|
+
.highlight .se {
|
346
|
+
color: #d14; }
|
347
|
+
|
348
|
+
.highlight .sh {
|
349
|
+
color: #d14; }
|
350
|
+
|
351
|
+
.highlight .si {
|
352
|
+
color: #d14; }
|
353
|
+
|
354
|
+
.highlight .sx {
|
355
|
+
color: #d14; }
|
356
|
+
|
357
|
+
.highlight .sr {
|
358
|
+
color: #009926; }
|
359
|
+
|
360
|
+
.highlight .s1 {
|
361
|
+
color: #d14; }
|
362
|
+
|
363
|
+
.highlight .ss {
|
364
|
+
color: #990073; }
|
365
|
+
|
366
|
+
.highlight .s, .highlight .dl {
|
367
|
+
color: #d14; }
|
368
|
+
|
369
|
+
.highlight .na {
|
370
|
+
color: #008080; }
|
371
|
+
|
372
|
+
.highlight .bp {
|
373
|
+
color: #999999; }
|
374
|
+
|
375
|
+
.highlight .nb {
|
376
|
+
color: #0086B3; }
|
377
|
+
|
378
|
+
.highlight .nc {
|
379
|
+
color: #445588;
|
380
|
+
font-weight: bold; }
|
381
|
+
|
382
|
+
.highlight .no {
|
383
|
+
color: #008080; }
|
384
|
+
|
385
|
+
.highlight .nd {
|
386
|
+
color: #3c5d5d;
|
387
|
+
font-weight: bold; }
|
388
|
+
|
389
|
+
.highlight .ni {
|
390
|
+
color: #800080; }
|
391
|
+
|
392
|
+
.highlight .ne {
|
393
|
+
color: #990000;
|
394
|
+
font-weight: bold; }
|
395
|
+
|
396
|
+
.highlight .nf, .highlight .fm {
|
397
|
+
color: #990000;
|
398
|
+
font-weight: bold; }
|
399
|
+
|
400
|
+
.highlight .nl {
|
401
|
+
color: #990000;
|
402
|
+
font-weight: bold; }
|
403
|
+
|
404
|
+
.highlight .nn {
|
405
|
+
color: #555555; }
|
406
|
+
|
407
|
+
.highlight .nt {
|
408
|
+
color: #000080; }
|
409
|
+
|
410
|
+
.highlight .vc {
|
411
|
+
color: #008080; }
|
412
|
+
|
413
|
+
.highlight .vg {
|
414
|
+
color: #008080; }
|
415
|
+
|
416
|
+
.highlight .vi {
|
417
|
+
color: #008080; }
|
418
|
+
|
419
|
+
.highlight .nv, .highlight .vm {
|
420
|
+
color: #008080; }
|
421
|
+
|
422
|
+
.highlight .ow {
|
423
|
+
color: #000000;
|
424
|
+
font-weight: bold; }
|
425
|
+
|
426
|
+
.highlight .o {
|
427
|
+
color: #000000;
|
428
|
+
font-weight: bold; }
|
429
|
+
|
430
|
+
.highlight .w {
|
431
|
+
color: #bbbbbb; }
|
432
|
+
|
433
|
+
.highlight {
|
434
|
+
background-color: #f8f8f8; }
|
435
|
+
|
279
436
|
::-webkit-scrollbar {
|
280
|
-
width: 6px;
|
437
|
+
width: 6px;
|
438
|
+
height: 6px; }
|
281
439
|
|
282
440
|
::-webkit-scrollbar-thumb {
|
283
|
-
background: #
|
441
|
+
background: #ccc;
|
284
442
|
-webkit-border-radius: 3px; }
|
285
443
|
|
286
|
-
@
|
287
|
-
|
288
|
-
|
289
|
-
src: url("../fonts/fontello.eot?68354463#iefix") format("embedded-opentype"), url("../fonts/fontello.woff2?68354463") format("woff2"), url("../fonts/fontello.woff?68354463") format("woff"), url("../fonts/fontello.ttf?68354463") format("truetype"), url("../fonts/fontello.svg?68354463#fontello") format("svg");
|
290
|
-
font-weight: normal;
|
291
|
-
font-style: normal; }
|
444
|
+
@media print {
|
445
|
+
#mobile-search {
|
446
|
+
display: none; } }
|
292
447
|
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
font-weight: normal;
|
297
|
-
speak: none;
|
298
|
-
display: inline-block;
|
299
|
-
text-decoration: inherit;
|
300
|
-
width: 1em;
|
301
|
-
margin-right: .2em;
|
302
|
-
text-align: center;
|
303
|
-
/* opacity: .8; */
|
304
|
-
/* For safety - reset parent styles, that can break glyph codes*/
|
305
|
-
font-variant: normal;
|
306
|
-
text-transform: none;
|
307
|
-
/* fix buttons height, for twitter bootstrap */
|
308
|
-
line-height: 1em;
|
309
|
-
/* Animation center compensation - margins should be symmetric */
|
310
|
-
/* remove if not needed */
|
311
|
-
margin-left: .2em;
|
312
|
-
/* you can be more comfortable with increased icons size */
|
313
|
-
/* font-size: 120%; */
|
314
|
-
/* Font smoothing. That was taken from TWBS */
|
315
|
-
-webkit-font-smoothing: antialiased;
|
316
|
-
-moz-osx-font-smoothing: grayscale;
|
317
|
-
/* Uncomment for 3D effect */
|
318
|
-
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ }
|
448
|
+
@media only screen and (min-width: 768px) {
|
449
|
+
#mobile-search {
|
450
|
+
display: none; } }
|
319
451
|
|
320
|
-
|
321
|
-
|
452
|
+
@media only screen and (max-width: 767px) {
|
453
|
+
#mobile-search {
|
454
|
+
position: fixed;
|
455
|
+
font-size: 30px;
|
456
|
+
top: 0px;
|
457
|
+
right: 10px;
|
458
|
+
opacity: 0.5; } }
|
322
459
|
|
323
|
-
.
|
324
|
-
|
460
|
+
.search-form {
|
461
|
+
margin-bottom: 20px;
|
462
|
+
margin-top: 20px; }
|
325
463
|
|
326
|
-
.
|
327
|
-
|
464
|
+
.search-field {
|
465
|
+
outline: none;
|
466
|
+
padding: 8px 12px;
|
467
|
+
font-size: 1.5em;
|
468
|
+
width: 50%;
|
469
|
+
min-width: 200px;
|
470
|
+
width: 100%;
|
471
|
+
border: #ccc 1px solid;
|
472
|
+
border-radius: 3px; }
|
473
|
+
.search-field:focus {
|
474
|
+
border-color: #4078c0; }
|
475
|
+
|
476
|
+
table {
|
477
|
+
border-spacing: 0;
|
478
|
+
border-collapse: collapse;
|
479
|
+
display: block;
|
480
|
+
width: 100%;
|
481
|
+
overflow: auto;
|
482
|
+
word-break: normal;
|
483
|
+
word-break: keep-all; }
|
484
|
+
table th {
|
485
|
+
font-weight: bold; }
|
486
|
+
table th, table td {
|
487
|
+
padding: 6px 13px;
|
488
|
+
border: 1px solid #ddd; }
|
489
|
+
table tr {
|
490
|
+
background-color: #fff;
|
491
|
+
border-top: 1px solid #ccc; }
|
492
|
+
table tr:nth-child(2n) {
|
493
|
+
background-color: #f8f8f8; }
|
494
|
+
|
495
|
+
body {
|
496
|
+
-ms-text-size-adjust: 100%;
|
497
|
+
-webkit-text-size-adjust: 100%;
|
498
|
+
color: #333;
|
499
|
+
font-family: "Segoe UI", "Helvetica Neue", Helvetica,Arial, freesans, sans-serif;
|
500
|
+
font-size: 16px;
|
501
|
+
line-height: 1.6;
|
502
|
+
word-wrap: break-word; }
|
503
|
+
|
504
|
+
strong, .strong {
|
505
|
+
font-weight: bolder; }
|
506
|
+
|
507
|
+
h1, h2, h3, h4, h5, h6 {
|
508
|
+
margin-top: 1em;
|
509
|
+
margin-bottom: 16px;
|
510
|
+
font-weight: bold;
|
511
|
+
line-height: 1.4; }
|
512
|
+
|
513
|
+
h1 {
|
514
|
+
margin: 0.67em 0;
|
515
|
+
padding-bottom: 0.3em;
|
516
|
+
font-size: 2.25em;
|
517
|
+
line-height: 1.2;
|
518
|
+
border-bottom: 1px solid #eee; }
|
519
|
+
|
520
|
+
h2 {
|
521
|
+
padding-bottom: 0.3em;
|
522
|
+
font-size: 1.75em;
|
523
|
+
line-height: 1.225;
|
524
|
+
border-bottom: 1px solid #eee; }
|
525
|
+
|
526
|
+
h3 {
|
527
|
+
font-size: 1.5em;
|
528
|
+
line-height: 1.43; }
|
529
|
+
|
530
|
+
h4 {
|
531
|
+
font-size: 1.25em; }
|
532
|
+
|
533
|
+
h5 {
|
534
|
+
font-size: 1em; }
|
535
|
+
|
536
|
+
h6 {
|
537
|
+
font-size: 1em;
|
538
|
+
color: #777; }
|
539
|
+
|
540
|
+
code, pre, kbd {
|
541
|
+
font-family: Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
542
|
+
font-size: 1em; }
|
328
543
|
|
329
544
|
* {
|
330
545
|
box-sizing: border-box; }
|
@@ -347,11 +562,14 @@ p, blockquote, ul, ol, dl, table, pre {
|
|
347
562
|
margin-top: 0;
|
348
563
|
margin-bottom: 16px; }
|
349
564
|
|
565
|
+
mark {
|
566
|
+
background-color: palegreen; }
|
567
|
+
|
350
568
|
.quiet {
|
351
569
|
color: #777; }
|
352
570
|
|
353
571
|
body {
|
354
|
-
max-width:
|
572
|
+
max-width: 1400px;
|
355
573
|
margin: 0 auto; }
|
356
574
|
|
357
575
|
.main {
|
@@ -362,7 +580,7 @@ body {
|
|
362
580
|
@media only screen and (min-width: 768px) {
|
363
581
|
.main.with-sidebar {
|
364
582
|
min-height: 100vh;
|
365
|
-
margin-left:
|
583
|
+
margin-left: 300px; } }
|
366
584
|
.main.without-sidebar {
|
367
585
|
max-width: 980px;
|
368
586
|
margin: 0 auto; }
|