dendron-jekyll 0.3.2
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 +68 -0
- data/Rakefile +1 -0
- data/_includes/active.html +8 -0
- data/_includes/archive-single.html +33 -0
- data/_includes/crumbs.html +15 -0
- data/_includes/css/custom.scss.liquid +1 -0
- data/_includes/css/just-the-docs.scss.liquid +7 -0
- data/_includes/documents-collection.html +25 -0
- data/_includes/figure +9 -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 +37 -0
- data/_includes/sidebar.html +19 -0
- data/_includes/title.html +5 -0
- data/_includes/toc +7 -0
- data/_includes/toc-mm.html +96 -0
- data/_includes/toc.html +16 -0
- data/_includes/vendor/anchor_headings.html +100 -0
- data/_layouts/about.html +5 -0
- data/_layouts/archive.html +30 -0
- data/_layouts/default.html +160 -0
- data/_layouts/home.html +5 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_layouts/single.html +97 -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/code.scss +261 -0
- data/_sass/color_schemes/dark.scss +17 -0
- data/_sass/color_schemes/light.scss +0 -0
- data/_sass/content.scss +196 -0
- data/_sass/custom/custom.scss +0 -0
- data/_sass/labels.scss +37 -0
- data/_sass/layout.scss +205 -0
- data/_sass/minimal-mistakes/_animations.scss +21 -0
- data/_sass/minimal-mistakes/_archive.scss +455 -0
- data/_sass/minimal-mistakes/_base.scss +357 -0
- data/_sass/minimal-mistakes/_buttons.scss +97 -0
- data/_sass/minimal-mistakes/_footer.scss +86 -0
- data/_sass/minimal-mistakes/_forms.scss +393 -0
- data/_sass/minimal-mistakes/_masthead.scss +93 -0
- data/_sass/minimal-mistakes/_mixins.scss +92 -0
- data/_sass/minimal-mistakes/_navigation.scss +566 -0
- data/_sass/minimal-mistakes/_notices.scss +105 -0
- data/_sass/minimal-mistakes/_page.scss +553 -0
- data/_sass/minimal-mistakes/_print.scss +252 -0
- data/_sass/minimal-mistakes/_reset.scss +187 -0
- data/_sass/minimal-mistakes/_search.scss +132 -0
- data/_sass/minimal-mistakes/_sidebar.scss +347 -0
- data/_sass/minimal-mistakes/_syntax.scss +324 -0
- data/_sass/minimal-mistakes/_tables.scss +39 -0
- data/_sass/minimal-mistakes/_utilities.scss +593 -0
- data/_sass/minimal-mistakes/_variables.scss +169 -0
- data/_sass/minimal-mistakes/skins/_air.scss +23 -0
- data/_sass/minimal-mistakes/skins/_aqua.scss +30 -0
- data/_sass/minimal-mistakes/skins/_contrast.scss +51 -0
- data/_sass/minimal-mistakes/skins/_dark.scss +28 -0
- data/_sass/minimal-mistakes/skins/_default.scss +5 -0
- data/_sass/minimal-mistakes/skins/_dirt.scss +33 -0
- data/_sass/minimal-mistakes/skins/_mint.scss +23 -0
- data/_sass/minimal-mistakes/skins/_neon.scss +57 -0
- data/_sass/minimal-mistakes/skins/_plum.scss +64 -0
- data/_sass/minimal-mistakes/skins/_sunrise.scss +44 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_breakpoint.scss +114 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_context.scss +95 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_helpers.scss +151 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_legacy-settings.scss +50 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_no-query.scss +15 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_parsers.scss +215 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_respond-to.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/_settings.scss +71 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_double.scss +33 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_query.scss +82 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_resolution.scss +31 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_single.scss +26 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/_triple.scss +36 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default-pair.scss +21 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_default.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/double/_double-string.scss +22 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/resolution/_resolution.scss +60 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/single/_default.scss +13 -0
- data/_sass/minimal-mistakes/vendor/breakpoint/parsers/triple/_default.scss +18 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_magnific-popup.scss +649 -0
- data/_sass/minimal-mistakes/vendor/magnific-popup/_settings.scss +46 -0
- data/_sass/minimal-mistakes/vendor/susy/_su.scss +4 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy-prefix.scss +13 -0
- data/_sass/minimal-mistakes/vendor/susy/_susy.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/_svg-grid.scss +5 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_prefix.scss +7 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-api.scss +114 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-grid-math.scss +67 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-settings.scss +14 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-unprefix.scss +18 -0
- data/_sass/minimal-mistakes/vendor/susy/plugins/svg-grid/_svg-utilities.scss +133 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_api.scss +318 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_normalize.scss +261 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_parse.scss +163 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_settings.scss +329 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-math.scss +441 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_su-validate.scss +213 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_syntax-helpers.scss +191 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_unprefix.scss +56 -0
- data/_sass/minimal-mistakes/vendor/susy/susy/_utilities.scss +167 -0
- data/_sass/modules.scss +25 -0
- data/_sass/navigation.scss +196 -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 +135 -0
- data/_sass/support/mixins/_buttons.scss +27 -0
- data/_sass/support/mixins/_layout.scss +34 -0
- data/_sass/support/mixins/_typography.scss +86 -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 +60 -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/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/just-the-docs.png +0 -0
- data/assets/images/search.svg +1 -0
- data/assets/js/just-the-docs.js +473 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/zzzz-search-data.json +60 -0
- data/bin/just-the-docs +16 -0
- data/lib/tasks/search.rake +74 -0
- metadata +245 -0
File without changes
|
data/_sass/labels.scss
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
//
|
2
|
+
// Labels (not the form kind)
|
3
|
+
//
|
4
|
+
|
5
|
+
.label,
|
6
|
+
.label-blue {
|
7
|
+
display: inline-block;
|
8
|
+
padding-top: 0.16em;
|
9
|
+
padding-right: 0.56em;
|
10
|
+
padding-bottom: 0.16em;
|
11
|
+
padding-left: 0.56em;
|
12
|
+
margin-right: $sp-2;
|
13
|
+
margin-left: $sp-2;
|
14
|
+
color: $white;
|
15
|
+
text-transform: uppercase;
|
16
|
+
vertical-align: middle;
|
17
|
+
background-color: $blue-100;
|
18
|
+
@include fs-2;
|
19
|
+
border-radius: 12px;
|
20
|
+
}
|
21
|
+
|
22
|
+
.label-green {
|
23
|
+
background-color: $green-200;
|
24
|
+
}
|
25
|
+
|
26
|
+
.label-purple {
|
27
|
+
background-color: $purple-100;
|
28
|
+
}
|
29
|
+
|
30
|
+
.label-red {
|
31
|
+
background-color: $red-200;
|
32
|
+
}
|
33
|
+
|
34
|
+
.label-yellow {
|
35
|
+
color: $grey-dk-200;
|
36
|
+
background-color: $yellow-200;
|
37
|
+
}
|
data/_sass/layout.scss
ADDED
@@ -0,0 +1,205 @@
|
|
1
|
+
//
|
2
|
+
// The basic two column layout
|
3
|
+
//
|
4
|
+
|
5
|
+
.side-bar {
|
6
|
+
z-index: 0;
|
7
|
+
display: flex;
|
8
|
+
flex-wrap: wrap;
|
9
|
+
background-color: $sidebar-color;
|
10
|
+
|
11
|
+
@include mq(md) {
|
12
|
+
flex-wrap: nowrap;
|
13
|
+
position: fixed;
|
14
|
+
width: $nav-width-md;
|
15
|
+
height: 100%;
|
16
|
+
flex-direction: column;
|
17
|
+
border-right: $border $border-color;
|
18
|
+
align-items: flex-end;
|
19
|
+
}
|
20
|
+
|
21
|
+
@include mq(lg) {
|
22
|
+
width: calc((100% - #{$nav-width + $content-width}) / 2 + #{$nav-width});
|
23
|
+
min-width: $nav-width;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
.main {
|
28
|
+
@include mq(md) {
|
29
|
+
position: relative;
|
30
|
+
max-width: $content-width;
|
31
|
+
margin-left: $nav-width-md;
|
32
|
+
}
|
33
|
+
|
34
|
+
@include mq(lg) {
|
35
|
+
margin-left: calc(
|
36
|
+
(100% - #{$nav-width + $content-width}) / 2 + #{$nav-width}
|
37
|
+
);
|
38
|
+
}
|
39
|
+
}
|
40
|
+
|
41
|
+
.main-content-wrap {
|
42
|
+
@include container;
|
43
|
+
padding-top: $gutter-spacing-sm;
|
44
|
+
padding-bottom: $gutter-spacing-sm;
|
45
|
+
|
46
|
+
@include mq(md) {
|
47
|
+
padding-top: $gutter-spacing;
|
48
|
+
padding-bottom: $gutter-spacing;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
.main-header {
|
53
|
+
z-index: 0;
|
54
|
+
display: none;
|
55
|
+
background-color: $sidebar-color;
|
56
|
+
|
57
|
+
@include mq(md) {
|
58
|
+
display: flex;
|
59
|
+
justify-content: space-between;
|
60
|
+
height: $header-height;
|
61
|
+
background-color: $body-background-color;
|
62
|
+
border-bottom: $border $border-color;
|
63
|
+
}
|
64
|
+
|
65
|
+
&.nav-open {
|
66
|
+
display: block;
|
67
|
+
|
68
|
+
@include mq(md) {
|
69
|
+
display: flex;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.site-nav,
|
75
|
+
.site-header,
|
76
|
+
.site-footer {
|
77
|
+
width: 100%;
|
78
|
+
|
79
|
+
@include mq(lg) {
|
80
|
+
width: $nav-width;
|
81
|
+
}
|
82
|
+
}
|
83
|
+
|
84
|
+
.site-nav {
|
85
|
+
display: none;
|
86
|
+
|
87
|
+
&.nav-open {
|
88
|
+
display: block;
|
89
|
+
}
|
90
|
+
|
91
|
+
@include mq(md) {
|
92
|
+
display: block;
|
93
|
+
padding-top: $sp-8;
|
94
|
+
padding-bottom: $gutter-spacing-sm;
|
95
|
+
overflow-y: auto;
|
96
|
+
flex: 1 1 auto;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
|
100
|
+
.site-header {
|
101
|
+
display: flex;
|
102
|
+
min-height: $header-height;
|
103
|
+
align-items: center;
|
104
|
+
|
105
|
+
@include mq(md) {
|
106
|
+
height: $header-height;
|
107
|
+
max-height: $header-height;
|
108
|
+
border-bottom: $border $border-color;
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
.site-title {
|
113
|
+
@include container;
|
114
|
+
flex-grow: 1;
|
115
|
+
display: flex;
|
116
|
+
height: 100%;
|
117
|
+
align-items: center;
|
118
|
+
padding-top: $sp-3;
|
119
|
+
padding-bottom: $sp-3;
|
120
|
+
color: $body-heading-color;
|
121
|
+
@include fs-6;
|
122
|
+
|
123
|
+
@include mq(md) {
|
124
|
+
padding-top: $sp-2;
|
125
|
+
padding-bottom: $sp-2;
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
@if variable-exists(logo) {
|
130
|
+
.site-logo {
|
131
|
+
width: 100%;
|
132
|
+
height: 100%;
|
133
|
+
background-image: url($logo);
|
134
|
+
background-repeat: no-repeat;
|
135
|
+
background-position: left center;
|
136
|
+
background-size: contain;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
.site-button {
|
141
|
+
display: flex;
|
142
|
+
height: 100%;
|
143
|
+
padding: $gutter-spacing-sm;
|
144
|
+
align-items: center;
|
145
|
+
}
|
146
|
+
|
147
|
+
@include mq(md) {
|
148
|
+
.site-header .site-button {
|
149
|
+
display: none;
|
150
|
+
}
|
151
|
+
}
|
152
|
+
|
153
|
+
.site-title:hover {
|
154
|
+
background-image: linear-gradient(
|
155
|
+
-90deg,
|
156
|
+
rgba($feedback-color, 1) 0%,
|
157
|
+
rgba($feedback-color, 0.8) 80%,
|
158
|
+
rgba($feedback-color, 0) 100%
|
159
|
+
);
|
160
|
+
}
|
161
|
+
|
162
|
+
.site-button:hover {
|
163
|
+
background-image: linear-gradient(
|
164
|
+
-90deg,
|
165
|
+
rgba($feedback-color, 1) 0%,
|
166
|
+
rgba($feedback-color, 0.8) 100%
|
167
|
+
);
|
168
|
+
}
|
169
|
+
|
170
|
+
// stylelint-disable selector-max-type
|
171
|
+
|
172
|
+
body {
|
173
|
+
position: relative;
|
174
|
+
padding-bottom: $sp-10;
|
175
|
+
overflow-y: scroll;
|
176
|
+
|
177
|
+
@include mq(md) {
|
178
|
+
position: static;
|
179
|
+
padding-bottom: 0;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
// stylelint-enable selector-max-type
|
184
|
+
|
185
|
+
.site-footer {
|
186
|
+
@include container;
|
187
|
+
position: absolute;
|
188
|
+
bottom: 0;
|
189
|
+
left: 0;
|
190
|
+
padding-top: $sp-4;
|
191
|
+
padding-bottom: $sp-4;
|
192
|
+
color: $grey-dk-000;
|
193
|
+
@include fs-2;
|
194
|
+
|
195
|
+
@include mq(md) {
|
196
|
+
position: static;
|
197
|
+
justify-self: end;
|
198
|
+
}
|
199
|
+
}
|
200
|
+
|
201
|
+
.icon {
|
202
|
+
width: $sp-5;
|
203
|
+
height: $sp-5;
|
204
|
+
color: $link-color;
|
205
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
ANIMATIONS
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
@-webkit-keyframes intro {
|
6
|
+
0% {
|
7
|
+
opacity: 0;
|
8
|
+
}
|
9
|
+
100% {
|
10
|
+
opacity: 1;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@keyframes intro {
|
15
|
+
0% {
|
16
|
+
opacity: 0;
|
17
|
+
}
|
18
|
+
100% {
|
19
|
+
opacity: 1;
|
20
|
+
}
|
21
|
+
}
|
@@ -0,0 +1,455 @@
|
|
1
|
+
/* ==========================================================================
|
2
|
+
ARCHIVE
|
3
|
+
========================================================================== */
|
4
|
+
|
5
|
+
.archive {
|
6
|
+
margin-top: 1em;
|
7
|
+
margin-bottom: 2em;
|
8
|
+
|
9
|
+
@include breakpoint($large) {
|
10
|
+
float: right;
|
11
|
+
width: calc(100% - #{$right-sidebar-width-narrow});
|
12
|
+
padding-right: $right-sidebar-width-narrow;
|
13
|
+
}
|
14
|
+
|
15
|
+
@include breakpoint($x-large) {
|
16
|
+
width: calc(100% - #{$right-sidebar-width});
|
17
|
+
padding-right: $right-sidebar-width;
|
18
|
+
}
|
19
|
+
}
|
20
|
+
|
21
|
+
.archive__item {
|
22
|
+
position: relative;
|
23
|
+
|
24
|
+
a {
|
25
|
+
position: relative;
|
26
|
+
z-index: 10;
|
27
|
+
}
|
28
|
+
|
29
|
+
a[rel="permalink"] {
|
30
|
+
position: static;
|
31
|
+
}
|
32
|
+
}
|
33
|
+
|
34
|
+
.archive__subtitle {
|
35
|
+
margin: 1.414em 0 0.5em;
|
36
|
+
padding-bottom: 0.5em;
|
37
|
+
font-size: $type-size-5;
|
38
|
+
color: $muted-text-color;
|
39
|
+
border-bottom: 1px solid $border-color;
|
40
|
+
|
41
|
+
+ .list__item .archive__item-title {
|
42
|
+
margin-top: 0.5em;
|
43
|
+
}
|
44
|
+
}
|
45
|
+
|
46
|
+
.archive__item-title {
|
47
|
+
margin-bottom: 0.25em;
|
48
|
+
font-family: $sans-serif-narrow;
|
49
|
+
line-height: initial;
|
50
|
+
overflow: hidden;
|
51
|
+
text-overflow: ellipsis;
|
52
|
+
|
53
|
+
a[rel="permalink"]::before {
|
54
|
+
content: '';
|
55
|
+
position: absolute;
|
56
|
+
left: 0;
|
57
|
+
top: 0;
|
58
|
+
right: 0;
|
59
|
+
bottom: 0;
|
60
|
+
}
|
61
|
+
|
62
|
+
a + a {
|
63
|
+
opacity: 0.5;
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
/* remove border*/
|
68
|
+
.page__content {
|
69
|
+
.archive__item-title {
|
70
|
+
margin-top: 1em;
|
71
|
+
border-bottom: none;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
|
75
|
+
.archive__item-excerpt {
|
76
|
+
margin-top: 0;
|
77
|
+
font-size: $type-size-6;
|
78
|
+
|
79
|
+
& + p {
|
80
|
+
text-indent: 0;
|
81
|
+
}
|
82
|
+
|
83
|
+
a {
|
84
|
+
position: relative;
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
.archive__item-teaser {
|
89
|
+
position: relative;
|
90
|
+
border-radius: $border-radius;
|
91
|
+
overflow: hidden;
|
92
|
+
|
93
|
+
img {
|
94
|
+
width: 100%;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
.archive__item-caption {
|
99
|
+
position: absolute;
|
100
|
+
bottom: 0;
|
101
|
+
right: 0;
|
102
|
+
margin: 0 auto;
|
103
|
+
padding: 2px 5px;
|
104
|
+
color: #fff;
|
105
|
+
font-family: $caption-font-family;
|
106
|
+
font-size: $type-size-8;
|
107
|
+
background: #000;
|
108
|
+
text-align: right;
|
109
|
+
z-index: 5;
|
110
|
+
opacity: 0.5;
|
111
|
+
border-radius: $border-radius 0 0 0;
|
112
|
+
|
113
|
+
@include breakpoint($large) {
|
114
|
+
padding: 5px 10px;
|
115
|
+
}
|
116
|
+
|
117
|
+
a {
|
118
|
+
color: #fff;
|
119
|
+
text-decoration: none;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
/*
|
124
|
+
List view
|
125
|
+
========================================================================== */
|
126
|
+
|
127
|
+
.list__item {
|
128
|
+
.page__meta {
|
129
|
+
margin: 0 0 4px;
|
130
|
+
font-size: 0.6em;
|
131
|
+
}
|
132
|
+
}
|
133
|
+
|
134
|
+
/*
|
135
|
+
Grid view
|
136
|
+
========================================================================== */
|
137
|
+
|
138
|
+
.archive {
|
139
|
+
.grid__wrapper {
|
140
|
+
/* extend grid elements to the right */
|
141
|
+
|
142
|
+
@include breakpoint($large) {
|
143
|
+
margin-right: -1 * $right-sidebar-width-narrow;
|
144
|
+
}
|
145
|
+
|
146
|
+
@include breakpoint($x-large) {
|
147
|
+
margin-right: -1 * $right-sidebar-width;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
}
|
151
|
+
|
152
|
+
.grid__item {
|
153
|
+
margin-bottom: 2em;
|
154
|
+
|
155
|
+
@include breakpoint($small) {
|
156
|
+
float: left;
|
157
|
+
width: span(5 of 10);
|
158
|
+
|
159
|
+
&:nth-child(2n + 1) {
|
160
|
+
clear: both;
|
161
|
+
margin-left: 0;
|
162
|
+
}
|
163
|
+
|
164
|
+
&:nth-child(2n + 2) {
|
165
|
+
clear: none;
|
166
|
+
margin-left: gutter(of 10);
|
167
|
+
}
|
168
|
+
}
|
169
|
+
|
170
|
+
@include breakpoint($medium) {
|
171
|
+
margin-left: 0; /* override margin*/
|
172
|
+
margin-right: 0; /* override margin*/
|
173
|
+
width: span(3 of 12);
|
174
|
+
|
175
|
+
&:nth-child(2n + 1) {
|
176
|
+
clear: none;
|
177
|
+
}
|
178
|
+
|
179
|
+
&:nth-child(4n + 1) {
|
180
|
+
clear: both;
|
181
|
+
}
|
182
|
+
|
183
|
+
&:nth-child(4n + 2) {
|
184
|
+
clear: none;
|
185
|
+
margin-left: gutter(1 of 12);
|
186
|
+
}
|
187
|
+
|
188
|
+
&:nth-child(4n + 3) {
|
189
|
+
clear: none;
|
190
|
+
margin-left: gutter(1 of 12);
|
191
|
+
}
|
192
|
+
|
193
|
+
&:nth-child(4n + 4) {
|
194
|
+
clear: none;
|
195
|
+
margin-left: gutter(1 of 12);
|
196
|
+
}
|
197
|
+
}
|
198
|
+
|
199
|
+
.page__meta {
|
200
|
+
margin: 0 0 4px;
|
201
|
+
font-size: 0.6em;
|
202
|
+
}
|
203
|
+
|
204
|
+
.archive__item-title {
|
205
|
+
margin-top: 0.5em;
|
206
|
+
font-size: $type-size-5;
|
207
|
+
}
|
208
|
+
|
209
|
+
.archive__item-excerpt {
|
210
|
+
display: none;
|
211
|
+
|
212
|
+
@include breakpoint($medium) {
|
213
|
+
display: block;
|
214
|
+
font-size: $type-size-6;
|
215
|
+
}
|
216
|
+
}
|
217
|
+
|
218
|
+
.archive__item-teaser {
|
219
|
+
@include breakpoint($small) {
|
220
|
+
max-height: 200px;
|
221
|
+
}
|
222
|
+
|
223
|
+
@include breakpoint($medium) {
|
224
|
+
max-height: 120px;
|
225
|
+
}
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
/*
|
230
|
+
Features
|
231
|
+
========================================================================== */
|
232
|
+
|
233
|
+
.feature__wrapper {
|
234
|
+
@include clearfix();
|
235
|
+
margin-bottom: 2em;
|
236
|
+
border-bottom: 1px solid $border-color;
|
237
|
+
|
238
|
+
.archive__item-title {
|
239
|
+
margin-bottom: 0;
|
240
|
+
}
|
241
|
+
}
|
242
|
+
|
243
|
+
.feature__item {
|
244
|
+
position: relative;
|
245
|
+
margin-bottom: 2em;
|
246
|
+
font-size: 1.125em;
|
247
|
+
|
248
|
+
@include breakpoint($small) {
|
249
|
+
float: left;
|
250
|
+
margin-bottom: 0;
|
251
|
+
width: span(4 of 12);
|
252
|
+
|
253
|
+
&:nth-child(3n + 1) {
|
254
|
+
clear: both;
|
255
|
+
margin-left: 0;
|
256
|
+
}
|
257
|
+
|
258
|
+
&:nth-child(3n + 2) {
|
259
|
+
clear: none;
|
260
|
+
margin-left: gutter(of 12);
|
261
|
+
}
|
262
|
+
|
263
|
+
&:nth-child(3n + 3) {
|
264
|
+
clear: none;
|
265
|
+
margin-left: gutter(of 12);
|
266
|
+
}
|
267
|
+
|
268
|
+
.feature__item-teaser {
|
269
|
+
max-height: 200px;
|
270
|
+
overflow: hidden;
|
271
|
+
}
|
272
|
+
}
|
273
|
+
|
274
|
+
.archive__item-body {
|
275
|
+
padding-left: gutter(1 of 12);
|
276
|
+
padding-right: gutter(1 of 12);
|
277
|
+
}
|
278
|
+
|
279
|
+
a.btn::before {
|
280
|
+
content: '';
|
281
|
+
position: absolute;
|
282
|
+
left: 0;
|
283
|
+
top: 0;
|
284
|
+
right: 0;
|
285
|
+
bottom: 0;
|
286
|
+
}
|
287
|
+
|
288
|
+
&--left {
|
289
|
+
position: relative;
|
290
|
+
float: left;
|
291
|
+
margin-left: 0;
|
292
|
+
margin-right: 0;
|
293
|
+
width: 100%;
|
294
|
+
clear: both;
|
295
|
+
font-size: 1.125em;
|
296
|
+
|
297
|
+
.archive__item {
|
298
|
+
float: left;
|
299
|
+
}
|
300
|
+
|
301
|
+
.archive__item-teaser {
|
302
|
+
margin-bottom: 2em;
|
303
|
+
}
|
304
|
+
|
305
|
+
a.btn::before {
|
306
|
+
content: '';
|
307
|
+
position: absolute;
|
308
|
+
left: 0;
|
309
|
+
top: 0;
|
310
|
+
right: 0;
|
311
|
+
bottom: 0;
|
312
|
+
}
|
313
|
+
|
314
|
+
@include breakpoint($small) {
|
315
|
+
.archive__item-teaser {
|
316
|
+
float: left;
|
317
|
+
width: span(5 of 12);
|
318
|
+
}
|
319
|
+
|
320
|
+
.archive__item-body {
|
321
|
+
float: right;
|
322
|
+
padding-left: gutter(0.5 of 12);
|
323
|
+
padding-right: gutter(1 of 12);
|
324
|
+
width: span(7 of 12);
|
325
|
+
}
|
326
|
+
}
|
327
|
+
}
|
328
|
+
|
329
|
+
&--right {
|
330
|
+
position: relative;
|
331
|
+
float: left;
|
332
|
+
margin-left: 0;
|
333
|
+
margin-right: 0;
|
334
|
+
width: 100%;
|
335
|
+
clear: both;
|
336
|
+
font-size: 1.125em;
|
337
|
+
|
338
|
+
.archive__item {
|
339
|
+
float: left;
|
340
|
+
}
|
341
|
+
|
342
|
+
.archive__item-teaser {
|
343
|
+
margin-bottom: 2em;
|
344
|
+
}
|
345
|
+
|
346
|
+
a.btn::before {
|
347
|
+
content: '';
|
348
|
+
position: absolute;
|
349
|
+
left: 0;
|
350
|
+
top: 0;
|
351
|
+
right: 0;
|
352
|
+
bottom: 0;
|
353
|
+
}
|
354
|
+
|
355
|
+
@include breakpoint($small) {
|
356
|
+
text-align: right;
|
357
|
+
|
358
|
+
.archive__item-teaser {
|
359
|
+
float: right;
|
360
|
+
width: span(5 of 12);
|
361
|
+
}
|
362
|
+
|
363
|
+
.archive__item-body {
|
364
|
+
float: left;
|
365
|
+
width: span(7 of 12);
|
366
|
+
padding-left: gutter(0.5 of 12);
|
367
|
+
padding-right: gutter(1 of 12);
|
368
|
+
}
|
369
|
+
}
|
370
|
+
}
|
371
|
+
|
372
|
+
&--center {
|
373
|
+
position: relative;
|
374
|
+
float: left;
|
375
|
+
margin-left: 0;
|
376
|
+
margin-right: 0;
|
377
|
+
width: 100%;
|
378
|
+
clear: both;
|
379
|
+
font-size: 1.125em;
|
380
|
+
|
381
|
+
.archive__item {
|
382
|
+
float: left;
|
383
|
+
width: 100%;
|
384
|
+
}
|
385
|
+
|
386
|
+
.archive__item-teaser {
|
387
|
+
margin-bottom: 2em;
|
388
|
+
}
|
389
|
+
|
390
|
+
a.btn::before {
|
391
|
+
content: '';
|
392
|
+
position: absolute;
|
393
|
+
left: 0;
|
394
|
+
top: 0;
|
395
|
+
right: 0;
|
396
|
+
bottom: 0;
|
397
|
+
}
|
398
|
+
|
399
|
+
@include breakpoint($small) {
|
400
|
+
text-align: center;
|
401
|
+
|
402
|
+
.archive__item-teaser {
|
403
|
+
margin: 0 auto;
|
404
|
+
width: span(5 of 12);
|
405
|
+
}
|
406
|
+
|
407
|
+
.archive__item-body {
|
408
|
+
margin: 0 auto;
|
409
|
+
width: span(7 of 12);
|
410
|
+
}
|
411
|
+
}
|
412
|
+
}
|
413
|
+
}
|
414
|
+
|
415
|
+
/* Place inside an archive layout */
|
416
|
+
|
417
|
+
.archive {
|
418
|
+
.feature__wrapper {
|
419
|
+
.archive__item-title {
|
420
|
+
margin-top: 0.25em;
|
421
|
+
font-size: 1em;
|
422
|
+
}
|
423
|
+
}
|
424
|
+
|
425
|
+
.feature__item,
|
426
|
+
.feature__item--left,
|
427
|
+
.feature__item--center,
|
428
|
+
.feature__item--right {
|
429
|
+
font-size: 1em;
|
430
|
+
}
|
431
|
+
}
|
432
|
+
|
433
|
+
/*
|
434
|
+
Wide Pages
|
435
|
+
========================================================================== */
|
436
|
+
|
437
|
+
.wide {
|
438
|
+
.archive {
|
439
|
+
@include breakpoint($large) {
|
440
|
+
padding-right: 0;
|
441
|
+
}
|
442
|
+
|
443
|
+
@include breakpoint($x-large) {
|
444
|
+
padding-right: 0;
|
445
|
+
}
|
446
|
+
}
|
447
|
+
}
|
448
|
+
|
449
|
+
/* Place inside a single layout */
|
450
|
+
|
451
|
+
.layout--single {
|
452
|
+
.feature__wrapper {
|
453
|
+
display: inline-block;
|
454
|
+
}
|
455
|
+
}
|