jekyll-theme-rop 2.1.15

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 (67) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +1084 -0
  4. data/_config.yml +89 -0
  5. data/_data/placeholder.yml +0 -0
  6. data/_includes/_nav-item.html +38 -0
  7. data/_includes/_post-meta.html +24 -0
  8. data/_includes/external-link.html +59 -0
  9. data/_includes/featured_posts.html +11 -0
  10. data/_includes/featured_software.html +55 -0
  11. data/_includes/featured_specs.html +31 -0
  12. data/_includes/head.html +9 -0
  13. data/_includes/home-hero.html +27 -0
  14. data/_includes/home-hub.html +81 -0
  15. data/_includes/home-project.html +19 -0
  16. data/_includes/index-page-hero.html +3 -0
  17. data/_includes/index-page-item-filter.html +83 -0
  18. data/_includes/item-doc-page.html +138 -0
  19. data/_includes/item-external-links.html +5 -0
  20. data/_includes/legal.html +24 -0
  21. data/_includes/logo.html +1 -0
  22. data/_includes/nav-links.html +45 -0
  23. data/_includes/nav-page-link.html +17 -0
  24. data/_includes/post-author-pic.html +13 -0
  25. data/_includes/post-card.html +59 -0
  26. data/_includes/project-doc-page.html +0 -0
  27. data/_includes/project-nav.html +0 -0
  28. data/_includes/scripts.html +0 -0
  29. data/_includes/social-links.html +23 -0
  30. data/_includes/software-card-hub.html +45 -0
  31. data/_includes/software-symbol.html +6 -0
  32. data/_includes/symbol.svg +19 -0
  33. data/_includes/tag-list.html +17 -0
  34. data/_includes/title.html +1 -0
  35. data/_layouts/blog-index.html +19 -0
  36. data/_layouts/default.html +156 -0
  37. data/_layouts/docs-base.html +87 -0
  38. data/_layouts/home.html +13 -0
  39. data/_layouts/page.html +5 -0
  40. data/_layouts/post.html +57 -0
  41. data/_layouts/product.html +9 -0
  42. data/_layouts/project-index.html +45 -0
  43. data/_layouts/software-index.html +31 -0
  44. data/_layouts/spec-index.html +31 -0
  45. data/_layouts/spec.html +6 -0
  46. data/_pages/blog.html +8 -0
  47. data/_pages/software.html +6 -0
  48. data/_pages/specs.html +6 -0
  49. data/_sass/headroom.scss +22 -0
  50. data/_sass/jekyll-theme-open-project.scss +2 -0
  51. data/_sass/jekyll-theme-rop.scss +798 -0
  52. data/_sass/normalize.scss +424 -0
  53. data/_sass/rop-base.scss +572 -0
  54. data/_sass/rop-header-footer.scss +366 -0
  55. data/_sass/rop-mixins.scss +871 -0
  56. data/assets/css/style.scss +13 -0
  57. data/assets/fa/fa-brands.js +456 -0
  58. data/assets/fa/fa-solid.js +915 -0
  59. data/assets/fa/fontawesome.js +1805 -0
  60. data/assets/img/external-link.svg +4 -0
  61. data/assets/js/adoc-toc.js +175 -0
  62. data/assets/js/anchor-scroll.js +81 -0
  63. data/assets/js/clipboard.min.js +7 -0
  64. data/assets/js/headroom.min.js +7 -0
  65. data/assets/js/opf.js +289 -0
  66. data/assets/listing-widget.js +19 -0
  67. metadata +276 -0
