jekyll-theme-neysa 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,639 +1,224 @@
1
- @import "rouge";
2
-
3
- /*******************************************************************************
4
- MeyerWeb Reset
5
- *******************************************************************************/
6
-
7
- html, body, div, span, applet, object, iframe,
8
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
9
- a, abbr, acronym, address, big, cite, code,
10
- del, dfn, em, img, ins, kbd, q, s, samp,
11
- small, strike, strong, sub, sup, tt, var,
12
- b, u, i, center,
13
- dl, dt, dd, ol, ul, li,
14
- fieldset, form, label, legend,
15
- table, caption, tbody, tfoot, thead, tr, th, td,
16
- article, aside, canvas, details, embed,
17
- figure, figcaption, footer, header, hgroup,
18
- menu, nav, output, ruby, section, summary,
19
- time, mark, audio, video {
20
- margin: 0;
21
- padding: 0;
22
- border: 0;
23
- font: inherit;
24
- vertical-align: baseline;
25
- }
1
+ @use "rouge";
2
+ @use "header-footer";
26
3
 
27
- /* HTML5 display-role reset for older browsers */
28
- article, aside, details, figcaption, figure,
29
- footer, header, hgroup, menu, nav, section {
30
- display: block;
31
- }
32
-
33
- ol, ul {
34
- list-style: none;
4
+ html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, img, ul, ol, li, table, th, td, hr, blockquote, pre, code, figure, figcaption {
5
+ box-sizing: border-box;
35
6
  }
36
7
 
37
-
38
-
39
-
40
- /*******************************************************************************
41
- Theme Styles
42
- *******************************************************************************/
43
-
44
8
  body {
45
- box-sizing: border-box;
46
- color:#373737;
47
- background: #ffffff00 !important;
9
+ color: #373737;
10
+ background: #ffffff;
48
11
  font-size: 16px;
49
- font-family: 'Times New Roman', Calibri, Helvetica, Arial, sans-serif;
50
- line-height: 1.5;
12
+ font-family: "Times New Roman", Calibri, Helvetica, Arial, sans-serif;
13
+ line-height: 1.6;
14
+ margin: 0;
15
+ padding: 0;
51
16
  -webkit-font-smoothing: antialiased;
52
- max-width: 1080px !important;
53
- margin-left: auto;
54
- margin-right: auto;
17
+ // Full-width header and footer; footer stays at the bottom of short pages
18
+ display: flex;
19
+ flex-direction: column;
20
+ min-height: 100vh;
21
+ }
22
+
23
+ // Page content between header and footer
24
+ #main_content_wrap,
25
+ body > .container-fluid {
26
+ flex: 1 0 auto;
27
+ width: 100%;
28
+ max-width: 1080px;
29
+ margin: 0 auto;
30
+ padding: 1.5rem 20px 0;
55
31
  }
56
32
 
57
33
  h1, h2, h3, h4, h5, h6 {
58
- margin: 0px 0;
59
- font-weight: 700;
60
- color:#222222;
61
- font-family: 'Times New Roman', 'Calibri', Helvetica, Arial, sans-serif;
62
- letter-spacing: -1px;
34
+ margin: 0 0 0.8em;
35
+ color: #222222;
36
+ font-family: "Times New Roman", "Calibri", Helvetica, Arial, sans-serif;
37
+ line-height: 1.3;
63
38
  }
64
39
 
65
40
  h1 {
66
- text-align: center;
67
- font-size: 32px;
68
- font-weight: 600;
41
+ text-align: center;
42
+ font-size: 2rem;
43
+ font-weight: 600;
69
44
  }
70
45
 
71
46
  h2 {
72
- padding-bottom: 15px;
73
- font-size: 28px;
74
- background: url('../images/bg_hr.png') repeat-x bottom;
75
- }
76
-
77
- h3 {
78
- font-size: 24px;
79
- }
80
-
81
- h4 {
82
- font-size: 21px;
83
- }
84
-
85
- h5 {
86
- font-size: 18px;
47
+ padding-top: 1rem;
48
+ padding-bottom: 0.7rem;
49
+ font-size: 1.75rem;
50
+ border-bottom: 1px solid #e5e5e5;
87
51
  }
88
52
 
89
- h6 {
90
- font-size: 16px;
91
- }
53
+ h3 { font-size: 1.5rem; }
54
+ h4 { font-size: 1.3rem; }
55
+ h5 { font-size: 1.1rem; }
56
+ h6 { font-size: 1rem; }
92
57
 
93
58
  p {
94
- margin: 10px 0 15px 0;
59
+ margin: 0 0 1rem;
95
60
  max-width: 100%;
96
61
  }
97
62
 
98
-
99
- footer {
100
- border-top: 1px #f2f2f2;
101
- font-size: 12px;
102
- }
103
-
104
- footer p {
105
- color: #6d6a6a !important;
106
- margin: 0px;
107
- text-align: center;
108
- font-size: 12px;
109
- }
110
-
111
63
  a {
64
+ color: #0f79d0;
112
65
  text-decoration: none;
113
- color: #0F79D0 !important;
114
- text-shadow: none;
115
-
116
- transition: color 0.5s ease;
117
- transition: text-shadow 0.5s ease;
118
- -webkit-transition: color 0.5s ease;
119
- -webkit-transition: text-shadow 0.5s ease;
120
- -moz-transition: color 0.5s ease;
121
- -moz-transition: text-shadow 0.5s ease;
122
- -o-transition: color 0.5s ease;
123
- -o-transition: text-shadow 0.5s ease;
124
- -ms-transition: color 0.5s ease;
125
- -ms-transition: text-shadow 0.5s ease;
126
66
  }
127
67
 
128
- a:hover, a:focus {
68
+ a:hover,
69
+ a:focus {
129
70
  text-decoration: underline;
130
71
  }
131
72
 
132
- footer a {
133
- color: #0F79D0;
134
- text-decoration: underline;
73
+ img {
74
+ display: block;
75
+ max-width: 100%;
76
+ height: auto;
77
+ margin: 0.5rem auto;
135
78
  }
136
79
 
137
- em, cite {
138
- font-style: italic;
80
+ p img {
81
+ display: inline-block;
82
+ vertical-align: middle;
83
+ margin: 0.25rem 0;
139
84
  }
140
85
 
141
- strong {
142
- font-weight: bold;
86
+ blockquote {
87
+ color: #666;
88
+ margin: 1rem 0 1.25rem;
89
+ padding-left: 1rem;
90
+ border-left: 3px solid #bbb;
143
91
  }
144
92
 
145
- img {
146
- position:relative;
147
- margin: 0 auto;
148
- padding: 0px;
149
- margin: 0px 0 0px 0;
93
+ ul, ol, dl {
94
+ margin: 0 0 1rem;
150
95
  }
151
96
 
152
- p img {
153
- display: inline;
154
- margin: 0;
155
- padding-bottom: 5px;
156
- vertical-align: middle;
157
- border: none;
97
+ ul, ol {
98
+ padding-left: 1.5rem;
158
99
  }
159
100
 
101
+ ul { list-style: disc; }
102
+ ol { list-style: decimal; }
103
+
160
104
  pre, code {
161
105
  color: #222;
162
- background-color: #fff;
163
-
106
+ background: #f8f8f8;
164
107
  font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
165
108
  font-size: 0.875em;
166
-
167
- border-radius: 2px;
168
- -moz-border-radius: 2px;
169
- -webkit-border-radius: 2px;
109
+ border-radius: 4px;
170
110
  }
171
111
 
172
112
  pre {
173
- padding: 10px;
174
- box-shadow: 0 0 10px rgba(0,0,0,.1);
113
+ padding: 0.9rem 1rem;
175
114
  overflow: auto;
115
+ border: 1px solid #e5e5e5;
116
+ word-wrap: break-word;
176
117
  }
177
118
 
178
119
  code {
179
- padding: 3px;
180
- margin: 0 3px;
181
- box-shadow: 0 0 10px rgba(0,0,0,.1);
120
+ padding: 0.1rem 0.3rem;
182
121
  }
183
122
 
184
123
  pre code {
185
124
  display: block;
186
- box-shadow: none;
187
- }
188
-
189
- blockquote {
190
- color: #666;
191
- margin-bottom: 20px;
192
- padding: 0 0 0 20px;
193
- border-left: 3px solid #bbb;
194
- }
195
-
196
-
197
- ul, ol, dl {
198
- margin-bottom: 15px
199
- }
200
-
201
- ul {
202
- list-style-position: inside;
203
- list-style: disc;
204
- padding-left: 20px;
205
- }
206
-
207
- ol {
208
- list-style-position: inside;
209
- list-style: decimal;
210
- padding-left: 20px;
211
- }
212
-
213
- dl dt {
214
- font-weight: bold;
215
- }
216
-
217
- dl dd {
218
- padding-left: 20px;
219
- font-style: italic;
220
- }
221
-
222
- dl p {
223
- padding-left: 20px;
224
- font-style: italic;
125
+ padding: 0;
126
+ background: transparent;
225
127
  }
226
128
 
227
129
  hr {
228
130
  height: 1px;
229
- margin-bottom: 5px;
131
+ margin: 1rem 0 1.5rem;
230
132
  border: none;
231
- background: url('../images/bg_hr.png') repeat-x center;
133
+ background: #e5e5e5;
232
134
  }
233
135
 
234
-
235
- table {
236
- border-collapse: collapse;
237
- border-spacing: 0;
238
- margin-left: auto;
239
- margin-right: auto;
240
- border: 1px solid #cdcaca6b;
241
- margin-bottom: 20px;
242
- text-align: left;
243
- max-width: 100%;
244
- vertical-align: middle;
245
- }
246
-
247
- tbody{
248
- max-width: 100%;
249
- }
250
-
251
- th {
252
- font-family: 'Lucida Grande', 'Helvetica Neue', Helvetica, Arial, sans-serif;
253
- padding: 10px;
254
- border: 1px solid #cdcaca6b;
255
- }
256
-
257
- td {
258
- padding: 5px;
259
- border: 1px solid #cdcaca6b;
260
- }
261
-
262
- form {
263
- background: #f2f2f2;
264
- padding: 20px;
136
+ figure {
137
+ margin: 1rem auto;
138
+ text-align: center;
265
139
  }
266
140
 
267
- kbd {
268
- background-color: #fafbfc;
269
- border: 1px solid #c6cbd1;
270
- border-bottom-color: #959da5;
271
- border-radius: 3px;
272
- box-shadow: inset 0 -1px 0 #959da5;
273
- color: #444d56;
274
- display: inline-block;
275
- font-size: 11px;
276
- line-height: 11px;
277
- padding: 3px 5px;
278
- vertical-align: middle;
141
+ figcaption {
142
+ margin-top: 0.75rem;
143
+ text-align: center;
279
144
  }
280
145
 
281
- /*******************************************************************************
282
- Full-Width Styles
283
- *******************************************************************************/
284
-
285
- .outer {
146
+ table {
286
147
  width: 100%;
148
+ max-width: 100%;
149
+ margin: 0 auto 1rem;
150
+ border-collapse: collapse;
151
+ border: 1px solid #d9d9d9;
152
+ word-wrap: break-word;
287
153
  }
288
154
 
289
- .inner {
290
- position: relative;
291
- max-width: 1080px;
292
- padding: 10px 20px;
293
- margin: 0 auto;
294
- }
295
-
296
- #forkme_banner {
297
- display: block;
298
- position: absolute;
299
- top:0;
300
- right: 10px;
301
- z-index: 10;
302
- padding: 10px 50px 10px 10px;
303
- color: #fff;
304
- // background: url('../images/blacktocat.png') #0090ff no-repeat 95% 50%;
305
- font-weight: 700;
306
- box-shadow: 0 0 10px rgba(0,0,0,.5);
307
- border-bottom-left-radius: 2px;
308
- border-bottom-right-radius: 2px;
309
- }
310
-
311
- #header_wrap {
312
- background: #212121;
313
- background: -moz-linear-gradient(top, #373737, #212121);
314
- background: -webkit-linear-gradient(top, #373737, #212121);
315
- background: -ms-linear-gradient(top, #373737, #212121);
316
- background: -o-linear-gradient(top, #373737, #212121);
317
- background: linear-gradient(to top, #373737, #212121);
318
- }
319
-
320
- #header_wrap .inner {
321
- padding: 0px 0px 0px 0px;
155
+ th, td {
156
+ padding: 0.6rem 0.75rem;
157
+ border: 1px solid #d9d9d9;
158
+ vertical-align: top;
159
+ text-align: left;
322
160
  }
323
161
 
324
- #project_title {
325
- margin: 0;
326
- color: #fff;
327
- font-size: 42px;
162
+ th {
328
163
  font-weight: 700;
329
- text-shadow: #111 0px 0px 10px;
330
- }
331
-
332
- #project_tagline {
333
- color: #fff;
334
- font-size: 24px;
335
- font-weight: 300;
336
- background: none;
337
- text-shadow: #111 0px 0px 10px;
338
- }
339
-
340
- #downloads {
341
- position: absolute;
342
- width: 210px;
343
- z-index: 10;
344
- bottom: -40px;
345
- right: 0;
346
- height: 70px;
347
- // background: url('../images/icon_download.png') no-repeat 0% 90%;
164
+ background: #f7f7f7;
348
165
  }
349
166
 
350
- .zip_download_link {
351
- display: block;
167
+ // Float the TOC right so the body text wraps around it
168
+ #markdown-toc {
352
169
  float: right;
353
- width: 90px;
354
- height:70px;
355
- text-indent: -5000px;
356
- overflow: hidden;
357
- // background: url(../images/sprite_download.png) no-repeat bottom left;
170
+ margin: 0 0 1rem 1.5rem;
171
+ padding: 0.75rem 1rem 0.75rem 1.75rem;
172
+ width: fit-content;
173
+ max-width: 300px;
174
+ font-size: 0.9rem;
175
+ background: #fafafa;
176
+ border: 1px solid #eaeaea;
177
+ border-radius: 4px;
358
178
  }
359
179
 
360
- .tar_download_link {
180
+ #markdown-toc::before {
181
+ content: "Table of Contents";
361
182
  display: block;
362
- float: right;
363
- width: 90px;
364
- height:70px;
365
- text-indent: -5000px;
366
- overflow: hidden;
367
- // background: url(../images/sprite_download.png) no-repeat bottom right;
368
- margin-left: 10px;
369
- }
370
-
371
- .zip_download_link:hover {
372
- // background: url(../images/sprite_download.png) no-repeat top left;
373
- }
374
-
375
- .tar_download_link:hover {
376
- // background: url(../images/sprite_download.png) no-repeat top right;
377
- }
378
-
379
- #main_content_wrap {
380
- background: #ffffff;
381
- border-top: 1px solid #aaaaaa;
382
- border-bottom: 1px solid #aaaaaa;
183
+ margin-bottom: 0.5rem;
184
+ font-weight: bold;
185
+ font-size: 1.1rem;
383
186
  }
384
187
 
385
- #main_content {
386
- padding-top: 40px;
188
+ // Keep the h2 underline from running under the floated TOC
189
+ h2 {
190
+ display: flow-root;
387
191
  }
388
192
 
389
- #footer_wrap {
390
- background: #aaaaaa;
391
- font-size: 10px;
392
- max-height: 80px
193
+ #markdown-toc ul,
194
+ #markdown-toc ol {
195
+ margin: 0;
393
196
  }
394
197
 
395
-
396
-
397
- /*******************************************************************************
398
- Small Device Styles
399
- *******************************************************************************/
400
-
401
- @media screen and (max-width: 992px) {
402
- img {
403
- max-width: 100%;
404
- }
198
+ #markdown-toc li.toctree-l3:first-child {
199
+ display: none;
405
200
  }
406
201
 
407
202
  @media screen and (max-width: 480px) {
408
203
  body {
409
- font-size:14px;
410
- }
411
-
412
- #downloads {
413
- display: none;
414
- }
415
-
416
- .inner {
417
- min-width: 320px;
418
- max-width: 480px;
419
- }
420
-
421
- #project_title {
422
- font-size: 32px;
423
- }
424
-
425
- h1 {
426
- font-size: 28px;
427
- }
428
-
429
- h2 {
430
- font-size: 24px;
431
- }
432
-
433
- h3 {
434
- font-size: 21px;
435
- }
436
-
437
- h4 {
438
- font-size: 18px;
439
- }
440
-
441
- h5 {
442
204
  font-size: 14px;
443
205
  }
444
206
 
445
- h6 {
446
- font-size: 12px;
447
- }
448
-
449
- code, pre {
450
- font-size: 11px;
451
- }
452
-
453
- }
454
-
455
- @media screen and (max-width: 320px) {
456
- body {
457
- font-size:14px;
458
- }
459
-
460
- #downloads {
461
- display: none;
462
- }
463
-
464
- .inner {
465
- min-width: 240px;
466
- max-width: 320px;
467
- }
468
-
469
- #project_title {
470
- font-size: 28px;
471
- }
472
-
473
- h1 {
474
- font-size: 24px;
207
+ #main_content_wrap,
208
+ body > .container-fluid {
209
+ padding-left: 14px;
210
+ padding-right: 14px;
475
211
  }
476
212
 
477
- h2 {
478
- font-size: 21px;
479
- }
213
+ h1 { font-size: 1.7rem; }
214
+ h2 { font-size: 1.5rem; }
215
+ h3 { font-size: 1.3rem; }
216
+ h4 { font-size: 1.15rem; }
480
217
 
481
- h3 {
482
- font-size: 18px;
218
+ #markdown-toc {
219
+ float: none;
220
+ margin: 1rem 0;
221
+ width: auto;
222
+ max-width: none;
483
223
  }
484
-
485
- h4 {
486
- font-size: 16px;
487
- }
488
-
489
- h5 {
490
- font-size: 14px;
491
- }
492
-
493
- h6 {
494
- font-size: 12px;
495
- }
496
-
497
- code, pre {
498
- min-width: 240px;
499
- max-width: 320px;
500
- font-size: 11px;
501
- }
502
-
503
- }
504
-
505
- footer.fixed-bottom {
506
- border-top: 1px solid #e8e8e8;
507
- width: 100%;
508
- padding-top: 15px;
509
- font-size: 90%;
510
- position: absolute;
511
- height: 50px;
512
- bottom: 0px;
513
- margin-bottom: 0px;
514
- position: relative;
515
- }
516
-
517
- footer.sticky-bottom {
518
- border-top: 1px solid #e8e8e8;
519
- width: 100%;
520
- padding-top: 5px;
521
- font-size: 80%;
522
- position: absolute;
523
- height: 45px;
524
- bottom: 0px;
525
- margin-bottom: 0px;
526
- }
527
-
528
-
529
-
530
- // Adding 'Contents' headline to the TOC
531
- #markdown-toc::before {
532
- content: "Table of Contents";
533
- font-weight: bold;
534
- font-size: 26px;
535
- text-align: center;
536
- margin-left: auto;
537
- margin-right: auto;
538
- }
539
-
540
-
541
- // Using numbers instead of bullets for listing
542
- #markdown-toc ul {
543
- list-style: decimal;
544
- }
545
-
546
- #markdown-toc {
547
- padding: 1.5em;
548
- list-style: decimal;
549
- display: flex;
550
- flex-direction: column;
551
- flex-wrap: nowrap;
552
- align-content: center;
553
- justify-content: center;
554
- align-items: flex-start;
555
- width: fit-content;
556
- margin: auto;
557
- max-width: 450px;
558
- }
559
-
560
-
561
-
562
- /*******************************************************************************
563
- Project
564
- *******************************************************************************/
565
- pre {
566
- background: #f4f4f4;
567
- border: 1px solid;
568
- border-left: 3px solid;
569
- border-radius: 6px;
570
- color: #666;
571
- page-break-inside: avoid;
572
- /*font-family: monospace;*/
573
- font-size: 13px;
574
- /*line-height: 1.6;*/
575
- /*margin-bottom: 1.6em;*/
576
- max-width: 100%;
577
- overflow: auto;
578
- /*padding: 1em 1.5em;*/
579
- display: block;
580
- word-wrap: break-word;
581
- }
582
-
583
- figure {
584
- text-align: center !important;
585
- }
586
-
587
- figcaption {
588
- text-align: center;
589
- margin-top: 20px;
590
- margin-bottom: 20px;
591
- }
592
-
593
- img.smallimg{
594
- height: 16px !important;
595
- vertical-align: baseline;
596
- border-radius: 2%;
597
-
598
- }
599
-
600
- abstract {
601
- text-align: justify;
602
- }
603
-
604
- h2.section-title {
605
- font-weight: bold !important;
606
- padding-top: 36px;
607
- font-size: 32px;
608
- text-align:center !important;
609
- }
610
-
611
- h5.section-title {
612
- font-weight: bold !important;
613
- font-size: 28px;
614
- }
615
-
616
- h5.pubname {
617
- padding-top: 16px;
618
- text-align:center !important;
619
- font-style: italic;
620
- width: 100%;
621
- }
622
-
623
- nav {
624
- padding-bottom: 0px;
625
- text-align:center !important;
626
- width: 100%;
627
- }
628
-
629
- h2.section-title {
630
- align:center;
631
- font-weight: bold !important;
632
- font-family: Times New Roman;
633
- padding-top: 36px
634
- }
635
-
636
- a.author{
637
- font-family: cabin;
638
- margin-right: 20px;
639
224
  }