docula 0.3.6 → 0.3.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.
Files changed (47) hide show
  1. package/dist/config.js.map +1 -1
  2. package/dist/docula.d.ts +1 -0
  3. package/dist/docula.d.ts.map +1 -1
  4. package/dist/docula.js +10 -0
  5. package/dist/docula.js.map +1 -1
  6. package/dist/eleventy/shortcodes.js.map +1 -1
  7. package/dist/eleventy.js.map +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +14 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/logger.js.map +1 -1
  12. package/dist/plugins/algolia.js.map +1 -1
  13. package/dist/plugins/github.js.map +1 -1
  14. package/dist/plugins/pagefind.js.map +1 -1
  15. package/dist/plugins/robots.js.map +1 -1
  16. package/dist/tools/inquirer-prompt.js.map +1 -1
  17. package/dist/tools/tools.js.map +1 -1
  18. package/package.json +22 -21
  19. package/templates/default/assets/css/highlight/highlight.min.js +1433 -0
  20. package/templates/default/assets/css/highlight/styles/base16/dracula.min.css +7 -0
  21. package/templates/default/assets/css/styles/home.css +305 -0
  22. package/templates/default/assets/css/styles/index.css +912 -0
  23. package/templates/default/assets/css/styles/search/algolia.css +125 -0
  24. package/templates/default/assets/css/styles/search/pagefind.css +60 -0
  25. package/templates/default/assets/css/styles/variables.css +30 -0
  26. package/templates/default/assets/images/docula-logo-horizontal.webp +0 -0
  27. package/templates/default/assets/images/logo.svg +10 -0
  28. package/templates/default/doc.njk +22 -0
  29. package/templates/default/index.njk +28 -0
  30. package/templates/default/landing/landingHero.njk +8 -0
  31. package/templates/default/landing/singlePage.njk +24 -0
  32. package/templates/default/multipage/header.njk +23 -0
  33. package/templates/default/multipage/homeHeader.njk +20 -0
  34. package/templates/default/multipage/main.njk +47 -0
  35. package/templates/default/multipage/scripts.njk +47 -0
  36. package/templates/default/multipage/searchEngine.njk +5 -0
  37. package/templates/default/multipage/searchModal.njk +19 -0
  38. package/templates/default/multipage/sidebar.njk +50 -0
  39. package/templates/default/releases.njk +38 -0
  40. package/templates/default/search/algolia.njk +98 -0
  41. package/templates/default/search/pagefind.njk +66 -0
  42. package/templates/default/search-index.md +14 -0
  43. package/templates/default/shared/footer.njk +4 -0
  44. package/templates/default/shared/head.njk +15 -0
  45. package/templates/default/shared/highlightScript.njk +6 -0
  46. package/templates/default/shared/homeData.njk +49 -0
  47. package/templates/default/versions.njk +40 -0
