jursdocs 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,18 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+ <article class="post" itemscope itemtype="http://schema.org/BlogPosting">
5
+
6
+ <header class="post-header">
7
+ <h1 class="post-title" itemprop="name headline">{{ page.title | escape }}</h1>
8
+ <p class="post-meta"><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time>{% if page.author %} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>{% endif %}</p>
9
+ </header>
10
+
11
+ <div class="post-content" itemprop="articleBody">
12
+ {{ content }}
13
+ </div>
14
+
15
+ {% if site.disqus.shortname %}
16
+ {% include disqus_comments.html %}
17
+ {% endif %}
18
+ </article>
@@ -0,0 +1,20 @@
1
+ $sidebar-width: 20rem;
2
+ $sidebar-padding: 1rem;
3
+ $dark-gray: #373942;
4
+ $brand-color: #ce2922;
5
+ $base-font-color: #333;
6
+ $header-height: 118px;
7
+
8
+ $success-color: #5cb85c;
9
+ $info-color: #5bc0de;
10
+ $warning-color: #f0ad4e;
11
+ $danger-color: #d9534f;
12
+
13
+ // Import partials.
14
+ @media screen {
15
+ @import "jursdocs/base", "jursdocs/typography","jursdocs/syntax-highlighting";
16
+ }
17
+
18
+ @media print {
19
+ @import "jursdocs/print";
20
+ }
@@ -0,0 +1,611 @@
1
+ * {
2
+ box-sizing: border-box;
3
+ }
4
+
5
+ a,
6
+ abbr,
7
+ acronym,
8
+ address,
9
+ applet,
10
+ article,
11
+ aside,
12
+ audio,
13
+ b,
14
+ big,
15
+ blockquote,
16
+ body,
17
+ canvas,
18
+ caption,
19
+ center,
20
+ cite,
21
+ code,
22
+ dd,
23
+ del,
24
+ details,
25
+ dfn,
26
+ div,
27
+ dl,
28
+ dt,
29
+ em,
30
+ embed,
31
+ fieldset,
32
+ figcaption,
33
+ figure,
34
+ footer,
35
+ form,
36
+ h1,
37
+ h2,
38
+ h3,
39
+ h4,
40
+ h5,
41
+ h6,
42
+ header,
43
+ hgroup,
44
+ html,
45
+ i,
46
+ iframe,
47
+ img,
48
+ ins,
49
+ kbd,
50
+ label,
51
+ legend,
52
+ li,
53
+ mark,
54
+ menu,
55
+ nav,
56
+ object,
57
+ ol,
58
+ output,
59
+ p,
60
+ pre,
61
+ q,
62
+ ruby,
63
+ s,
64
+ samp,
65
+ section,
66
+ small,
67
+ span,
68
+ strike,
69
+ strong,
70
+ sub,
71
+ summary,
72
+ sup,
73
+ table,
74
+ tbody,
75
+ td,
76
+ tfoot,
77
+ th,
78
+ thead,
79
+ time,
80
+ tr,
81
+ tt,
82
+ u,
83
+ ul,
84
+ var,
85
+ video {
86
+ margin: 0;
87
+ padding: 0;
88
+ border: 0;
89
+ font-size: 100%;
90
+ vertical-align: baseline;
91
+ }
92
+ /* HTML5 display-role reset for older browsers */
93
+ article,
94
+ aside,
95
+ details,
96
+ figcaption,
97
+ figure,
98
+ footer,
99
+ header,
100
+ hgroup,
101
+ menu,
102
+ nav,
103
+ section {
104
+ display: block;
105
+ }
106
+
107
+ body {
108
+ color: #333;
109
+ line-height: 1.5;
110
+ font-family: 'Lato', sans-serif;
111
+ @media (max-width:480px) {
112
+ font-size: 0.875em;
113
+ }
114
+ }
115
+
116
+ ol,
117
+ ul {
118
+ list-style: none;
119
+ }
120
+
121
+ dl {
122
+ margin-bottom: 2rem;
123
+ }
124
+
125
+ dt {
126
+ font-weight: 700;
127
+ margin-top: 1em;
128
+ }
129
+
130
+ blockquote,
131
+ q {
132
+ quotes: none;
133
+ }
134
+
135
+ blockquote:after,
136
+ blockquote:before,
137
+ q:after,
138
+ q:before {
139
+ content: '';
140
+ content: none;
141
+ }
142
+
143
+ table {
144
+ border-collapse: collapse;
145
+ border-spacing: 0;
146
+ }
147
+
148
+ img {
149
+ max-width: 100%;
150
+ display: block;
151
+ margin: 2rem auto;
152
+ }
153
+
154
+ a {
155
+ color: $brand-color;
156
+ }
157
+
158
+ .lead,
159
+ .main-content > p:first-of-type {
160
+ font-size: 1.3em;
161
+ font-weight: 600;
162
+ opacity: 0.6;
163
+ }
164
+
165
+ .page-header {
166
+ position: fixed;
167
+ width: 100%;
168
+ z-index: 100;
169
+ }
170
+
171
+ .main-header {
172
+ display: flex;
173
+ background-color: $dark-gray;
174
+ color: #fff;
175
+ width: 100%;
176
+ top: 0;
177
+ z-index: 100;
178
+ justify-content: space-between;
179
+ }
180
+
181
+ .logo {
182
+ flex: 0 0 $sidebar-width;
183
+ padding: 1rem $sidebar-padding;
184
+
185
+ svg {
186
+ max-height: 25px;
187
+ display: block;
188
+ width: auto;
189
+
190
+ }
191
+ }
192
+
193
+ .header-nav {
194
+ ul {
195
+ display: flex;
196
+ list-style: none;
197
+ margin: 0;
198
+ padding: 0;
199
+ height: 100%;
200
+
201
+ }
202
+
203
+ li {
204
+ display: flex;
205
+ align-items: center;
206
+ margin: 0 1em 0 0;
207
+ }
208
+
209
+ a {
210
+ color: #adb0ba;
211
+ text-decoration: none;
212
+ padding: 0 2rem;
213
+ }
214
+ }
215
+
216
+ .page-subheader {
217
+ display: flex;
218
+ border-bottom: 1px solid rgba(#000, .2);
219
+ box-shadow: 0 0 4px 0 rgba(#000, .2);
220
+ width: 100%;
221
+ top: 57px;
222
+ background: linear-gradient(rgba(#fff, 1) 0%, rgba(#fff, .95) 50%, rgba(#fff, .75) 100%);
223
+ z-index: 50;
224
+
225
+ .page-title {
226
+ font-size: 1.2rem;
227
+ padding: $sidebar-padding;
228
+ }
229
+
230
+ .breadcrumbs {
231
+ padding: 0 $sidebar-padding;
232
+ flex: 1 1 auto;
233
+ order: 2;
234
+ display: flex;
235
+ align-items: center;
236
+
237
+ a {
238
+ text-transform: capitalize;
239
+ margin: 0 0.5em;
240
+
241
+ &:first-child {
242
+ margin-left: 0;
243
+ }
244
+
245
+ &:last-child {
246
+ margin-right: 0;
247
+ }
248
+ }
249
+ }
250
+
251
+ .print-button {
252
+ display: block;
253
+ flex: 0 1 30px;
254
+ width: 30px;
255
+ order: 3;
256
+ align-self: center;
257
+ margin-right: 1rem;
258
+ opacity: .5;
259
+ svg {
260
+ width: 30px;
261
+ height: auto;
262
+ }
263
+ }
264
+
265
+ .page-title {
266
+ flex: 0 0 $sidebar-width;
267
+ order: 1;
268
+ }
269
+ }
270
+
271
+ .wrapper {
272
+ width: 100%;
273
+ }
274
+
275
+ .page-content {
276
+ overflow: auto;
277
+ min-height: 100vh;
278
+ width: 100%;
279
+ display: flex;
280
+ justify-content: space-between;
281
+ @media (max-width:574px) {
282
+ flex-direction: column;
283
+ }
284
+
285
+ .main-content {
286
+ float: left;
287
+ padding: calc(2rem + #{$header-height}) 0 2rem;
288
+ overflow: hidden;
289
+ flex: 1 1 auto;
290
+ order: 2;
291
+ @media (max-width:574px) {
292
+ order: 1;
293
+ }
294
+
295
+ .main-content-inner {
296
+ width: 90%;
297
+ max-width: 42rem;
298
+ margin: 0 auto;
299
+ }
300
+
301
+ ul {
302
+ list-style: disc;
303
+ }
304
+
305
+ ol {
306
+ list-style: decimal;
307
+ }
308
+ }
309
+
310
+ .sidebar {
311
+ flex: 0 1 $sidebar-width;
312
+ border-bottom: 1px solid rgba(#000, .2);
313
+ box-shadow: 0 0 4px 0 rgba(#000, .2);
314
+ padding: calc(2rem + #{$header-height}) $sidebar-padding 2rem;
315
+ background-color: $dark-gray;
316
+
317
+ order: 1;
318
+ @media (max-width:720px) and (min-width:575px) {
319
+ font-size: 0.85em;
320
+ }
321
+ @media (max-width:574px) {
322
+ order: 2;
323
+ }
324
+
325
+ a {
326
+ color: #fff;
327
+ text-decoration: none;
328
+ font-size: 1em;
329
+
330
+ a {
331
+ font-size: 0.85em;
332
+ }
333
+ }
334
+
335
+ li {
336
+ line-height: 1.2;
337
+
338
+ a {
339
+ margin-bottom: 0.5rem;
340
+ display: block;
341
+ line-height: 1.2;
342
+ }
343
+ }
344
+
345
+ nav > ul > li {
346
+ margin-bottom: 2rem;
347
+
348
+ > a {
349
+ font-size: 1.1em;
350
+ }
351
+ }
352
+
353
+ ul {
354
+ margin: 0;
355
+ padding: 0;
356
+ list-style: none;
357
+
358
+ > li > ul {
359
+ //margin-left: 1rem;
360
+
361
+ a {
362
+ opacity: 0.40;
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+
369
+ .home {
370
+ padding-top: 57px;
371
+
372
+ .page-content {
373
+ min-height: none;
374
+ }
375
+ }
376
+
377
+ .hero {
378
+ background-image: url('HNCK4011.jpg');
379
+ background-size: cover;
380
+ background-position: center;
381
+ min-height: 30rem;
382
+ display: flex;
383
+ justify-content: center;
384
+ align-items: center;
385
+ padding: 61px 2em 0;
386
+
387
+ h1 {
388
+ margin: 0;
389
+ color: #fff;
390
+ }
391
+ }
392
+
393
+ .welcome {
394
+ text-align: center;
395
+ max-width: 680px;
396
+ margin: 4em auto 2em;
397
+
398
+ p {
399
+ font-size: 1em;
400
+ }
401
+ }
402
+
403
+ .frontpage-sections {
404
+
405
+ display: flex;
406
+ flex-wrap: wrap;
407
+ justify-content: space-around;
408
+
409
+ .section {
410
+ flex: 1 1 50%;
411
+ text-align: center;
412
+ max-width: 300px;
413
+ margin: 0 0 4em;
414
+ min-width: 260px;
415
+ }
416
+
417
+ img {
418
+ margin: 0 auto 2em;
419
+ max-width: 10em;
420
+ }
421
+
422
+ .section-header {
423
+ font-size: 1.3em;
424
+ text-decoration: none;
425
+ margin-bottom: 4em;
426
+ }
427
+
428
+ ul {
429
+ margin: 1em 0 0;
430
+
431
+ a {
432
+ color: $base-font-color;
433
+ opacity: 0.75;
434
+ text-decoration: none;
435
+ }
436
+ }
437
+ }
438
+
439
+ footer.site-footer {
440
+ padding: 2rem;
441
+ background-color: #efefef;
442
+ }
443
+
444
+ .btn {
445
+ background-color: $brand-color;
446
+ color: #fff;
447
+ text-decoration: none;
448
+ padding: 0.3em 1em 0.4em;
449
+ border-radius: 4px;
450
+ }
451
+
452
+ #markdown-toc {
453
+ margin: 0;
454
+ padding: 0;
455
+ list-style: none;
456
+
457
+ ul {
458
+ margin-left: 2rem;
459
+ }
460
+
461
+ li {
462
+ line-height: 1.2;
463
+
464
+ a {
465
+ margin-bottom: 0.5rem;
466
+ display: block;
467
+ line-height: 1.2;
468
+ }
469
+ }
470
+
471
+ a {
472
+ text-decoration: none;
473
+ font-size: 1em;
474
+
475
+ }
476
+ }
477
+
478
+ .description_header {
479
+ font-size: 1.2em;
480
+ margin: 0 0 0.5em;
481
+ }
482
+
483
+ .popup,
484
+ .overlay {
485
+ position: fixed;
486
+ top: 0;
487
+ left: 0;
488
+ z-index: 100;
489
+ background-color: rgba(#dedede,.9);
490
+ width: 100%;
491
+ height: 100vh;
492
+ display: flex;
493
+ justify-content: center;
494
+ align-items: center;
495
+ &.hidden {
496
+ display: none;
497
+ }
498
+ .popup-inner,
499
+ .overlay-inner {
500
+ max-width: 30rem;
501
+ width: 80%;
502
+ box-shadow: 0 0 4px 0 rgba(#000, .2);
503
+ padding: 2rem;
504
+ background-color: #fff;
505
+ position: relative;
506
+ h3 {
507
+ margin: 0 0 1rem;
508
+ }
509
+ .close {
510
+ position: absolute;
511
+ top: 2rem;
512
+ right: 1rem;
513
+ text-decoration: none;
514
+ display: block;
515
+ font-size: 3rem;
516
+ color: #ccc;
517
+ }
518
+ }
519
+ }
520
+
521
+ .overlay {
522
+ background-color: #ccc;
523
+ .back_button {
524
+ position: absolute;
525
+ top: -3rem;
526
+ left: 0;
527
+ text-decoration: none;
528
+ display: block;
529
+ font-size: 3rem;
530
+ color: #000;
531
+ width: 37px;
532
+ height: 3rem;
533
+ line-height: 1;
534
+ background: none;
535
+ border: 0;
536
+ margin: 0;
537
+ padding: 0;
538
+ }
539
+ }
540
+
541
+ .alert {
542
+ padding: 1rem;
543
+ margin-bottom: 2rem;
544
+ border: 1px solid transparent;
545
+ border-radius: 4px;
546
+ p:last-child {
547
+ margin-bottom: 0;
548
+ }
549
+ &.alert-success {
550
+ color: darken($success-color, 25);
551
+ background-color: lighten($success-color, 35);
552
+ border-color: lighten($success-color, 30);
553
+ }
554
+ &.alert-info {
555
+ color: darken($info-color, 25);
556
+ background-color: lighten($info-color, 30);
557
+ border-color: lighten($info-color, 35);
558
+ }
559
+ &.alert-warning {
560
+ color: darken($warning-color, 25);
561
+ background-color: lighten($warning-color, 30);
562
+ border-color: lighten($warning-color, 25);
563
+
564
+ }
565
+ &.alert-danger {
566
+ color: darken($danger-color, 25);
567
+ background-color: lighten($danger-color, 35);
568
+ border-color: lighten($danger-color, 30);
569
+ }
570
+ }
571
+
572
+ .callout {
573
+ padding: 20px;
574
+ margin: 20px 0;
575
+ border: 1px solid #eee;
576
+ border-left-width: 5px;
577
+ border-radius: 3px;
578
+ h4 {
579
+ margin-top: 0;
580
+ margin-bottom: 5px;
581
+ }
582
+ p:last-child {
583
+ margin-bottom: 0;
584
+ }
585
+ code {
586
+ border-radius: 3px;
587
+ }
588
+ + .callout {
589
+ margin-top: -5px;
590
+ }
591
+ &.callout-danger {
592
+ border-left-color: darken($danger-color, 25);
593
+ h4 {
594
+ color: darken($danger-color, 25);
595
+ }
596
+ }
597
+
598
+ &.callout-warning {
599
+ border-left-color: darken($warning-color, 25);
600
+ h4 {
601
+ color: darken($warning-color, 25);
602
+ }
603
+ }
604
+
605
+ &.callout-info {
606
+ border-left-color: darken($info-color, 25);
607
+ h4 {
608
+ color: darken($info-color, 25);
609
+ }
610
+ }
611
+ }