jekyll-cessda-docs 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +52 -0
  4. data/_config.yml +59 -0
  5. data/_includes/css/custom.scss.liquid +1 -0
  6. data/_includes/css/just-the-docs.scss.liquid +8 -0
  7. data/_includes/fix_linenos.html +65 -0
  8. data/_includes/head.html +40 -0
  9. data/_includes/head_custom.html +0 -0
  10. data/_includes/js/custom.js +0 -0
  11. data/_includes/nav.html +100 -0
  12. data/_includes/title.html +5 -0
  13. data/_includes/vendor/anchor_headings.html +144 -0
  14. data/_layouts/about.html +5 -0
  15. data/_layouts/default.html +200 -0
  16. data/_layouts/home.html +5 -0
  17. data/_layouts/page.html +5 -0
  18. data/_layouts/post.html +5 -0
  19. data/_layouts/table_wrappers.html +7 -0
  20. data/_layouts/vendor/compress.html +10 -0
  21. data/_sass/base.scss +108 -0
  22. data/_sass/buttons.scss +118 -0
  23. data/_sass/cessda.scss +93 -0
  24. data/_sass/code.scss +334 -0
  25. data/_sass/color_schemes/dark.scss +17 -0
  26. data/_sass/color_schemes/light.scss +0 -0
  27. data/_sass/content.scss +199 -0
  28. data/_sass/custom/custom.scss +0 -0
  29. data/_sass/labels.scss +37 -0
  30. data/_sass/layout.scss +192 -0
  31. data/_sass/modules.scss +21 -0
  32. data/_sass/navigation.scss +219 -0
  33. data/_sass/print.scss +40 -0
  34. data/_sass/search.scss +323 -0
  35. data/_sass/support/_functions.scss +9 -0
  36. data/_sass/support/_variables.scss +152 -0
  37. data/_sass/support/mixins/_buttons.scss +27 -0
  38. data/_sass/support/mixins/_layout.scss +34 -0
  39. data/_sass/support/mixins/_typography.scss +84 -0
  40. data/_sass/support/mixins/mixins.scss +3 -0
  41. data/_sass/support/support.scss +3 -0
  42. data/_sass/tables.scss +58 -0
  43. data/_sass/typography.scss +64 -0
  44. data/_sass/utilities/_colors.scss +239 -0
  45. data/_sass/utilities/_layout.scss +95 -0
  46. data/_sass/utilities/_lists.scss +17 -0
  47. data/_sass/utilities/_spacing.scss +165 -0
  48. data/_sass/utilities/_typography.scss +91 -0
  49. data/_sass/utilities/utilities.scss +5 -0
  50. data/_sass/vendor/normalize.scss/README.md +78 -0
  51. data/_sass/vendor/normalize.scss/normalize.scss +427 -0
  52. data/_sass/vendor/normalize.scss/package.json +70 -0
  53. data/assets/CESSDA.png +0 -0
  54. data/assets/css/just-the-docs-dark.scss +3 -0
  55. data/assets/css/just-the-docs-default.scss +8 -0
  56. data/assets/css/just-the-docs-light.scss +3 -0
  57. data/assets/images/CESSDA.png +0 -0
  58. data/assets/images/search.svg +1 -0
  59. data/assets/js/just-the-docs.js +471 -0
  60. data/assets/js/vendor/lunr.min.js +6 -0
  61. data/assets/js/zzzz-search-data.json +72 -0
  62. metadata +118 -0
