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,366 @@
1
+ body > .underlay > header,
2
+ body > .underlay > footer {
3
+ display: flex;
4
+
5
+ .site-logo {
6
+ margin: 0;
7
+ padding: 0;
8
+ line-height: .5;
9
+ font-size: 24px;
10
+ font-weight: 600;
11
+ white-space: nowrap;
12
+ color: white;
13
+
14
+ :link, :hover, :visited {
15
+ color: inherit;
16
+ }
17
+
18
+ svg {
19
+ height: 30px;
20
+ vertical-align: middle;
21
+ }
22
+
23
+ @media screen and (min-width: $bigscreen-breakpoint) {
24
+ margin-right: 100px;
25
+ }
26
+ }
27
+ .social-links {
28
+ > a {
29
+ margin-left: 14px;
30
+ font-size: 18px;
31
+
32
+ &:first-child {
33
+ margin-left: 0;
34
+ }
35
+ }
36
+ }
37
+ }
38
+
39
+
40
+ .underlay.header {
41
+ body > & {
42
+ background: $header-background;
43
+
44
+ > .hero {
45
+ padding-top: 20px;
46
+ color: white;
47
+
48
+ > .text {
49
+ position: relative;
50
+
51
+ > .title {
52
+ font-size: 44px;
53
+ font-weight: 700;
54
+ margin: 0 0 20px 0;
55
+ line-height: 1.2;
56
+ }
57
+ > .desc {
58
+ font-size: 20px;
59
+ margin: 0 0 20px 0;
60
+ }
61
+ > .cta { // Call to action.
62
+ margin-top: 40px;
63
+
64
+ .button {
65
+ &:not(:first-child) {
66
+ @include cta-button(rgba(white, 0.32), white);
67
+ }
68
+ &:first-child {
69
+ @include cta-button(white, $primary-dark-color);
70
+ }
71
+ &:last-child {
72
+ margin-right: 0;
73
+ }
74
+ &:only-child {
75
+ @include cta-button($primary-dark-color, white);
76
+ }
77
+ }
78
+ }
79
+ }
80
+ }
81
+ }
82
+ .site--hub.layout--software-index > & {
83
+ padding-bottom: 2em;
84
+ background: $hub-software--hero-background;
85
+ }
86
+ .site--hub.layout--blog-index > &,
87
+ .site--hub.layout--project-index > & {
88
+ padding-bottom: 2em;
89
+ }
90
+ .site--hub.layout--spec-index > & {
91
+ padding-bottom: 2em;
92
+ background: $hub-specs--hero-background;
93
+ }
94
+ .site--hub.layout--home > & {
95
+ padding-bottom: 2em;
96
+ background: $main-background;
97
+ }
98
+ .site--project.layout--software-index > &,
99
+ .site--project.layout--spec-index > &,
100
+ .site--project.layout--blog-index > & {
101
+ padding-bottom: 2em;
102
+ }
103
+ .site--project.layout--home > & {
104
+ background: none;
105
+ }
106
+
107
+ .site--project.layout--home > & {
108
+ > .hero {
109
+ .text {
110
+ margin-top: 1.5em;
111
+ margin-bottom: 2em;
112
+ }
113
+ }
114
+ }
115
+
116
+ .site--hub.layout--home > & {
117
+ > .hero {
118
+ text-align: left;
119
+
120
+ @media screen and (min-width: $bigscreen-breakpoint) {
121
+ padding-bottom: 50px;
122
+ }
123
+ }
124
+ }
125
+ }
126
+
127
+ body > .underlay.footer {
128
+ background: rgba(black, 0.4);
129
+ }
130
+
131
+ body > .underlay > header {
132
+ padding-top: 26px;
133
+ padding-bottom: 26px;
134
+ z-index: 5;
135
+ // Higher than hero, otherwise Algolia search pop-up might have stuff over it
136
+
137
+ align-items: center;
138
+ flex-flow: row nowrap;
139
+ justify-content: space-between;
140
+
141
+ > button.hamburger {
142
+ border: 0;
143
+ background: transparent;
144
+ font-size: inherit;
145
+ z-index: 20;
146
+ color: white;
147
+ }
148
+
149
+ > .hamburger-menu {
150
+ position: absolute;
151
+ top: 0;
152
+ left: 0;
153
+ right: 0;
154
+ transform: translateY(-100%);
155
+ transition: transform .8s cubic-bezier(0.23, 1, 0.32, 1);
156
+ color: white;
157
+
158
+ height: 100vh;
159
+ overflow: hidden;
160
+ z-index: 10;
161
+ background: rgba($primary-dark-color, 0.95);
162
+
163
+ display: flex;
164
+ flex-flow: column nowrap;
165
+ align-items: center;
166
+ justify-content: flex-start;
167
+
168
+ .site-logo-container {
169
+ margin-left: 2em;
170
+ margin-top: 26px;
171
+ align-self: flex-start;
172
+ }
173
+
174
+ > nav,
175
+ > .social-links {
176
+ a {
177
+ &:link, &:visited, &:hover {
178
+ font-size: 1.3em;
179
+ color: white;
180
+ }
181
+ }
182
+ }
183
+
184
+ > nav {
185
+ flex: 1;
186
+ display: flex;
187
+ flex-flow: column nowrap;
188
+ align-items: flex-start;
189
+ justify-content: flex-start;
190
+ align-self: stretch;
191
+
192
+ a.search {
193
+ display: none;
194
+ }
195
+ .search-widget {
196
+ margin-top: 2em;
197
+ margin-bottom: 1em;
198
+ }
199
+
200
+ > * {
201
+ margin: .25em;
202
+ margin-left: 2em;
203
+ }
204
+ > .active {
205
+ font-weight: bold;
206
+ }
207
+ }
208
+
209
+ .social-links {
210
+ margin-top: 1em;
211
+ margin-bottom: 2em;
212
+ }
213
+
214
+ &.expanded {
215
+ transform: translateY(0);
216
+ }
217
+ }
218
+
219
+ > .top-menu > .search-widget,
220
+ > .hamburger-menu > nav > .search-widget {
221
+ input[type=search] {
222
+ padding: 6px 10px 6px 10px;
223
+ border-radius: 1em;
224
+ font-size: inherit;
225
+ line-height: inherit;
226
+ border: 0;
227
+ color: white;
228
+ }
229
+ }
230
+
231
+ > .top-menu {
232
+ flex: 1;
233
+
234
+ > :not(.search-widget) {
235
+ display: inline-block;
236
+ font-weight: 600;
237
+ margin-right: 20px;
238
+ padding: 6px 10px 6px 10px;
239
+ white-space: nowrap;
240
+ }
241
+ > .search-widget {
242
+ width: 0;
243
+ display: none;
244
+ position: relative;
245
+
246
+ > * {
247
+ flex: 1;
248
+ }
249
+ }
250
+ &.with-expanded-search {
251
+ > a {
252
+ display: none;
253
+ }
254
+ > .search-widget {
255
+ width: 90%;
256
+ display: inline-flex;
257
+ }
258
+ }
259
+ }
260
+
261
+ > .top-menu,
262
+ > .social-links {
263
+ color: white;
264
+ display: none;
265
+ white-space: nowrap;
266
+
267
+ .active {
268
+ background-color: rgba(black, 0.1);
269
+ }
270
+ a:link, a:visited, a:hover {
271
+ color: white;
272
+ }
273
+ }
274
+
275
+ @media screen and (min-width: $bigscreen-breakpoint) {
276
+ justify-content: unset;
277
+
278
+ > button.hamburger {
279
+ display: none;
280
+ }
281
+ > .top-menu, > .social-links {
282
+ display: block;
283
+ }
284
+ }
285
+ }
286
+
287
+ body > .underlay > footer {
288
+ padding-top: 50px;
289
+ padding-bottom: 50px;
290
+
291
+ align-items: flex-start;
292
+ flex-flow: column nowrap;
293
+
294
+ color: white;
295
+
296
+ a:link, a:visited, a:hover {
297
+ color: white;
298
+ }
299
+
300
+ .parent-hub-plug {
301
+ .logo {
302
+ display: block;
303
+ }
304
+
305
+ display: flex;
306
+ flex-flow: row nowrap;
307
+ align-items: center;
308
+ white-space: nowrap;
309
+ line-height: .5;
310
+ opacity: 0.8;
311
+ color: white;
312
+
313
+ @media screen and (min-width: $bigscreen-breakpoint) {
314
+ margin-right: 50px;
315
+ }
316
+
317
+ .label {
318
+ margin-right: 20px;
319
+ font-weight: 500;
320
+ }
321
+ }
322
+
323
+ nav {
324
+ display: flex;
325
+ flex-flow: row wrap;
326
+
327
+ > * {
328
+ margin-right: 40px;
329
+ }
330
+ }
331
+
332
+ .links {
333
+ font-weight: bold;
334
+ opacity: 0.8;
335
+ margin-bottom: 1em;
336
+ }
337
+
338
+ .legal {
339
+ font-size: 14px;
340
+
341
+ flex: 1;
342
+ display: flex;
343
+ flex-flow: column nowrap;
344
+ justify-content: space-around;
345
+
346
+ margin-top: 1em;
347
+ margin-bottom: 1em;
348
+
349
+ .copyright {
350
+ .copyright-head, .copyright-tail {
351
+ white-space: nowrap;
352
+ }
353
+ }
354
+
355
+ @media screen and (min-width: $widescreen-breakpoint) {
356
+ flex-flow: row nowrap;
357
+
358
+ nav {
359
+ display: block;
360
+ }
361
+ .copyright {
362
+ margin-right: 40px;
363
+ }
364
+ }
365
+ }
366
+ }