jekyll-cessda-docs 0.1.0
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.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_config.yml +59 -0
- data/_includes/css/custom.scss.liquid +1 -0
- data/_includes/css/just-the-docs.scss.liquid +8 -0
- data/_includes/fix_linenos.html +65 -0
- data/_includes/head.html +40 -0
- data/_includes/head_custom.html +0 -0
- data/_includes/js/custom.js +0 -0
- data/_includes/nav.html +100 -0
- data/_includes/title.html +5 -0
- data/_includes/vendor/anchor_headings.html +144 -0
- data/_layouts/about.html +5 -0
- data/_layouts/default.html +200 -0
- data/_layouts/home.html +5 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_layouts/table_wrappers.html +7 -0
- data/_layouts/vendor/compress.html +10 -0
- data/_sass/base.scss +108 -0
- data/_sass/buttons.scss +118 -0
- data/_sass/cessda.scss +93 -0
- data/_sass/code.scss +334 -0
- data/_sass/color_schemes/dark.scss +17 -0
- data/_sass/color_schemes/light.scss +0 -0
- data/_sass/content.scss +199 -0
- data/_sass/custom/custom.scss +0 -0
- data/_sass/labels.scss +37 -0
- data/_sass/layout.scss +192 -0
- data/_sass/modules.scss +21 -0
- data/_sass/navigation.scss +219 -0
- data/_sass/print.scss +40 -0
- data/_sass/search.scss +323 -0
- data/_sass/support/_functions.scss +9 -0
- data/_sass/support/_variables.scss +152 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +84 -0
- data/_sass/support/mixins/mixins.scss +3 -0
- data/_sass/support/support.scss +3 -0
- data/_sass/tables.scss +58 -0
- data/_sass/typography.scss +64 -0
- data/_sass/utilities/_colors.scss +239 -0
- data/_sass/utilities/_layout.scss +95 -0
- data/_sass/utilities/_lists.scss +17 -0
- data/_sass/utilities/_spacing.scss +165 -0
- data/_sass/utilities/_typography.scss +91 -0
- data/_sass/utilities/utilities.scss +5 -0
- data/_sass/vendor/normalize.scss/README.md +78 -0
- data/_sass/vendor/normalize.scss/normalize.scss +427 -0
- data/_sass/vendor/normalize.scss/package.json +70 -0
- data/assets/CESSDA.png +0 -0
- data/assets/css/just-the-docs-dark.scss +3 -0
- data/assets/css/just-the-docs-default.scss +8 -0
- data/assets/css/just-the-docs-light.scss +3 -0
- data/assets/images/CESSDA.png +0 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/just-the-docs.js +471 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/zzzz-search-data.json +72 -0
- metadata +118 -0
@@ -0,0 +1,95 @@
|
|
1
|
+
// stylelint-disable primer/selector-no-utility, primer/no-override
|
2
|
+
//
|
3
|
+
// Utility classes for layout
|
4
|
+
//
|
5
|
+
|
6
|
+
// Display
|
7
|
+
|
8
|
+
.d-block {
|
9
|
+
display: block !important;
|
10
|
+
}
|
11
|
+
.d-flex {
|
12
|
+
display: flex !important;
|
13
|
+
}
|
14
|
+
.d-inline {
|
15
|
+
display: inline !important;
|
16
|
+
}
|
17
|
+
.d-inline-block {
|
18
|
+
display: inline-block !important;
|
19
|
+
}
|
20
|
+
.d-none {
|
21
|
+
display: none !important;
|
22
|
+
}
|
23
|
+
|
24
|
+
@each $media-query in map-keys($media-queries) {
|
25
|
+
@for $i from 1 through length($spacers) {
|
26
|
+
@include mq($media-query) {
|
27
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
28
|
+
$scale: #{$i - 1};
|
29
|
+
|
30
|
+
// .d-sm-block, .d-md-none, .d-lg-inline
|
31
|
+
.d-#{$media-query}-block {
|
32
|
+
display: block !important;
|
33
|
+
}
|
34
|
+
.d-#{$media-query}-flex {
|
35
|
+
display: flex !important;
|
36
|
+
}
|
37
|
+
.d-#{$media-query}-inline {
|
38
|
+
display: inline !important;
|
39
|
+
}
|
40
|
+
.d-#{$media-query}-inline-block {
|
41
|
+
display: inline-block !important;
|
42
|
+
}
|
43
|
+
.d-#{$media-query}-none {
|
44
|
+
display: none !important;
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
// Horizontal alignment
|
51
|
+
|
52
|
+
.float-left {
|
53
|
+
float: left !important;
|
54
|
+
}
|
55
|
+
|
56
|
+
.float-right {
|
57
|
+
float: right !important;
|
58
|
+
}
|
59
|
+
|
60
|
+
.flex-justify-start {
|
61
|
+
justify-content: flex-start !important;
|
62
|
+
}
|
63
|
+
|
64
|
+
.flex-justify-end {
|
65
|
+
justify-content: flex-end !important;
|
66
|
+
}
|
67
|
+
|
68
|
+
.flex-justify-between {
|
69
|
+
justify-content: space-between !important;
|
70
|
+
}
|
71
|
+
|
72
|
+
.flex-justify-around {
|
73
|
+
justify-content: space-around !important;
|
74
|
+
}
|
75
|
+
|
76
|
+
// Vertical alignment
|
77
|
+
|
78
|
+
.v-align-baseline {
|
79
|
+
vertical-align: baseline !important;
|
80
|
+
}
|
81
|
+
.v-align-bottom {
|
82
|
+
vertical-align: bottom !important;
|
83
|
+
}
|
84
|
+
.v-align-middle {
|
85
|
+
vertical-align: middle !important;
|
86
|
+
}
|
87
|
+
.v-align-text-bottom {
|
88
|
+
vertical-align: text-bottom !important;
|
89
|
+
}
|
90
|
+
.v-align-text-top {
|
91
|
+
vertical-align: text-top !important;
|
92
|
+
}
|
93
|
+
.v-align-top {
|
94
|
+
vertical-align: top !important;
|
95
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes for lists
|
3
|
+
//
|
4
|
+
|
5
|
+
// stylelint-disable primer/selector-no-utility, primer/no-override, selector-max-type
|
6
|
+
|
7
|
+
.list-style-none {
|
8
|
+
padding: 0 !important;
|
9
|
+
margin: 0 !important;
|
10
|
+
list-style: none !important;
|
11
|
+
|
12
|
+
li {
|
13
|
+
&::before {
|
14
|
+
display: none !important;
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
@@ -0,0 +1,165 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes for margins and padding
|
3
|
+
//
|
4
|
+
|
5
|
+
// scss-lint:disable SpaceAfterPropertyName
|
6
|
+
// stylelint-disable block-opening-brace-space-after, block-opening-brace-space-before, primer/selector-no-utility, primer/no-override
|
7
|
+
|
8
|
+
// Margin spacer utilities
|
9
|
+
|
10
|
+
.mx-auto {
|
11
|
+
margin-right: auto !important;
|
12
|
+
margin-left: auto !important;
|
13
|
+
}
|
14
|
+
|
15
|
+
@for $i from 1 through length($spacers) {
|
16
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
17
|
+
$scale: #{$i - 1};
|
18
|
+
|
19
|
+
// .m-0, .m-1, .m-2...
|
20
|
+
.m-#{$scale} {
|
21
|
+
margin: #{$size} !important;
|
22
|
+
}
|
23
|
+
.mt-#{$scale} {
|
24
|
+
margin-top: #{$size} !important;
|
25
|
+
}
|
26
|
+
.mr-#{$scale} {
|
27
|
+
margin-right: #{$size} !important;
|
28
|
+
}
|
29
|
+
.mb-#{$scale} {
|
30
|
+
margin-bottom: #{$size} !important;
|
31
|
+
}
|
32
|
+
.ml-#{$scale} {
|
33
|
+
margin-left: #{$size} !important;
|
34
|
+
}
|
35
|
+
|
36
|
+
.mx-#{$scale} {
|
37
|
+
margin-right: #{$size} !important;
|
38
|
+
margin-left: #{$size} !important;
|
39
|
+
}
|
40
|
+
|
41
|
+
.my-#{$scale} {
|
42
|
+
margin-top: #{$size} !important;
|
43
|
+
margin-bottom: #{$size} !important;
|
44
|
+
}
|
45
|
+
|
46
|
+
.mxn-#{$scale} {
|
47
|
+
margin-right: -#{$size} !important;
|
48
|
+
margin-left: -#{$size} !important;
|
49
|
+
}
|
50
|
+
.mx-#{$scale}-auto {
|
51
|
+
margin-right: auto !important;
|
52
|
+
margin-left: auto !important;
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
@each $media-query in map-keys($media-queries) {
|
57
|
+
@for $i from 1 through length($spacers) {
|
58
|
+
@include mq($media-query) {
|
59
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
60
|
+
$scale: #{$i - 1};
|
61
|
+
|
62
|
+
// .m-sm-0, .m-md-1, .m-lg-2...
|
63
|
+
.m-#{$media-query}-#{$scale} {
|
64
|
+
margin: #{$size} !important;
|
65
|
+
}
|
66
|
+
.mt-#{$media-query}-#{$scale} {
|
67
|
+
margin-top: #{$size} !important;
|
68
|
+
}
|
69
|
+
.mr-#{$media-query}-#{$scale} {
|
70
|
+
margin-right: #{$size} !important;
|
71
|
+
}
|
72
|
+
.mb-#{$media-query}-#{$scale} {
|
73
|
+
margin-bottom: #{$size} !important;
|
74
|
+
}
|
75
|
+
.ml-#{$media-query}-#{$scale} {
|
76
|
+
margin-left: #{$size} !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
.mx-#{$media-query}-#{$scale} {
|
80
|
+
margin-right: #{$size} !important;
|
81
|
+
margin-left: #{$size} !important;
|
82
|
+
}
|
83
|
+
|
84
|
+
.my-#{$media-query}-#{$scale} {
|
85
|
+
margin-top: #{$size} !important;
|
86
|
+
margin-bottom: #{$size} !important;
|
87
|
+
}
|
88
|
+
|
89
|
+
.mxn-#{$media-query}-#{$scale} {
|
90
|
+
margin-right: -#{$size} !important;
|
91
|
+
margin-left: -#{$size} !important;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
|
97
|
+
// Padding spacer utilities
|
98
|
+
|
99
|
+
@for $i from 1 through length($spacers) {
|
100
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
101
|
+
$scale: #{$i - 1};
|
102
|
+
|
103
|
+
// .p-0, .p-1, .p-2...
|
104
|
+
.p-#{$scale} {
|
105
|
+
padding: #{$size} !important;
|
106
|
+
}
|
107
|
+
.pt-#{$scale} {
|
108
|
+
padding-top: #{$size} !important;
|
109
|
+
}
|
110
|
+
.pr-#{$scale} {
|
111
|
+
padding-right: #{$size} !important;
|
112
|
+
}
|
113
|
+
.pb-#{$scale} {
|
114
|
+
padding-bottom: #{$size} !important;
|
115
|
+
}
|
116
|
+
.pl-#{$scale} {
|
117
|
+
padding-left: #{$size} !important;
|
118
|
+
}
|
119
|
+
|
120
|
+
.px-#{$scale} {
|
121
|
+
padding-right: #{$size} !important;
|
122
|
+
padding-left: #{$size} !important;
|
123
|
+
}
|
124
|
+
|
125
|
+
.py-#{$scale} {
|
126
|
+
padding-top: #{$size} !important;
|
127
|
+
padding-bottom: #{$size} !important;
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
@each $media-query in map-keys($media-queries) {
|
132
|
+
@include mq($media-query) {
|
133
|
+
@for $i from 1 through length($spacers) {
|
134
|
+
$size: #{map-get($spacers, sp-#{$i - 1})};
|
135
|
+
$scale: #{$i - 1};
|
136
|
+
|
137
|
+
// .p-sm-0, .p-md-1, .p-lg-2...
|
138
|
+
.p-#{$media-query}-#{$scale} {
|
139
|
+
padding: #{$size} !important;
|
140
|
+
}
|
141
|
+
.pt-#{$media-query}-#{$scale} {
|
142
|
+
padding-top: #{$size} !important;
|
143
|
+
}
|
144
|
+
.pr-#{$media-query}-#{$scale} {
|
145
|
+
padding-right: #{$size} !important;
|
146
|
+
}
|
147
|
+
.pb-#{$media-query}-#{$scale} {
|
148
|
+
padding-bottom: #{$size} !important;
|
149
|
+
}
|
150
|
+
.pl-#{$media-query}-#{$scale} {
|
151
|
+
padding-left: #{$size} !important;
|
152
|
+
}
|
153
|
+
|
154
|
+
.px-#{$media-query}-#{$scale} {
|
155
|
+
padding-right: #{$size} !important;
|
156
|
+
padding-left: #{$size} !important;
|
157
|
+
}
|
158
|
+
|
159
|
+
.py-#{$media-query}-#{$scale} {
|
160
|
+
padding-top: #{$size} !important;
|
161
|
+
padding-bottom: #{$size} !important;
|
162
|
+
}
|
163
|
+
}
|
164
|
+
}
|
165
|
+
}
|
@@ -0,0 +1,91 @@
|
|
1
|
+
//
|
2
|
+
// Utility classes for typography
|
3
|
+
//
|
4
|
+
|
5
|
+
// stylelint-disable primer/selector-no-utility, primer/no-override
|
6
|
+
|
7
|
+
.fs-1 {
|
8
|
+
@include fs-1;
|
9
|
+
}
|
10
|
+
|
11
|
+
.fs-2 {
|
12
|
+
@include fs-2;
|
13
|
+
}
|
14
|
+
|
15
|
+
.fs-3 {
|
16
|
+
@include fs-3;
|
17
|
+
}
|
18
|
+
|
19
|
+
.fs-4 {
|
20
|
+
@include fs-4;
|
21
|
+
}
|
22
|
+
|
23
|
+
.fs-5 {
|
24
|
+
@include fs-5;
|
25
|
+
}
|
26
|
+
|
27
|
+
.fs-6 {
|
28
|
+
@include fs-6;
|
29
|
+
}
|
30
|
+
|
31
|
+
.fs-7 {
|
32
|
+
@include fs-7;
|
33
|
+
}
|
34
|
+
|
35
|
+
.fs-8 {
|
36
|
+
@include fs-8;
|
37
|
+
}
|
38
|
+
|
39
|
+
.fs-9 {
|
40
|
+
@include fs-9;
|
41
|
+
}
|
42
|
+
|
43
|
+
.fs-10 {
|
44
|
+
@include fs-10;
|
45
|
+
}
|
46
|
+
|
47
|
+
.fw-300 {
|
48
|
+
font-weight: 300 !important;
|
49
|
+
}
|
50
|
+
|
51
|
+
.fw-400 {
|
52
|
+
font-weight: 400 !important;
|
53
|
+
}
|
54
|
+
|
55
|
+
.fw-500 {
|
56
|
+
font-weight: 500 !important;
|
57
|
+
}
|
58
|
+
|
59
|
+
.fw-700 {
|
60
|
+
font-weight: 700 !important;
|
61
|
+
}
|
62
|
+
|
63
|
+
.lh-0 {
|
64
|
+
line-height: 0 !important;
|
65
|
+
}
|
66
|
+
|
67
|
+
.lh-default {
|
68
|
+
line-height: $body-line-height;
|
69
|
+
}
|
70
|
+
|
71
|
+
.lh-tight {
|
72
|
+
line-height: $body-heading-line-height;
|
73
|
+
}
|
74
|
+
|
75
|
+
.ls-5 {
|
76
|
+
letter-spacing: 0.05em !important;
|
77
|
+
}
|
78
|
+
|
79
|
+
.ls-10 {
|
80
|
+
letter-spacing: 0.1em !important;
|
81
|
+
}
|
82
|
+
|
83
|
+
.ls-0 {
|
84
|
+
letter-spacing: 0 !important;
|
85
|
+
}
|
86
|
+
|
87
|
+
.text-uppercase {
|
88
|
+
text-transform: uppercase !important;
|
89
|
+
}
|
90
|
+
|
91
|
+
// stylelint-enable primer/selector-no-utility
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# normalize.scss v0.1.0
|
2
|
+
|
3
|
+
Normalize.scss is the SCSS version of [normalize.css](http://necolas.github.io/normalize.css), a customisable CSS file that makes browsers render all elements more consistently and in line with modern standards.
|
4
|
+
|
5
|
+
[View the normalize.css test file](http://necolas.github.io/normalize.css/latest/test.html)
|
6
|
+
|
7
|
+
## Install
|
8
|
+
|
9
|
+
* [npm](http://npmjs.org/): `npm install --save normalize.scss`
|
10
|
+
* [Component(1)](https://github.com/component/component/): `component install guerrero/normalize.scss`
|
11
|
+
* [Bower](http://bower.io/): `bower install --save normalize.scss`
|
12
|
+
* Download: Go to [this link](https://raw.githubusercontent.com/guerrero/normalize.scss/master/normalize.scss), press right-click on the page and choose "Save as..."
|
13
|
+
|
14
|
+
No other styles should come before Normalize.scss.
|
15
|
+
|
16
|
+
It's recommendable to modify `normalize.scss` to suit it to your project
|
17
|
+
|
18
|
+
## What does it do?
|
19
|
+
|
20
|
+
* Preserves useful defaults, unlike many CSS resets.
|
21
|
+
* Normalizes styles for a wide range of elements.
|
22
|
+
* Corrects bugs and common browser inconsistencies.
|
23
|
+
* Improves usability with subtle improvements.
|
24
|
+
* Explains what code does using detailed comments.
|
25
|
+
|
26
|
+
## Browser support
|
27
|
+
|
28
|
+
* Google Chrome (latest)
|
29
|
+
* Mozilla Firefox (latest)
|
30
|
+
* Mozilla Firefox 4
|
31
|
+
* Opera (latest)
|
32
|
+
* Apple Safari 6+
|
33
|
+
* Internet Explorer 8+
|
34
|
+
|
35
|
+
[Normalize.css v1 provides legacy browser
|
36
|
+
support](https://github.com/necolas/normalize.css/tree/v1) (IE 6+, Safari 4+),
|
37
|
+
but is no longer actively developed.
|
38
|
+
|
39
|
+
## Extended details
|
40
|
+
|
41
|
+
Additional detail and explanation of the esoteric parts of normalize.css.
|
42
|
+
|
43
|
+
#### `pre, code, kbd, samp`
|
44
|
+
|
45
|
+
The `font-family: monospace, monospace` hack fixes the inheritance and scaling
|
46
|
+
of font-size for preformated text. The duplication of `monospace` is
|
47
|
+
intentional. [Source](http://en.wikipedia.org/wiki/User:Davidgothberg/Test59).
|
48
|
+
|
49
|
+
#### `sub, sup`
|
50
|
+
|
51
|
+
Normally, using `sub` or `sup` affects the line-box height of text in all
|
52
|
+
browsers. [Source](http://gist.github.com/413930).
|
53
|
+
|
54
|
+
#### `svg:not(:root)`
|
55
|
+
|
56
|
+
Adding `overflow: hidden` fixes IE9's SVG rendering. Earlier versions of IE
|
57
|
+
don't support SVG, so we can safely use the `:not()` and `:root` selectors that
|
58
|
+
modern browsers use in the default UA stylesheets to apply this style. [SVG
|
59
|
+
Mailing List discussion](http://lists.w3.org/Archives/Public/public-svg-wg/2008JulSep/0339.html)
|
60
|
+
|
61
|
+
#### `input[type="search"]`
|
62
|
+
|
63
|
+
The search input is not fully stylable by default. In Chrome and Safari on
|
64
|
+
OSX/iOS you can't control `font`, `padding`, `border`, or `background`. In
|
65
|
+
Chrome and Safari on Windows you can't control `border` properly. It will apply
|
66
|
+
`border-width` but will only show a border color (which cannot be controlled)
|
67
|
+
for the outer 1px of that border. Applying `-webkit-appearance: textfield`
|
68
|
+
addresses these issues without removing the benefits of search inputs (e.g.
|
69
|
+
showing past searches).
|
70
|
+
|
71
|
+
#### `legend`
|
72
|
+
|
73
|
+
Adding `border: 0` corrects an IE 8–11 bug where `color` (yes, `color`) is not
|
74
|
+
inherited by `legend`.
|
75
|
+
|
76
|
+
## Acknowledgements
|
77
|
+
|
78
|
+
Normalize.scss is a project by [Alex Guerrero](https://github.com/guerrero) based on [normalize.css](http://necolas.github.io/normalize.css) from [Nicolas Gallagher](https://github.com/necolas), co-created with [Jonathan Neal](https://github.com/jonathantneal).
|