@@ -0,0 +1,93 @@
1
+
2
+ a {
3
+ transition: all 0.3s;
4
+ }
5
+ .topcont {
6
+ height: 30px;
7
+ width:100%;
8
+ z-index:3;
9
+ position:fixed;
10
+ top:0;
11
+ left:0;
12
+
13
+ }
14
+ .topbar {
15
+
16
+ max-width:1080px;
17
+ margin: 0 auto;
18
+ height:30px;
19
+ }
20
+
21
+
22
+ .topbar a {
23
+ color: white;
24
+ text-decoration:none;
25
+ display:inline-block;
26
+ line-height:30px;
27
+ padding:0 10px;
28
+ font-size: 14px;
29
+ background-image: none;
30
+ }
31
+
32
+ .topbar a:hover {
33
+ background-color:rgba(255,255,255,0.1);
34
+ }
35
+
36
+ .main-header {
37
+
38
+ margin-top:30px;
39
+ }
40
+
41
+
42
+
43
+ .site-footer {
44
+
45
+ z-index:4;
46
+ position: fixed;
47
+ display:block;
48
+ bottom:0px;
49
+ height:40px;
50
+ width:100%;
51
+ }
52
+ #footerlogo {
53
+ height: 24px;
54
+ width:auto;
55
+ margin: 8px 20px 0 10px;
56
+ display:block;
57
+ position:absolute;
58
+ left:0;
59
+ top:2px;
60
+ }
61
+
62
+ .bottombar {
63
+
64
+ max-width:1080px;
65
+ margin: 0 auto;
66
+ height:40px;
67
+ position:relative;
68
+ text-align:center;
69
+ }
70
+
71
+ .site-footer a {
72
+ display:inline-block;
73
+ color:white;
74
+ padding:0 10px;
75
+ font-size:14px;
76
+ background:transparent;
77
+ line-height:40px;
78
+ height:40px;
79
+ margin:0;
80
+ }
81
+ .nav-list-top {
82
+ margin-bottom:50px;
83
+
84
+ }
85
+
86
+ @media only screen and (max-width: 711px) {
87
+ .site-header {
88
+ padding-top:30px;
89
+ }
90
+ #footerlogo {
91
+ display:none;
92
+ }
93
+ }
@@ -0,0 +1,334 @@
1
+ //
2
+ // Code and syntax highlighting
3
+ //
4
+ // stylelint-disable selector-no-qualifying-type, declaration-block-semicolon-newline-after,declaration-block-single-line-max-declarations, selector-no-type, selector-max-type
5
+
6
+ code {
7
+ padding: 0.2em 0.15em;
8
+ font-weight: 400;
9
+ background-color: $code-background-color;
10
+ border: $border $border-color;
11
+ border-radius: $border-radius;
12
+ }
13
+
14
+ // Content structure for highlighted code blocks using fences or Liquid
15
+ //
16
+ // ```[LANG]...```, no kramdown line_numbers:
17
+ // div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
18
+ //
19
+ // ```[LANG]...```, kramdown line_numbers = true:
20
+ // div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
21
+ // > div.table-wrapper > table.rouge-table > tbody > tr
22
+ // > td.rouge-gutter.gl > pre.lineno
23
+ // | td.rouge-code > pre
24
+ //
25
+ // {% highlight LANG %}...{% endhighlight %}:
26
+ // figure.highlight > pre > code.language-LANG
27
+ //
28
+ // {% highlight LANG linenos %}...{% endhighlight %}:
29
+ // figure.highlight > pre > code.language-LANG
30
+ // > div.table-wrapper > table.rouge-table > tbody > tr
31
+ // > td.gutter.gl > pre.lineno
32
+ // | td.code > pre
33
+ //
34
+ // fix_linenos removes the outermost pre when it encloses table.rouge-table
35
+ //
36
+ // See docs/index-test.md for some tests.
37
+ //
38
+ // No kramdown line_numbers: fences and Liquid highlighting look the same.
39
+ // Kramdown line_numbers = true: fences have a wider gutter than with Liquid?
40
+
41
+ // ```[LANG]...```
42
+ div.highlighter-rouge {
43
+ padding: $sp-3;
44
+ margin-top: 0;
45
+ margin-bottom: $sp-3;
46
+ background-color: $code-background-color;
47
+ border-radius: $border-radius;
48
+ box-shadow: none;
49
+ -webkit-overflow-scrolling: touch;
50
+
51
+ div.highlight,
52
+ pre.highlight,
53
+ code {
54
+ padding: 0;
55
+ margin: 0;
56
+ border: 0;
57
+ }
58
+ }
59
+
60
+ // {% highlight LANG %}...{% endhighlight %},
61
+ // {% highlight LANG linenos %}...{% endhighlight %}:
62
+ figure.highlight {
63
+ padding: $sp-3;
64
+ margin-top: 0;
65
+ margin-bottom: $sp-3;
66
+ background-color: $code-background-color;
67
+ border-radius: $border-radius;
68
+ box-shadow: none;
69
+ -webkit-overflow-scrolling: touch;
70
+
71
+ pre,
72
+ code {
73
+ padding: 0;
74
+ margin: 0;
75
+ border: 0;
76
+ }
77
+ }
78
+
79
+ // ```[LANG]...```, kramdown line_numbers = true,
80
+ // {% highlight LANG linenos %}...{% endhighlight %}:
81
+ .highlight .table-wrapper {
82
+ padding: 0;
83
+ margin: 0;
84
+ border: 0;
85
+ box-shadow: none;
86
+
87
+ td,
88
+ pre {
89
+ @include fs-2;
90
+ min-width: 0;
91
+ padding: 0;
92
+ background-color: $code-background-color;
93
+ border: 0;
94
+ }
95
+
96
+ td.gl {
97
+ padding-right: $sp-3;
98
+ }
99
+
100
+ pre {
101
+ margin: 0;
102
+ line-height: 2;
103
+ }
104
+ }
105
+
106
+ .highlight .c {
107
+ color: #586e75;
108
+ } // comment //
109
+ .highlight .err {
110
+ color: #93a1a1;
111
+ } // error //
112
+ .highlight .g {
113
+ color: #93a1a1;
114
+ } // generic //
115
+ .highlight .k {
116
+ color: #859900;
117
+ } // keyword //
118
+ .highlight .l {
119
+ color: #93a1a1;
120
+ } // literal //
121
+ .highlight .n {
122
+ color: #93a1a1;
123
+ } // name //
124
+ .highlight .o {
125
+ color: #859900;
126
+ } // operator //
127
+ .highlight .x {
128
+ color: #cb4b16;
129
+ } // other //
130
+ .highlight .p {
131
+ color: #93a1a1;
132
+ } // punctuation //
133
+ .highlight .cm {
134
+ color: #586e75;
135
+ } // comment.multiline //
136
+ .highlight .cp {
137
+ color: #859900;
138
+ } // comment.preproc //
139
+ .highlight .c1 {
140
+ color: #586e75;
141
+ } // comment.single //
142
+ .highlight .cs {
143
+ color: #859900;
144
+ } // comment.special //
145
+ .highlight .gd {
146
+ color: #2aa198;
147
+ } // generic.deleted //
148
+ .highlight .ge {
149
+ font-style: italic;
150
+ color: #93a1a1;
151
+ } // generic.emph //
152
+ .highlight .gr {
153
+ color: #dc322f;
154
+ } // generic.error //
155
+ .highlight .gh {
156
+ color: #cb4b16;
157
+ } // generic.heading //
158
+ .highlight .gi {
159
+ color: #859900;
160
+ } // generic.inserted //
161
+ .highlight .go {
162
+ color: #93a1a1;
163
+ } // generic.output //
164
+ .highlight .gp {
165
+ color: #93a1a1;
166
+ } // generic.prompt //
167
+ .highlight .gs {
168
+ font-weight: bold;
169
+ color: #93a1a1;
170
+ } // generic.strong //
171
+ .highlight .gu {
172
+ color: #cb4b16;
173
+ } // generic.subheading //
174
+ .highlight .gt {
175
+ color: #93a1a1;
176
+ } // generic.traceback //
177
+ .highlight .kc {
178
+ color: #cb4b16;
179
+ } // keyword.constant //
180
+ .highlight .kd {
181
+ color: #268bd2;
182
+ } // keyword.declaration //
183
+ .highlight .kn {
184
+ color: #859900;
185
+ } // keyword.namespace //
186
+ .highlight .kp {
187
+ color: #859900;
188
+ } // keyword.pseudo //
189
+ .highlight .kr {
190
+ color: #268bd2;
191
+ } // keyword.reserved //
192
+ .highlight .kt {
193
+ color: #dc322f;
194
+ } // keyword.type //
195
+ .highlight .ld {
196
+ color: #93a1a1;
197
+ } // literal.date //
198
+ .highlight .m {
199
+ color: #2aa198;
200
+ } // literal.number //
201
+ .highlight .s {
202
+ color: #2aa198;
203
+ } // literal.string //
204
+ .highlight .na {
205
+ color: #555;
206
+ } // name.attribute //
207
+ .highlight .nb {
208
+ color: #b58900;
209
+ } // name.builtin //
210
+ .highlight .nc {
211
+ color: #268bd2;
212
+ } // name.class //
213
+ .highlight .no {
214
+ color: #cb4b16;
215
+ } // name.constant //
216
+ .highlight .nd {
217
+ color: #268bd2;
218
+ } // name.decorator //
219
+ .highlight .ni {
220
+ color: #cb4b16;
221
+ } // name.entity //
222
+ .highlight .ne {
223
+ color: #cb4b16;
224
+ } // name.exception //
225
+ .highlight .nf {
226
+ color: #268bd2;
227
+ } // name.function //
228
+ .highlight .nl {
229
+ color: #555;
230
+ } // name.label //
231
+ .highlight .nn {
232
+ color: #93a1a1;
233
+ } // name.namespace //
234
+ .highlight .nx {
235
+ color: #555;
236
+ } // name.other //
237
+ .highlight .py {
238
+ color: #93a1a1;
239
+ } // name.property //
240
+ .highlight .nt {
241
+ color: #268bd2;
242
+ } // name.tag //
243
+ .highlight .nv {
244
+ color: #268bd2;
245
+ } // name.variable //
246
+ .highlight .ow {
247
+ color: #859900;
248
+ } // operator.word //
249
+ .highlight .w {
250
+ color: #93a1a1;
251
+ } // text.whitespace //
252
+ .highlight .mf {
253
+ color: #2aa198;
254
+ } // literal.number.float //
255
+ .highlight .mh {
256
+ color: #2aa198;
257
+ } // literal.number.hex //
258
+ .highlight .mi {
259
+ color: #2aa198;
260
+ } // literal.number.integer //
261
+ .highlight .mo {
262
+ color: #2aa198;
263
+ } // literal.number.oct //
264
+ .highlight .sb {
265
+ color: #586e75;
266
+ } // literal.string.backtick //
267
+ .highlight .sc {
268
+ color: #2aa198;
269
+ } // literal.string.char //
270
+ .highlight .sd {
271
+ color: #93a1a1;
272
+ } // literal.string.doc //
273
+ .highlight .s2 {
274
+ color: #2aa198;
275
+ } // literal.string.double //
276
+ .highlight .se {
277
+ color: #cb4b16;
278
+ } // literal.string.escape //
279
+ .highlight .sh {
280
+ color: #93a1a1;
281
+ } // literal.string.heredoc //
282
+ .highlight .si {
283
+ color: #2aa198;
284
+ } // literal.string.interpol //
285
+ .highlight .sx {
286
+ color: #2aa198;
287
+ } // literal.string.other //
288
+ .highlight .sr {
289
+ color: #dc322f;
290
+ } // literal.string.regex //
291
+ .highlight .s1 {
292
+ color: #2aa198;
293
+ } // literal.string.single //
294
+ .highlight .ss {
295
+ color: #2aa198;
296
+ } // literal.string.symbol //
297
+ .highlight .bp {
298
+ color: #268bd2;
299
+ } // name.builtin.pseudo //
300
+ .highlight .vc {
301
+ color: #268bd2;
302
+ } // name.variable.class //
303
+ .highlight .vg {
304
+ color: #268bd2;
305
+ } // name.variable.global //
306
+ .highlight .vi {
307
+ color: #268bd2;
308
+ } // name.variable.instance //
309
+ .highlight .il {
310
+ color: #2aa198;
311
+ } // literal.number.integer.long //
312
+
313
+ //
314
+ // Code examples (rendered)
315
+ //
316
+
317
+ .code-example {
318
+ padding: $sp-3;
319
+ margin-bottom: $sp-3;
320
+ overflow: auto;
321
+ border: 1px solid $border-color;
322
+ border-radius: $border-radius;
323
+
324
+ + .highlighter-rouge,
325
+ + figure.highlight {
326
+ position: relative;
327
+ margin-top: -$sp-4;
328
+ border-right: 1px solid $border-color;
329
+ border-bottom: 1px solid $border-color;
330
+ border-left: 1px solid $border-color;
331
+ border-top-left-radius: 0;
332
+ border-top-right-radius: 0;
333
+ }
334
+ }
@@ -0,0 +1,17 @@
1
+ $body-background-color: $grey-dk-300;
2
+ $sidebar-color: $grey-dk-300;
3
+ $border-color: $grey-dk-200;
4
+
5
+ $body-text-color: $grey-lt-300;
6
+ $body-heading-color: $grey-lt-000;
7
+ $nav-child-link-color: $grey-dk-000;
8
+ $search-result-preview-color: $grey-dk-000;
9
+
10
+ $link-color: $blue-000;
11
+ $btn-primary-color: $blue-200;
12
+ $base-button-color: $grey-dk-250;
13
+
14
+ $code-background-color: $grey-dk-250;
15
+ $search-background-color: $grey-dk-250;
16
+ $table-background-color: $grey-dk-250;
17
+ $feedback-color: darken($sidebar-color, 3%);
File without changes
@@ -0,0 +1,199 @@
1
+ @charset "UTF-8";
2
+
3
+ //
4
+ // Styles for rendered markdown in the .main-content container
5
+ //
6
+ // stylelint-disable selector-no-type, max-nesting-depth, selector-max-compound-selectors, selector-max-type
7
+
8
+ .main-content {
9
+ line-height: $content-line-height;
10
+
11
+ ol,
12
+ ul,
13
+ dl,
14
+ pre,
15
+ address,
16
+ blockquote,
17
+ .table-wrapper {
18
+ margin-top: 0.5em;
19
+ }
20
+
21
+ a {
22
+ overflow: hidden;
23
+ text-overflow: ellipsis;
24
+ white-space: nowrap;
25
+ }
26
+
27
+ ul,
28
+ ol {
29
+ padding-left: 1.5em;
30
+ }
31
+
32
+ li {
33
+ .highlight {
34
+ margin-top: $sp-1;
35
+ }
36
+ }
37
+
38
+ ol {
39
+ list-style-type: none;
40
+ counter-reset: step-counter;
41
+
42
+ > li {
43
+ position: relative;
44
+
45
+ &::before {
46
+ position: absolute;
47
+ top: 0.2em;
48
+ left: -1.6em;
49
+ color: $grey-dk-000;
50
+ content: counter(step-counter);
51
+ counter-increment: step-counter;
52
+ @include fs-3;
53
+
54
+ @include mq(sm) {
55
+ top: 0.11em;
56
+ }
57
+ }
58
+
59
+ ol {
60
+ counter-reset: sub-counter;
61
+
62
+ li {
63
+ &::before {
64
+ content: counter(sub-counter, lower-alpha);
65
+ counter-increment: sub-counter;
66
+ }
67
+ }
68
+ }
69
+ }
70
+ }
71
+
72
+ ul {
73
+ list-style: none;
74
+
75
+ > li {
76
+ &::before {
77
+ position: absolute;
78
+ margin-left: -1.4em;
79
+ color: $grey-dk-000;
80
+ content: "•";
81
+ }
82
+ }
83
+ }
84
+
85
+ .task-list {
86
+ padding-left: 0;
87
+ }
88
+
89
+ .task-list-item {
90
+ display: flex;
91
+ align-items: center;
92
+
93
+ &::before {
94
+ content: "";
95
+ }
96
+ }
97
+
98
+ .task-list-item-checkbox {
99
+ margin-right: 0.6em;
100
+ }
101
+
102
+ hr + * {
103
+ margin-top: 0;
104
+ }
105
+
106
+ h1:first-of-type {
107
+ margin-top: 0.5em;
108
+ }
109
+
110
+ dl {
111
+ display: grid;
112
+ grid-template: auto / 10em 1fr;
113
+ }
114
+
115
+ dt,
116
+ dd {
117
+ margin: 0.25em 0;
118
+ }
119
+
120
+ dt {
121
+ grid-column: 1;
122
+ font-weight: 500;
123
+ text-align: right;
124
+ &::after {
125
+ content: ":";
126
+ }
127
+ }
128
+
129
+ dd {
130
+ grid-column: 2;
131
+ margin-bottom: 0;
132
+ margin-left: 1em;
133
+ }
134
+
135
+ .anchor-heading {
136
+ position: absolute;
137
+ right: -$sp-4;
138
+ width: $sp-5;
139
+ height: 100%;
140
+ padding-right: $sp-1;
141
+ padding-left: $sp-1;
142
+ overflow: visible;
143
+
144
+ @include mq(md) {
145
+ right: auto;
146
+ left: -$sp-5;
147
+ }
148
+
149
+ svg {
150
+ display: inline-block;
151
+ width: 100%;
152
+ height: 100%;
153
+ color: $link-color;
154
+ visibility: hidden;
155
+ }
156
+ }
157
+
158
+ .anchor-heading:hover,
159
+ h1:hover > .anchor-heading,
160
+ h2:hover > .anchor-heading,
161
+ h3:hover > .anchor-heading,
162
+ h4:hover > .anchor-heading,
163
+ h5:hover > .anchor-heading,
164
+ h6:hover > .anchor-heading {
165
+ svg {
166
+ visibility: visible;
167
+ }
168
+ }
169
+
170
+ summary {
171
+ cursor: pointer;
172
+ }
173
+
174
+ h1,
175
+ h2,
176
+ h3,
177
+ h4,
178
+ h5,
179
+ h6 {
180
+ position: relative;
181
+ margin-top: 1.5em;
182
+ margin-bottom: 0.25em;
183
+
184
+ &:first-child {
185
+ margin-top: $sp-2;
186
+ }
187
+
188
+ + table,
189
+ + .table-wrapper,
190
+ + .code-example,
191
+ + .highlighter-rouge {
192
+ margin-top: 1em;
193
+ }
194
+
195
+ + p {
196
+ margin-top: 0;
197
+ }
198
+ }
199
+ }