@@ -0,0 +1,572 @@
1
+ @import 'rop-mixins';
2
+
3
+ $easeOutCirc: cubic-bezier(0.075, 0.82, 0.165, 1);
4
+
5
+ body {
6
+ font-family: $font-family;
7
+ font-size: 15px;
8
+ line-height: 1.6;
9
+
10
+ -webkit-font-smoothing: antialiased;
11
+ -moz-osx-font-smoothing: grayscale;
12
+
13
+ color: $main-font-color;
14
+ }
15
+
16
+ abbr {
17
+ cursor: help;
18
+ }
19
+
20
+ .svg-inline--fa {
21
+ vertical-align: -.15em;
22
+ }
23
+
24
+ a {
25
+ &:link, &:hover, &:visited {
26
+ color: $primary-dark-color;
27
+ text-decoration: none;
28
+ }
29
+ }
30
+
31
+ .item-grid {
32
+ @media screen and (min-width: $bigscreen-breakpoint) {
33
+ margin: 0 -#{$gutter} 0 0;
34
+ display: flex;
35
+ flex-flow: row wrap;
36
+ justify-content: flex-start;
37
+
38
+ > .item {
39
+ margin-right: $gutter;
40
+
41
+ &:only-child {
42
+ flex: 1;
43
+ }
44
+
45
+ &.featured-item::before {
46
+ // Reposition featured item label for grid layout
47
+ // !important overrides .item-card which ends up with higher specificity
48
+ top: 0 !important;
49
+ right: 0 !important;
50
+ left: auto !important;
51
+ bottom: auto !important;
52
+ }
53
+ }
54
+ }
55
+ }
56
+
57
+ .index-item-grid {
58
+ margin-top: 40px;
59
+ padding: 0; // Override padding set by main section
60
+
61
+ @media screen and (min-width: $bigscreen-breakpoint) {
62
+ margin-top: 80px;
63
+ }
64
+ }
65
+
66
+ .main-section {
67
+ margin-top: 1em;
68
+ margin-bottom: 1em;
69
+
70
+ display: flex;
71
+ flex-flow: column nowrap;
72
+
73
+ > .puny-label {
74
+ // DEPRECATED: Used only on hub site, old design
75
+ align-self: center;
76
+
77
+ text-align: center;
78
+ margin: 0;
79
+ font-size: 18px;
80
+ font-weight: 600;
81
+ color: $primary-color;
82
+ }
83
+
84
+ > .title {
85
+ align-self: center;
86
+
87
+ text-align: center;
88
+ font-weight: 600;
89
+
90
+ margin-top: 0;
91
+ margin-bottom: 1em;
92
+
93
+ position: relative;
94
+
95
+ color: white;
96
+
97
+ a {
98
+ @include static-link-color(white);
99
+ }
100
+
101
+ .more-link {
102
+ margin-left: .5em;
103
+ font-size: 70%;
104
+ }
105
+
106
+ &:after {
107
+ // Underlaying border feature can be turned on
108
+ // in extending sections by providing border-bottom-color
109
+ // on this :after element.
110
+ content: " ";
111
+ border-bottom-width: 12px;
112
+ border-bottom-style: solid;
113
+ border-bottom-color: transparent;
114
+ position: absolute;
115
+ bottom: 8px;
116
+ left: -5px;
117
+ right: -5px;
118
+ z-index: -1;
119
+ }
120
+ }
121
+
122
+ > .items {
123
+ align-self: stretch;
124
+ }
125
+ }
126
+
127
+ .with-symbol-background {
128
+ position: relative;
129
+
130
+ > * {
131
+ z-index: 1;
132
+ position: relative;
133
+ }
134
+ > svg {
135
+ z-index: 0;
136
+ position: absolute;
137
+ top: -38px;
138
+ right: -60px;
139
+ height: 525px;
140
+ width: 525px;
141
+ path {
142
+ fill: rgba($primary-color, 0.08);
143
+ }
144
+ }
145
+ }
146
+
147
+ .item-card {
148
+ background: white;
149
+
150
+ display: flex;
151
+ flex-flow: column nowrap;
152
+
153
+ position: relative;
154
+ overflow: hidden;
155
+
156
+ .card-body {
157
+ height: 100%;
158
+ display: flex;
159
+ flex-flow: column nowrap;
160
+ }
161
+
162
+ .body {
163
+ flex: 1;
164
+ }
165
+
166
+ &:link, &:hover, &:visited {
167
+ color: inherit;
168
+ text-decoration: none;
169
+ }
170
+
171
+ &.featured-item::before {
172
+ content: "featured";
173
+
174
+ position: absolute;
175
+ bottom: 2.5em;
176
+ right: 2em;
177
+ padding: 2px 6px;
178
+ font-size: 12px;
179
+ background: linear-gradient(135deg, rgba($primary-color, 0.7) 0%, rgba($primary-dark-color, 0.9) 100%);
180
+ color: white;
181
+ font-weight: bold;
182
+ }
183
+
184
+ header {
185
+ > .parent-project {
186
+ display: flex;
187
+ flex-flow: row nowrap;
188
+ align-items: center;
189
+ justify-content: space-between;
190
+
191
+ .project-logo {
192
+ width: 32px;
193
+ height: 32px;
194
+ vertical-align: middle;
195
+ margin-right: 10px;
196
+
197
+ display: flex;
198
+ flex-flow: column nowrap;
199
+ justify-content: center;
200
+ }
201
+ .project-title {
202
+ font-size: 14px;
203
+ font-weight: 600;
204
+ flex: 1;
205
+
206
+ color: $primary-color;
207
+ .layout--software-index & {
208
+ color: $hub-software--primary-color;
209
+ }
210
+ .layout--spec-index & {
211
+ color: $hub-specs--primary-color;
212
+ }
213
+ }
214
+ }
215
+ > .title {
216
+ font-weight: 600;
217
+ font-size: 20px;
218
+ margin: 0 0 .5em 0;
219
+ }
220
+ }
221
+
222
+ .body {
223
+ margin: 0;
224
+ }
225
+
226
+ footer {
227
+ color: grey;
228
+ font-size: 14px;
229
+
230
+ .last-update, .tags {
231
+ margin: 6px 0 0 0;
232
+ }
233
+
234
+ .last-update {
235
+ padding: 0;
236
+ }
237
+
238
+ .tags {
239
+ list-style: none;
240
+ padding: 0;
241
+ overflow: hidden;
242
+ text-overflow: ellipsis;
243
+
244
+ > li {
245
+ display: inline;
246
+ font-weight: 600;
247
+ margin: 0;
248
+ padding: 0;
249
+
250
+ white-space: nowrap;
251
+
252
+ .namespace {
253
+ color: lighten($main-font-color, 50%);
254
+ font-weight: normal;
255
+ }
256
+
257
+ &::after {
258
+ content: " • ";
259
+ margin: 0 4px;
260
+ color: grey;
261
+ font-weight: normal;
262
+ }
263
+ &:last-child::after {
264
+ content: "";
265
+ margin: 0;
266
+ }
267
+
268
+ color: $primary-color;
269
+
270
+ .site--hub.layout--software-index & {
271
+ color: $hub-software--primary-color;
272
+ }
273
+ .site--hub.layout--spec-index & {
274
+ color: $hub-specs--primary-color;
275
+ }
276
+ }
277
+ }
278
+ }
279
+ }
280
+
281
+ .post-meta-row {
282
+ color: grey;
283
+ font-size: 14px;
284
+
285
+ .date {
286
+ white-space: nowrap;
287
+ }
288
+
289
+ .authors {
290
+ .author {
291
+ white-space: nowrap;
292
+ display: inline-block;
293
+ margin: .2em 0;
294
+
295
+ .author-name {
296
+ margin-right: 10px;
297
+ white-space: nowrap;
298
+
299
+ font-weight: 600;
300
+ color: $primary-color;
301
+
302
+ text-overflow: ellipsis;
303
+ overflow: hidden;
304
+ }
305
+
306
+ .author-avatar {
307
+ margin-right: 10px;
308
+ width: 32px;
309
+ height: 32px;
310
+ border-radius: 50%;
311
+ overflow: hidden;
312
+
313
+ display: inline-block;
314
+ vertical-align: middle;
315
+
316
+ img {
317
+ width: 100%;
318
+ height: 100%;
319
+ }
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+ .post-card {
326
+ position: relative;
327
+
328
+ &.has-parent-project {
329
+ padding-top: 20px;
330
+ }
331
+ &.has-cover-image {
332
+ .cover-image {
333
+ display: none;
334
+ }
335
+ @media screen and (min-width: $bigscreen-breakpoint) {
336
+ position: relative;
337
+
338
+ .card-body {
339
+ margin-left: calc(50% + #{$gutter} / 2 + 30px);
340
+ }
341
+ .cover-image {
342
+ display: block;
343
+ margin: 0;
344
+ position: absolute;
345
+ left: 0;
346
+ top: 0;
347
+ bottom: 0;
348
+ right: 50%;
349
+
350
+ img {
351
+ display: block;
352
+ height: 100%;
353
+ width: 100%;
354
+ object-fit: cover;
355
+ }
356
+ }
357
+ }
358
+ }
359
+ .hub-symbol {
360
+ position: absolute;
361
+ top: 10px;
362
+ right: 10px;
363
+ width: 28px;
364
+ height: 28px;
365
+
366
+ svg path {
367
+ fill: lighten(desaturate($primary-color, 30), 45);
368
+ }
369
+ }
370
+ header {
371
+ .title {
372
+ font-weight: 600;
373
+ font-size: 22px;
374
+ }
375
+ .external-link-icon {
376
+ img {
377
+ width: 16px;
378
+ height: 16px;
379
+ }
380
+ }
381
+ }
382
+ footer {
383
+ @extend .post-meta-row;
384
+ margin-top: 14px;
385
+ }
386
+ }
387
+
388
+ .tbd {
389
+ @include tbd();
390
+ }
391
+
392
+ .main-article {
393
+ max-width: 750px;
394
+
395
+ > header {
396
+ .title {
397
+ font-size: 36px;
398
+ font-weight: 600;
399
+ margin-bottom: 36px;
400
+ }
401
+ }
402
+ .body {
403
+ font-size: 18px;
404
+ line-height: 1.65;
405
+
406
+ > p:first-child, > .paragraph:first-child p:only-child {
407
+ margin-top: 0;
408
+ }
409
+
410
+ code {
411
+ @include code-snippet();
412
+ }
413
+
414
+ a {
415
+ &:not(.image) {
416
+ border-bottom: 1px solid;
417
+ }
418
+
419
+ &[rel=external] {
420
+ border-bottom-style: dotted;
421
+ &:link, &:hover, &:focus, &:active {
422
+ .ico-ext {
423
+ font-size: 50%;
424
+ vertical-align: text-top;
425
+ position: relative;
426
+ left: .15em;
427
+ }
428
+ }
429
+ }
430
+ }
431
+
432
+ pre {
433
+ @include code-snippet-container();
434
+ }
435
+
436
+ dl {
437
+ dd {
438
+ margin-left: 1.25em;
439
+ }
440
+ }
441
+ ul, ol {
442
+ padding-left: 1.25em;
443
+
444
+ li {
445
+ margin: .25em 0;
446
+
447
+ > p:first-child {
448
+ margin-top: 0;
449
+ }
450
+ > p:last-child {
451
+ margin-bottom: 0;
452
+ }
453
+ }
454
+ }
455
+ dl {
456
+ dd {
457
+ table,
458
+ p {
459
+ margin-top: .5em;
460
+ margin-bottom: .5em;
461
+ font-size: 90%;
462
+ }
463
+ }
464
+ }
465
+ blockquote {
466
+ margin-left: 1.25em;
467
+ }
468
+
469
+ @media screen and (min-width: $bigscreen-breakpoint) {
470
+ dl dd {
471
+ margin-left: 2em;
472
+ }
473
+ blockquote {
474
+ margin-left: 2em;
475
+ }
476
+ ul, ol {
477
+ padding-left: 2em;
478
+ }
479
+ }
480
+
481
+ table {
482
+ $border-color: lighten($main-font-color, 80);
483
+
484
+ border-collapse: collapse;
485
+ width: 100%;
486
+
487
+ margin-top: 1em;
488
+ margin-bottom: 1em;
489
+
490
+ p {
491
+ margin: 0;
492
+ }
493
+
494
+ th, td {
495
+ text-align: left;
496
+ padding: .5em;
497
+ }
498
+ tr {
499
+ border-bottom: 1px solid $border-color;
500
+ &:last-child {
501
+ border-bottom-width: 0;
502
+ }
503
+ }
504
+ }
505
+
506
+ @include asciidoc-markup($primary-dark-color);
507
+ }
508
+ }
509
+
510
+
511
+ html, body {
512
+ margin: 0;
513
+ padding: 0;
514
+ }
515
+
516
+ .underlay,
517
+ section,
518
+ header,
519
+ footer,
520
+ article {
521
+ body > &,
522
+ body > main > & {
523
+ padding: 0 2em;
524
+ @media screen and (min-width: $bigscreen-breakpoint) {
525
+ padding: 0;
526
+ }
527
+ }
528
+ }
529
+
530
+ body {
531
+ display: flex;
532
+ flex-flow: column nowrap;
533
+ min-height: 100vh;
534
+ align-items: stretch;
535
+
536
+ > main {
537
+ flex: 1;
538
+ overflow: hidden;
539
+ }
540
+ }
541
+ body > .underlay,
542
+ body > main,
543
+ body > main > .underlay,
544
+ .item-filter {
545
+ display: flex;
546
+ flex-flow: column nowrap;
547
+ @media screen and (min-width: $bigscreen-breakpoint) {
548
+ align-items: center;
549
+ }
550
+ }
551
+ .underlay {
552
+ @media screen and (min-width: $bigscreen-breakpoint) {
553
+ width: 100%;
554
+ }
555
+ }
556
+
557
+ nav.item-filter > * {
558
+ @include wide-container();
559
+ }
560
+
561
+ header,
562
+ footer,
563
+ section,
564
+ .hero,
565
+ article {
566
+ body > &,
567
+ body > .underlay > &,
568
+ body > main > &,
569
+ body > main > .underlay > & {
570
+ @include wide-container();
571
+ }
572
+ }