@@ -0,0 +1,912 @@
1
+ * {
2
+ margin:0;
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ .hidden {
7
+ display: none;
8
+ }
9
+
10
+ .fixed {
11
+ position: fixed;
12
+ top: 0;
13
+ width: 100%;
14
+ }
15
+
16
+ .icon {
17
+ background-color: transparent;
18
+ border: none;
19
+ cursor: pointer;
20
+ }
21
+
22
+ body {
23
+ position: relative;
24
+ font-family: var(--font-family);
25
+ color: var(--color-text);
26
+ font-size: 16px;
27
+ background-color: var(--background);
28
+ }
29
+
30
+ a {
31
+ text-decoration: none;
32
+ color: inherit;
33
+ }
34
+
35
+ header {
36
+ z-index: 2;
37
+ width: 100%;
38
+ top: 0;
39
+ position: relative;
40
+ background: var(--header-background);
41
+ }
42
+
43
+ button {
44
+ font-family: var(--font-family);
45
+ font-size: 14px;
46
+ }
47
+
48
+ .nav {
49
+ padding-left: 16px;
50
+ padding-right: 16px;
51
+ height: 72px;
52
+ display: flex;
53
+ justify-content: space-between;
54
+ align-items: center;
55
+ width: 100%;
56
+ border-bottom: 1px solid var(--border);
57
+ z-index: 3;
58
+ white-space: nowrap;
59
+ flex-grow: 1;
60
+ }
61
+
62
+ .menu-btn {
63
+ margin-right: 22px;
64
+ }
65
+
66
+ .menu-btn svg {
67
+ width: 20px;
68
+ height: 20px;
69
+ margin-right: 8px;
70
+ }
71
+
72
+ .menu-btn span {
73
+ text-transform: uppercase;
74
+ font-size: 10px;
75
+ vertical-align: super;
76
+ color: var(--color-text);
77
+ }
78
+
79
+ .nav-list {
80
+ padding-left: 0;
81
+ }
82
+
83
+ .nav-list li {
84
+ margin-top: 24px;
85
+ color: var(--sidebar-text);
86
+ list-style: none;
87
+ }
88
+
89
+ .nav-list .active {
90
+ color: var(--sidebar-text-active);
91
+ }
92
+
93
+ .child-list li {
94
+ color: var(--sidebar-text);
95
+ opacity: 0.8;
96
+ }
97
+
98
+ .search-btn {
99
+ transition-duration: .3s;
100
+ transition-timing-function: cubic-bezier(.4,0,.2,1);
101
+ transition-property: all;
102
+ width: 100%;
103
+ outline: none;
104
+ height: 48px;
105
+ display: flex;
106
+ justify-content: flex-start;
107
+ align-items: center;
108
+ color: var(--color-text);
109
+ }
110
+
111
+
112
+ .search-text {
113
+ margin-top: 4px;
114
+ margin-left: 16px;
115
+ line-height: 1;
116
+ text-overflow: ellipsis;
117
+ white-space: nowrap;
118
+ overflow: hidden;
119
+ }
120
+
121
+ .search-btn svg {
122
+ width: 18px;
123
+ height: 22px;
124
+ opacity: .75;
125
+ fill: var(--color-text);
126
+ }
127
+
128
+ .sidebar {
129
+ background: var(--sidebar-background);
130
+ z-index: 4;
131
+ width: 100%;
132
+ top: 0;
133
+ height: 100vh;
134
+ flex-direction: column;
135
+ flex-shrink: 0;
136
+ position: fixed;
137
+ font-family: var(--font-family);
138
+ border-right: 1px solid var(--border);
139
+ }
140
+
141
+ .sidebar-container {
142
+ overflow-y: auto;
143
+ width: inherit;
144
+ flex-grow: 1;
145
+ position: relative;
146
+ }
147
+
148
+ .sidebar-content {
149
+ padding: 48px 40px 24px;
150
+ overflow-y: auto;
151
+ font-size: 14px;
152
+ height: 90vh;
153
+ }
154
+
155
+ .close-btn {
156
+ transition: all .2s ease-out;
157
+ color: var(--sidebar-text);
158
+ margin-top: 48px;
159
+ display: flex;
160
+ align-items: center;
161
+ position: absolute;
162
+ right: 0;
163
+ top: 0;
164
+ margin-right: 40px;
165
+ }
166
+
167
+ .close-btn svg {
168
+ width: 16px;
169
+ height: 16px;
170
+ fill: currentColor;
171
+ margin-right: 16px;
172
+ }
173
+
174
+ .main-container {
175
+ width: 100%;
176
+ overflow-x: hidden;
177
+ padding-top: 100px;
178
+ }
179
+
180
+ .main-content {
181
+ padding: 0 24px;
182
+ display: flex;
183
+ }
184
+
185
+
186
+ .header-search {
187
+ overflow: hidden;
188
+ }
189
+
190
+ .header {
191
+ height: 72px;
192
+ position: fixed;
193
+ top: 0;
194
+ }
195
+
196
+ .sidebar-logo {
197
+ display: none;
198
+ }
199
+
200
+ .bottom {
201
+ z-index: -12;
202
+ }
203
+
204
+ .content {
205
+ width: 100%;
206
+ }
207
+
208
+ .content h1 {
209
+ letter-spacing: -.5px;
210
+ font-weight: 700;
211
+ font-size: 24px;
212
+ line-height: 48px;
213
+ }
214
+
215
+ .content a > code , code {
216
+ padding: 4px 8px;
217
+ border-radius: 2px;
218
+ background-color: var(--code);
219
+ }
220
+
221
+ .content table {
222
+ margin: 16px 0;
223
+ display: block;
224
+ overflow-x: auto;
225
+ white-space: nowrap;
226
+ }
227
+
228
+ .content table thead {
229
+ color: var(--color-primary);
230
+ }
231
+
232
+ .content table, tr, td {
233
+ border: none;
234
+ }
235
+
236
+ .content tr {
237
+ border-bottom: 1px;
238
+ border-color: rgba(90,94,154,.1);
239
+ border-style: solid;
240
+ }
241
+
242
+ .content tr td, .content tr th {
243
+ vertical-align: middle;
244
+ text-align: left;
245
+ }
246
+
247
+ .content tr th {
248
+ padding: 16px;
249
+ }
250
+
251
+ .content tr td {
252
+ padding: 16px;
253
+ }
254
+
255
+ .content tr th:first-child, .content tr td:first-child {
256
+ padding-left: 0;
257
+ }
258
+
259
+ .content table tbody tr td:first-child {
260
+ width: 98px;
261
+ }
262
+
263
+ .items-start {
264
+ display: flex;
265
+ justify-content: space-between;
266
+ align-items: flex-start;
267
+ margin-bottom: 4px;
268
+ }
269
+
270
+ .breadcrumb {
271
+ line-height: 16px;
272
+ font-size: 10px;
273
+ letter-spacing: 1.5px;
274
+ text-transform: uppercase;
275
+ font-weight: 600;
276
+ }
277
+
278
+ .content h2 {
279
+ font-size: 20px;
280
+ line-height: 32px;
281
+ padding-top: 68px;
282
+ margin-bottom: 0;
283
+ font-weight: 600;
284
+ }
285
+
286
+ .content h3 {
287
+ font-size: 18px;
288
+ line-height: 24px;
289
+ padding-top: 48px;
290
+ margin-bottom: 0;
291
+ font-weight: 600;
292
+ }
293
+
294
+ .content h4, .content h5, .content h6 {
295
+ padding-top: 30px;
296
+ }
297
+
298
+ .content h4, .content h5, .content h6 {
299
+ font-weight: 600;
300
+ }
301
+
302
+ .content > ul, .content > ol {
303
+ margin-top: 12px;
304
+ padding-left: 16px;
305
+ }
306
+
307
+ .content > ul {
308
+ list-style: none;
309
+ }
310
+
311
+ .content > ul li, .content > ol li {
312
+ margin: 8px 0;
313
+ }
314
+ .content > ul li::before {
315
+ content: "\2022";
316
+ text-indent: -16px;
317
+ display: inline-block;
318
+ color: var(--color-secondary);
319
+ float: left;
320
+ }
321
+
322
+ .content li {
323
+ line-height: 1.5;
324
+ }
325
+
326
+ .content pre {
327
+ margin-top: 22px;
328
+ margin-bottom: 32px;
329
+ }
330
+
331
+ .content p {
332
+ margin-top: 16px;
333
+ line-height: 24px;
334
+ }
335
+
336
+ .sidebar-footer {
337
+ padding: 16px 40px;
338
+ display: flex;
339
+ align-items: center;
340
+ flex-wrap: wrap;
341
+ font-size: 14px;
342
+ border-top: 1px solid var(--border);
343
+ justify-content: space-between;
344
+ position: absolute;
345
+ bottom: 0;
346
+ background-color: var(--sidebar-background);
347
+ width: 100%;
348
+ }
349
+
350
+ .sidebar-footer a {
351
+ font-size: 12px;
352
+ color: var(--sidebar-text);
353
+ }
354
+
355
+ .sidebar-footer a:first-child {
356
+ margin-right: 32px
357
+ }
358
+
359
+ .on-page-container {
360
+ padding-top: 28px;
361
+ padding-bottom: 28px;
362
+ }
363
+
364
+ .on-page-container h5 {
365
+ text-transform: uppercase;
366
+ letter-spacing: 1.5px;
367
+ margin-bottom: 16px;
368
+ font-size: 10px;
369
+ font-weight: 600;
370
+ color: var(--color-secondary);
371
+ }
372
+
373
+ .on-page-container .toc {
374
+ list-style: none;
375
+ line-height: 24px;
376
+ padding-left: 0;
377
+ width: 100%;
378
+ font-size: 14px;
379
+ }
380
+
381
+ .on-page-container ol {
382
+ padding-left: 0;
383
+ list-style: none;
384
+ width: 100%;
385
+ }
386
+
387
+ .on-page-container ol > li {
388
+ display: flex;
389
+ align-items: baseline;
390
+ position: relative;
391
+ }
392
+
393
+ .on-page-container ol > li > a {
394
+ transition: all .2s ease-out;
395
+ color: var(--color-secondary);
396
+ padding: 8px 0;
397
+ display: flex;
398
+ align-items: center;
399
+ justify-content: space-between;
400
+ width: 100%;
401
+ overflow: hidden;
402
+ text-overflow: ellipsis;
403
+ white-space: initial;
404
+ }
405
+
406
+ .on-page-container ol > li:hover > a {
407
+ transform: translateX(4px);
408
+ }
409
+
410
+ .on-page-main ol > li > a::after {
411
+ position: absolute;
412
+ right: 0;
413
+ content: '';
414
+ display: inline-block;
415
+ width: 4px;
416
+ height: 4px;
417
+ border-right: 1px solid var(--color-secondary);
418
+ border-bottom: 1px solid var(--color-secondary);
419
+ transform: rotate(-45deg);
420
+ }
421
+
422
+ .on-page-list {
423
+ margin-left: 8px;
424
+ font-size: 12px;
425
+ }
426
+
427
+ .header-menu {
428
+ display: flex;
429
+ align-items: center;
430
+ }
431
+
432
+ .header-logo {
433
+ flex-shrink: 0;
434
+ margin-right: 24px;
435
+ display: block;
436
+ }
437
+
438
+ .header-logo img {
439
+ width: 48px;
440
+ height: 48px;
441
+ }
442
+
443
+ .child-list {
444
+ padding-left: 18px;
445
+ }
446
+
447
+
448
+ .breadcrumb a:hover {
449
+ text-decoration: underline;
450
+ }
451
+
452
+ details > summary {
453
+ cursor: pointer;
454
+ list-style: none;
455
+ }
456
+
457
+ /*search-modal*/
458
+ .search-modal {
459
+ position: fixed;
460
+ top: 0;
461
+ left: 0;
462
+ width: 100%;
463
+ height: 100%;
464
+ background: rgba(0,0,0,.4);
465
+ display: none;
466
+ overflow-y: auto;
467
+ transition: all 0.3s linear;
468
+ z-index: 999;
469
+ }
470
+
471
+ .show-modal {
472
+ display: flex;
473
+ z-index: 100;
474
+ }
475
+
476
+ .search-container {
477
+ width: 100%;
478
+ height: 100%;
479
+ background-color: transparent;
480
+ }
481
+
482
+ .search-box {
483
+ height: 72px;
484
+ box-shadow: 0 8px 22px 0 rgb(37 44 97 / 15%), 0 4px 6px 0 rgb(93 100 148 / 20%);
485
+ position: fixed;
486
+ top: 0;
487
+ width: 100%;
488
+ }
489
+
490
+ .close-modal-btn {
491
+ opacity: .3;
492
+ display: flex;
493
+ align-items: center;
494
+ justify-content: center;
495
+ border-radius: 50%;
496
+ border: 1px solid var(--color-text);
497
+ position: absolute;
498
+ right: 22px;
499
+ top: 50%;
500
+ transform: translateY(-50%);
501
+ z-index: 8;
502
+ width: 24px;
503
+ height: 24px;
504
+ cursor: pointer;
505
+ }
506
+
507
+ .close-modal-btn svg {
508
+ width: 10px;
509
+ height: 10px;
510
+ fill: currentColor;
511
+ }
512
+
513
+
514
+ .search-box .ais-SearchBox-form {
515
+ height: 100%;
516
+ background-color: transparent;
517
+ }
518
+
519
+ .ais-Hits-item, .ais-InfiniteHits-item {
520
+ background: var(--search-input-background) !important;
521
+ }
522
+
523
+ .search-box input {
524
+ height: 72px !important;
525
+ width: 100%;
526
+ padding-left: 48px;
527
+ padding-right: 16px;
528
+ outline: none;
529
+ display: flex;
530
+ justify-content: flex-start;
531
+ align-items: center;
532
+ color: var(--color-text);
533
+ background-color: var(--search-input-background);
534
+ border-bottom-left-radius: 0 !important;
535
+ border-bottom-right-radius: 0 !important;
536
+ }
537
+
538
+ .search-content {
539
+ background-color: var(--search-input-background);
540
+ }
541
+
542
+ .search-box input::placeholder {
543
+ opacity: 0.8;
544
+ }
545
+
546
+ .search-results {
547
+ margin-top: 72px;
548
+ }
549
+
550
+ .search-content {
551
+ height: 100%;
552
+ width: 100%;
553
+ }
554
+
555
+ .search-result {
556
+ padding: 24px 0;
557
+ }
558
+
559
+ .search-result h2 {
560
+ padding-bottom: 32px;
561
+ color: var(--color-secondary);
562
+ }
563
+
564
+ .ais-Hits--empty {
565
+ padding-top: 32px;
566
+ text-align: center;
567
+ word-break: break-word;
568
+ }
569
+
570
+ .ais-Highlight-highlighted, .ais-Snippet-highlighted {
571
+ background-color: var(--background-search-highlight) !important;
572
+ color: var(--color-search-highlight) !important;
573
+ }
574
+
575
+ .content table td {
576
+ max-width: 200px;
577
+ min-width: 120px;
578
+ white-space: initial;
579
+ overflow-wrap: break-word;
580
+ word-wrap: break-word;
581
+ word-break: break-word;
582
+ }
583
+
584
+ @media screen and (min-width: 576px) {
585
+ .date {
586
+ display: flex;
587
+ position: relative;
588
+ text-transform: uppercase;
589
+ letter-spacing: 1.5px;
590
+ color: var(--color-secondary);
591
+ font-size: 10px;
592
+ font-weight: 600;
593
+ }
594
+
595
+ .date span::before {
596
+ position: absolute;
597
+ content: '';
598
+ background-image: url("data:image/svg+xml,%3Csvg class='block h-full' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M11 22A11 11 0 1 1 22 11 11 11 0 0 1 11 22ZM11 2a9 9 0 1 0 9 9A9 9 0 0 0 11 2Z'%3E%3C/path%3E%3Cpath d='M15 14a.93.93 0 0 1-.45-.11l-4-2A1 1 0 0 1 10 11V5a1 1 0 0 1 2 0v5.38l3.45 1.73a1 1 0 0 1 .44 1.34A1 1 0 0 1 15 14Z'%3E%3C/path%3E%3C/svg%3E");
599
+ left: -24px;
600
+ width: 12px;
601
+ height: 12px;
602
+ }
603
+
604
+ .content h2 {
605
+ font-size: 24px;
606
+ }
607
+
608
+ .nav {
609
+ padding-left: 32px;
610
+ padding-right: 32px;
611
+ }
612
+ }
613
+
614
+
615
+ @media screen and (min-width: 768px) {
616
+ .main-content {
617
+ padding: 0 56px 24px;
618
+ }
619
+
620
+ .main-container {
621
+ padding-top: 120px;
622
+ }
623
+
624
+ .nav {
625
+ padding-left: 56px;
626
+ padding-right: 56px;
627
+ }
628
+
629
+ .content h1 {
630
+ font-size: 30px;
631
+ }
632
+
633
+ .search-text {
634
+ display: inline;
635
+ }
636
+ }
637
+
638
+ @media screen and (min-width: 992px) {
639
+ .hide-d {
640
+ display: none;
641
+ }
642
+
643
+ .nav {
644
+ height: auto;
645
+ box-shadow: none;
646
+ padding-right: 16px;
647
+ z-index: 30;
648
+ }
649
+
650
+ .sidebar {
651
+ width: 324px;
652
+ display: flex;
653
+ height: 100%;
654
+ z-index: 20;
655
+ }
656
+
657
+ .close-btn {
658
+ display: none;
659
+ }
660
+
661
+ .sidebar-content {
662
+ padding-top: 24px;
663
+ height: 100%;
664
+ }
665
+
666
+ .nav-list {
667
+ margin-top: 0;
668
+ }
669
+
670
+ .main-container {
671
+ margin-top: 48px;
672
+ padding-top: 0;
673
+ }
674
+
675
+ .header-link {
676
+ margin-top: 20px;
677
+ }
678
+
679
+ .header-link img {
680
+ width: 180px;
681
+ }
682
+
683
+ .layout {
684
+ display: grid;
685
+ grid-template-columns: 324px 1fr;
686
+ grid-template-rows: 72px 1fr;
687
+ grid-gap: 0;
688
+ }
689
+
690
+ .header {
691
+ grid-area: 1 / 2 / 2 / 3;
692
+ z-index: 40;
693
+ left: 324px;
694
+ background-color: var(--search-input-background)
695
+ }
696
+
697
+ aside {
698
+ grid-area: 1 / 1 / 3 / 2;
699
+ position: fixed;
700
+ top: 200px;
701
+ left: 0;
702
+ z-index: 40;
703
+ height: 100%;
704
+ width: 324px;
705
+ }
706
+
707
+ .main-container {
708
+ grid-area: 2 / 2 / 3 / 3;
709
+ }
710
+
711
+ .sidebar-logo {
712
+ position: sticky;
713
+ top: 0;
714
+ left: 0;
715
+ z-index: 80;
716
+ width: 324px;
717
+ background-color: var(--sidebar-background);
718
+ display: flex;
719
+ align-items: center;
720
+ justify-content: center;
721
+ border-right: 1px solid var(--border);
722
+ }
723
+
724
+
725
+ .sidebar-logo svg {
726
+ width: 32px;
727
+ height: 32px;
728
+ }
729
+
730
+ .header-content {
731
+ display: flex;
732
+ height: 100%;
733
+ }
734
+
735
+ .nav {
736
+ justify-content: flex-start;
737
+ padding-left: 56px;
738
+ z-index: 30;
739
+ }
740
+
741
+ .nav-list {
742
+ padding-left: 0;
743
+ }
744
+
745
+ .content h1 {
746
+ font-size: 30px;
747
+ }
748
+
749
+ .on-page--desktop ~ .on-page-list {
750
+ margin-left: 0;
751
+ }
752
+
753
+ .search-box, .search-box input {
754
+ border: none;
755
+ font-size: 24px;
756
+ }
757
+
758
+ .search-box {
759
+ border-bottom: 1px solid rgba(119,122,175,.1);
760
+ box-shadow: none;
761
+ }
762
+
763
+ .search-box .ais-SearchBox-form {
764
+ border-top-right-radius: 8px;
765
+ border-top-left-radius: 8px;
766
+ }
767
+
768
+ .search-container {
769
+ height: 580px;
770
+ width: 780px;
771
+ position: absolute;
772
+ top: 50%;
773
+ left: 50%;
774
+ transform: translate(-50%, -50%);
775
+ display: flex;
776
+ flex-direction: column;
777
+ }
778
+
779
+ .search-content {
780
+ border-radius: 8px;
781
+ }
782
+
783
+ .search-matches {
784
+ max-height: 580px;
785
+ overflow-y: auto;
786
+ border-radius: 8px;
787
+ }
788
+
789
+ .content > ul, .content > ol {
790
+ padding-left: 32px;
791
+ }
792
+
793
+ .content table td {
794
+ max-width: 380px;
795
+ }
796
+
797
+ .sidebar-footer {
798
+ position: sticky;
799
+ }
800
+
801
+ }
802
+
803
+ @media screen and (min-width: 1200px) {
804
+ .search-container {
805
+ max-width: 1040px;
806
+ }
807
+ }
808
+
809
+ @media screen and (min-width: 1458px) {
810
+ .on-page--desktop ol {
811
+ font-size: 12px;
812
+ }
813
+
814
+ .on-page--desktop ol li a {
815
+ padding: 4px 0;
816
+ }
817
+
818
+ .on-page--desktop {
819
+ width: 100%;
820
+ position: relative;
821
+ transition: all .3s ease-in;
822
+ display: flex;
823
+ justify-content: flex-end;
824
+ }
825
+
826
+ .on-page-fixed {
827
+ position: fixed;
828
+ max-width: 200px
829
+ }
830
+
831
+ .content {
832
+ max-width: 750px;
833
+ }
834
+
835
+ .main-content {
836
+ padding: 0 56px 24px;
837
+
838
+ }
839
+ }
840
+
841
+ @media screen and (min-width: 1600px) {
842
+ .layout {
843
+ grid-template-columns: 380px 1fr;
844
+ }
845
+
846
+ .header {
847
+ left: 380px;
848
+ }
849
+
850
+ .sidebar, aside, .sidebar-logo {
851
+ width: 380px;
852
+ }
853
+
854
+ .sidebar-logo, .sidebar-content, .sidebar-footer {
855
+ padding-left: 54px;
856
+ padding-right: 54px;
857
+ }
858
+
859
+ .main-content {
860
+ padding-left: 72px;
861
+ padding-right: 72px;
862
+ }
863
+
864
+ .on-page--desktop {
865
+ justify-content: center;
866
+ }
867
+
868
+ }
869
+
870
+ @media screen and (min-width: 1800px) {
871
+ .layout {
872
+ grid-template-columns: 460px 1fr;
873
+ }
874
+
875
+ .header {
876
+ left: 460px;
877
+ }
878
+
879
+ .sidebar, aside, .sidebar-logo {
880
+ width: 460px;
881
+ }
882
+
883
+ .sidebar-logo, .sidebar-content, .sidebar-footer {
884
+ padding-left: 88px;
885
+ padding-right: 88px;
886
+ }
887
+
888
+ }
889
+
890
+
891
+ @media screen and (min-width: 2400px) {
892
+ .layout {
893
+ grid-template-columns: 600px 1fr;
894
+ }
895
+
896
+ .header {
897
+ left: 600px;
898
+ }
899
+
900
+ .sidebar, aside, .sidebar-logo {
901
+ width: 600px;
902
+ }
903
+
904
+ .sidebar-logo, .sidebar-content, .sidebar-footer {
905
+ padding-left: 120px;
906
+ padding-right: 120px;
907
+ }
908
+
909
+ .content {
910
+ max-width: 880px;
911
+ }
912
+ }