jekyll-bulma-feather 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/COPYING.md +88 -0
- data/README.md +125 -0
- data/_includes/feather.html +3 -0
- data/_includes/footer.html +14 -0
- data/_includes/head.html +12 -0
- data/_includes/header.html +8 -0
- data/_includes/nav.html +38 -0
- data/_layouts/default.html +7 -0
- data/_layouts/empty.html +9 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/bulma.scss +1 -0
- data/_sass/bulma/bulma-rtl.sass +3 -0
- data/_sass/bulma/bulma.sass +10 -0
- data/_sass/bulma/sass/base/_all.sass +6 -0
- data/_sass/bulma/sass/base/animations.sass +5 -0
- data/_sass/bulma/sass/base/generic.sass +145 -0
- data/_sass/bulma/sass/base/helpers.sass +1 -0
- data/_sass/bulma/sass/base/minireset.sass +79 -0
- data/_sass/bulma/sass/components/_all.sass +15 -0
- data/_sass/bulma/sass/components/breadcrumb.sass +77 -0
- data/_sass/bulma/sass/components/card.sass +102 -0
- data/_sass/bulma/sass/components/dropdown.sass +83 -0
- data/_sass/bulma/sass/components/level.sass +79 -0
- data/_sass/bulma/sass/components/media.sass +59 -0
- data/_sass/bulma/sass/components/menu.sass +59 -0
- data/_sass/bulma/sass/components/message.sass +101 -0
- data/_sass/bulma/sass/components/modal.sass +117 -0
- data/_sass/bulma/sass/components/navbar.sass +445 -0
- data/_sass/bulma/sass/components/pagination.sass +153 -0
- data/_sass/bulma/sass/components/panel.sass +121 -0
- data/_sass/bulma/sass/components/tabs.sass +176 -0
- data/_sass/bulma/sass/elements/_all.sass +16 -0
- data/_sass/bulma/sass/elements/box.sass +26 -0
- data/_sass/bulma/sass/elements/button.sass +344 -0
- data/_sass/bulma/sass/elements/container.sass +29 -0
- data/_sass/bulma/sass/elements/content.sass +157 -0
- data/_sass/bulma/sass/elements/form.sass +1 -0
- data/_sass/bulma/sass/elements/icon.sass +21 -0
- data/_sass/bulma/sass/elements/image.sass +73 -0
- data/_sass/bulma/sass/elements/notification.sass +52 -0
- data/_sass/bulma/sass/elements/other.sass +41 -0
- data/_sass/bulma/sass/elements/progress.sass +73 -0
- data/_sass/bulma/sass/elements/table.sass +133 -0
- data/_sass/bulma/sass/elements/tag.sass +140 -0
- data/_sass/bulma/sass/elements/title.sass +72 -0
- data/_sass/bulma/sass/form/_all.sass +9 -0
- data/_sass/bulma/sass/form/checkbox-radio.sass +24 -0
- data/_sass/bulma/sass/form/file.sass +184 -0
- data/_sass/bulma/sass/form/input-textarea.sass +68 -0
- data/_sass/bulma/sass/form/select.sass +89 -0
- data/_sass/bulma/sass/form/shared.sass +60 -0
- data/_sass/bulma/sass/form/tools.sass +217 -0
- data/_sass/bulma/sass/grid/_all.sass +5 -0
- data/_sass/bulma/sass/grid/columns.sass +513 -0
- data/_sass/bulma/sass/grid/tiles.sass +36 -0
- data/_sass/bulma/sass/helpers/_all.sass +12 -0
- data/_sass/bulma/sass/helpers/color.sass +39 -0
- data/_sass/bulma/sass/helpers/flexbox.sass +35 -0
- data/_sass/bulma/sass/helpers/float.sass +10 -0
- data/_sass/bulma/sass/helpers/other.sass +14 -0
- data/_sass/bulma/sass/helpers/overflow.sass +2 -0
- data/_sass/bulma/sass/helpers/position.sass +7 -0
- data/_sass/bulma/sass/helpers/spacing.sass +31 -0
- data/_sass/bulma/sass/helpers/typography.sass +100 -0
- data/_sass/bulma/sass/helpers/visibility.sass +122 -0
- data/_sass/bulma/sass/layout/_all.sass +6 -0
- data/_sass/bulma/sass/layout/footer.sass +11 -0
- data/_sass/bulma/sass/layout/hero.sass +149 -0
- data/_sass/bulma/sass/layout/section.sass +15 -0
- data/_sass/bulma/sass/utilities/_all.sass +8 -0
- data/_sass/bulma/sass/utilities/animations.sass +1 -0
- data/_sass/bulma/sass/utilities/controls.sass +52 -0
- data/_sass/bulma/sass/utilities/derived-variables.sass +110 -0
- data/_sass/bulma/sass/utilities/functions.sass +115 -0
- data/_sass/bulma/sass/utilities/initial-variables.sass +78 -0
- data/_sass/bulma/sass/utilities/mixins.sass +285 -0
- data/_sass/jekyll-bulma-feather.scss +213 -0
- data/assets/feather-sprite.svg +1 -0
- data/assets/jekyll-bulma-feather.svg +125 -0
- data/assets/style.scss +5 -0
- metadata +166 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
/* Bulma Elements */
|
2
|
+
@charset "utf-8"
|
3
|
+
|
4
|
+
@import "box.sass"
|
5
|
+
@import "button.sass"
|
6
|
+
@import "container.sass"
|
7
|
+
@import "content.sass"
|
8
|
+
@import "icon.sass"
|
9
|
+
@import "image.sass"
|
10
|
+
@import "notification.sass"
|
11
|
+
@import "progress.sass"
|
12
|
+
@import "table.sass"
|
13
|
+
@import "tag.sass"
|
14
|
+
@import "title.sass"
|
15
|
+
|
16
|
+
@import "other.sass"
|
@@ -0,0 +1,26 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$box-color: $text !default
|
4
|
+
$box-background-color: $scheme-main !default
|
5
|
+
$box-radius: $radius-large !default
|
6
|
+
$box-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0px 0 1px rgba($scheme-invert, 0.02) !default
|
7
|
+
$box-padding: 1.25rem !default
|
8
|
+
|
9
|
+
$box-link-hover-shadow: 0 0.5em 1em -0.125em rgba($scheme-invert, 0.1), 0 0 0 1px $link !default
|
10
|
+
$box-link-active-shadow: inset 0 1px 2px rgba($scheme-invert, 0.2), 0 0 0 1px $link !default
|
11
|
+
|
12
|
+
.box
|
13
|
+
@extend %block
|
14
|
+
background-color: $box-background-color
|
15
|
+
border-radius: $box-radius
|
16
|
+
box-shadow: $box-shadow
|
17
|
+
color: $box-color
|
18
|
+
display: block
|
19
|
+
padding: $box-padding
|
20
|
+
|
21
|
+
a.box
|
22
|
+
&:hover,
|
23
|
+
&:focus
|
24
|
+
box-shadow: $box-link-hover-shadow
|
25
|
+
&:active
|
26
|
+
box-shadow: $box-link-active-shadow
|
@@ -0,0 +1,344 @@
|
|
1
|
+
@import "../utilities/controls"
|
2
|
+
@import "../utilities/mixins"
|
3
|
+
|
4
|
+
$button-color: $text-strong !default
|
5
|
+
$button-background-color: $scheme-main !default
|
6
|
+
$button-family: false !default
|
7
|
+
|
8
|
+
$button-border-color: $border !default
|
9
|
+
$button-border-width: $control-border-width !default
|
10
|
+
|
11
|
+
$button-padding-vertical: calc(0.5em - #{$button-border-width}) !default
|
12
|
+
$button-padding-horizontal: 1em !default
|
13
|
+
|
14
|
+
$button-hover-color: $link-hover !default
|
15
|
+
$button-hover-border-color: $link-hover-border !default
|
16
|
+
|
17
|
+
$button-focus-color: $link-focus !default
|
18
|
+
$button-focus-border-color: $link-focus-border !default
|
19
|
+
$button-focus-box-shadow-size: 0 0 0 0.125em !default
|
20
|
+
$button-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
|
21
|
+
|
22
|
+
$button-active-color: $link-active !default
|
23
|
+
$button-active-border-color: $link-active-border !default
|
24
|
+
|
25
|
+
$button-text-color: $text !default
|
26
|
+
$button-text-decoration: underline !default
|
27
|
+
$button-text-hover-background-color: $background !default
|
28
|
+
$button-text-hover-color: $text-strong !default
|
29
|
+
|
30
|
+
$button-ghost-background: none !default
|
31
|
+
$button-ghost-border-color: transparent !default
|
32
|
+
$button-ghost-color: $link !default
|
33
|
+
$button-ghost-decoration: none !default
|
34
|
+
$button-ghost-hover-color: $link !default
|
35
|
+
$button-ghost-hover-decoration: underline !default
|
36
|
+
|
37
|
+
$button-disabled-background-color: $scheme-main !default
|
38
|
+
$button-disabled-border-color: $border !default
|
39
|
+
$button-disabled-shadow: none !default
|
40
|
+
$button-disabled-opacity: 0.5 !default
|
41
|
+
|
42
|
+
$button-static-color: $text-light !default
|
43
|
+
$button-static-background-color: $scheme-main-ter !default
|
44
|
+
$button-static-border-color: $border !default
|
45
|
+
|
46
|
+
$button-colors: $colors !default
|
47
|
+
|
48
|
+
// The button sizes use mixins so they can be used at different breakpoints
|
49
|
+
=button-small
|
50
|
+
border-radius: $radius-small
|
51
|
+
font-size: $size-small
|
52
|
+
=button-normal
|
53
|
+
font-size: $size-normal
|
54
|
+
=button-medium
|
55
|
+
font-size: $size-medium
|
56
|
+
=button-large
|
57
|
+
font-size: $size-large
|
58
|
+
|
59
|
+
.button
|
60
|
+
@extend %control
|
61
|
+
@extend %unselectable
|
62
|
+
background-color: $button-background-color
|
63
|
+
border-color: $button-border-color
|
64
|
+
border-width: $button-border-width
|
65
|
+
color: $button-color
|
66
|
+
cursor: pointer
|
67
|
+
@if $button-family
|
68
|
+
font-family: $button-family
|
69
|
+
justify-content: center
|
70
|
+
padding-bottom: $button-padding-vertical
|
71
|
+
padding-left: $button-padding-horizontal
|
72
|
+
padding-right: $button-padding-horizontal
|
73
|
+
padding-top: $button-padding-vertical
|
74
|
+
text-align: center
|
75
|
+
white-space: nowrap
|
76
|
+
strong
|
77
|
+
color: inherit
|
78
|
+
.icon
|
79
|
+
&,
|
80
|
+
&.is-small,
|
81
|
+
&.is-medium,
|
82
|
+
&.is-large
|
83
|
+
height: 1.5em
|
84
|
+
width: 1.5em
|
85
|
+
&:first-child:not(:last-child)
|
86
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}), false)
|
87
|
+
+ltr-property("margin", $button-padding-horizontal / 4)
|
88
|
+
&:last-child:not(:first-child)
|
89
|
+
+ltr-property("margin", $button-padding-horizontal / 4, false)
|
90
|
+
+ltr-property("margin", calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width}))
|
91
|
+
&:first-child:last-child
|
92
|
+
margin-left: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
93
|
+
margin-right: calc(#{-1 / 2 * $button-padding-horizontal} - #{$button-border-width})
|
94
|
+
// States
|
95
|
+
&:hover,
|
96
|
+
&.is-hovered
|
97
|
+
border-color: $button-hover-border-color
|
98
|
+
color: $button-hover-color
|
99
|
+
&:focus,
|
100
|
+
&.is-focused
|
101
|
+
border-color: $button-focus-border-color
|
102
|
+
color: $button-focus-color
|
103
|
+
&:not(:active)
|
104
|
+
box-shadow: $button-focus-box-shadow-size $button-focus-box-shadow-color
|
105
|
+
&:active,
|
106
|
+
&.is-active
|
107
|
+
border-color: $button-active-border-color
|
108
|
+
color: $button-active-color
|
109
|
+
// Colors
|
110
|
+
&.is-text
|
111
|
+
background-color: transparent
|
112
|
+
border-color: transparent
|
113
|
+
color: $button-text-color
|
114
|
+
text-decoration: $button-text-decoration
|
115
|
+
&:hover,
|
116
|
+
&.is-hovered,
|
117
|
+
&:focus,
|
118
|
+
&.is-focused
|
119
|
+
background-color: $button-text-hover-background-color
|
120
|
+
color: $button-text-hover-color
|
121
|
+
&:active,
|
122
|
+
&.is-active
|
123
|
+
background-color: bulmaDarken($button-text-hover-background-color, 5%)
|
124
|
+
color: $button-text-hover-color
|
125
|
+
&[disabled],
|
126
|
+
fieldset[disabled] &
|
127
|
+
background-color: transparent
|
128
|
+
border-color: transparent
|
129
|
+
box-shadow: none
|
130
|
+
&.is-ghost
|
131
|
+
background: $button-ghost-background
|
132
|
+
border-color: $button-ghost-border-color
|
133
|
+
color: $button-ghost-color
|
134
|
+
text-decoration: $button-ghost-decoration
|
135
|
+
&:hover,
|
136
|
+
&.is-hovered
|
137
|
+
color: $button-ghost-hover-color
|
138
|
+
text-decoration: $button-ghost-hover-decoration
|
139
|
+
@each $name, $pair in $button-colors
|
140
|
+
$color: nth($pair, 1)
|
141
|
+
$color-invert: nth($pair, 2)
|
142
|
+
&.is-#{$name}
|
143
|
+
background-color: $color
|
144
|
+
border-color: transparent
|
145
|
+
color: $color-invert
|
146
|
+
&:hover,
|
147
|
+
&.is-hovered
|
148
|
+
background-color: bulmaDarken($color, 2.5%)
|
149
|
+
border-color: transparent
|
150
|
+
color: $color-invert
|
151
|
+
&:focus,
|
152
|
+
&.is-focused
|
153
|
+
border-color: transparent
|
154
|
+
color: $color-invert
|
155
|
+
&:not(:active)
|
156
|
+
box-shadow: $button-focus-box-shadow-size bulmaRgba($color, 0.25)
|
157
|
+
&:active,
|
158
|
+
&.is-active
|
159
|
+
background-color: bulmaDarken($color, 5%)
|
160
|
+
border-color: transparent
|
161
|
+
color: $color-invert
|
162
|
+
&[disabled],
|
163
|
+
fieldset[disabled] &
|
164
|
+
background-color: $color
|
165
|
+
border-color: transparent
|
166
|
+
box-shadow: none
|
167
|
+
&.is-inverted
|
168
|
+
background-color: $color-invert
|
169
|
+
color: $color
|
170
|
+
&:hover,
|
171
|
+
&.is-hovered
|
172
|
+
background-color: bulmaDarken($color-invert, 5%)
|
173
|
+
&[disabled],
|
174
|
+
fieldset[disabled] &
|
175
|
+
background-color: $color-invert
|
176
|
+
border-color: transparent
|
177
|
+
box-shadow: none
|
178
|
+
color: $color
|
179
|
+
&.is-loading
|
180
|
+
&::after
|
181
|
+
border-color: transparent transparent $color-invert $color-invert !important
|
182
|
+
&.is-outlined
|
183
|
+
background-color: transparent
|
184
|
+
border-color: $color
|
185
|
+
color: $color
|
186
|
+
&:hover,
|
187
|
+
&.is-hovered,
|
188
|
+
&:focus,
|
189
|
+
&.is-focused
|
190
|
+
background-color: $color
|
191
|
+
border-color: $color
|
192
|
+
color: $color-invert
|
193
|
+
&.is-loading
|
194
|
+
&::after
|
195
|
+
border-color: transparent transparent $color $color !important
|
196
|
+
&:hover,
|
197
|
+
&.is-hovered,
|
198
|
+
&:focus,
|
199
|
+
&.is-focused
|
200
|
+
&::after
|
201
|
+
border-color: transparent transparent $color-invert $color-invert !important
|
202
|
+
&[disabled],
|
203
|
+
fieldset[disabled] &
|
204
|
+
background-color: transparent
|
205
|
+
border-color: $color
|
206
|
+
box-shadow: none
|
207
|
+
color: $color
|
208
|
+
&.is-inverted.is-outlined
|
209
|
+
background-color: transparent
|
210
|
+
border-color: $color-invert
|
211
|
+
color: $color-invert
|
212
|
+
&:hover,
|
213
|
+
&.is-hovered,
|
214
|
+
&:focus,
|
215
|
+
&.is-focused
|
216
|
+
background-color: $color-invert
|
217
|
+
color: $color
|
218
|
+
&.is-loading
|
219
|
+
&:hover,
|
220
|
+
&.is-hovered,
|
221
|
+
&:focus,
|
222
|
+
&.is-focused
|
223
|
+
&::after
|
224
|
+
border-color: transparent transparent $color $color !important
|
225
|
+
&[disabled],
|
226
|
+
fieldset[disabled] &
|
227
|
+
background-color: transparent
|
228
|
+
border-color: $color-invert
|
229
|
+
box-shadow: none
|
230
|
+
color: $color-invert
|
231
|
+
// If light and dark colors are provided
|
232
|
+
@if length($pair) >= 4
|
233
|
+
$color-light: nth($pair, 3)
|
234
|
+
$color-dark: nth($pair, 4)
|
235
|
+
&.is-light
|
236
|
+
background-color: $color-light
|
237
|
+
color: $color-dark
|
238
|
+
&:hover,
|
239
|
+
&.is-hovered
|
240
|
+
background-color: bulmaDarken($color-light, 2.5%)
|
241
|
+
border-color: transparent
|
242
|
+
color: $color-dark
|
243
|
+
&:active,
|
244
|
+
&.is-active
|
245
|
+
background-color: bulmaDarken($color-light, 5%)
|
246
|
+
border-color: transparent
|
247
|
+
color: $color-dark
|
248
|
+
// Sizes
|
249
|
+
&.is-small
|
250
|
+
+button-small
|
251
|
+
&.is-normal
|
252
|
+
+button-normal
|
253
|
+
&.is-medium
|
254
|
+
+button-medium
|
255
|
+
&.is-large
|
256
|
+
+button-large
|
257
|
+
// Modifiers
|
258
|
+
&[disabled],
|
259
|
+
fieldset[disabled] &
|
260
|
+
background-color: $button-disabled-background-color
|
261
|
+
border-color: $button-disabled-border-color
|
262
|
+
box-shadow: $button-disabled-shadow
|
263
|
+
opacity: $button-disabled-opacity
|
264
|
+
&.is-fullwidth
|
265
|
+
display: flex
|
266
|
+
width: 100%
|
267
|
+
&.is-loading
|
268
|
+
color: transparent !important
|
269
|
+
pointer-events: none
|
270
|
+
&::after
|
271
|
+
@extend %loader
|
272
|
+
+center(1em)
|
273
|
+
position: absolute !important
|
274
|
+
&.is-static
|
275
|
+
background-color: $button-static-background-color
|
276
|
+
border-color: $button-static-border-color
|
277
|
+
color: $button-static-color
|
278
|
+
box-shadow: none
|
279
|
+
pointer-events: none
|
280
|
+
&.is-rounded
|
281
|
+
border-radius: $radius-rounded
|
282
|
+
padding-left: calc(#{$button-padding-horizontal} + 0.25em)
|
283
|
+
padding-right: calc(#{$button-padding-horizontal} + 0.25em)
|
284
|
+
|
285
|
+
.buttons
|
286
|
+
align-items: center
|
287
|
+
display: flex
|
288
|
+
flex-wrap: wrap
|
289
|
+
justify-content: flex-start
|
290
|
+
.button
|
291
|
+
margin-bottom: 0.5rem
|
292
|
+
&:not(:last-child):not(.is-fullwidth)
|
293
|
+
+ltr-property("margin", 0.5rem)
|
294
|
+
&:last-child
|
295
|
+
margin-bottom: -0.5rem
|
296
|
+
&:not(:last-child)
|
297
|
+
margin-bottom: 1rem
|
298
|
+
// Sizes
|
299
|
+
&.are-small
|
300
|
+
.button:not(.is-normal):not(.is-medium):not(.is-large)
|
301
|
+
+button-small
|
302
|
+
&.are-medium
|
303
|
+
.button:not(.is-small):not(.is-normal):not(.is-large)
|
304
|
+
+button-medium
|
305
|
+
&.are-large
|
306
|
+
.button:not(.is-small):not(.is-normal):not(.is-medium)
|
307
|
+
+button-large
|
308
|
+
&.has-addons
|
309
|
+
.button
|
310
|
+
&:not(:first-child)
|
311
|
+
border-bottom-left-radius: 0
|
312
|
+
border-top-left-radius: 0
|
313
|
+
&:not(:last-child)
|
314
|
+
border-bottom-right-radius: 0
|
315
|
+
border-top-right-radius: 0
|
316
|
+
+ltr-property("margin", -1px)
|
317
|
+
&:last-child
|
318
|
+
+ltr-property("margin", 0)
|
319
|
+
&:hover,
|
320
|
+
&.is-hovered
|
321
|
+
z-index: 2
|
322
|
+
&:focus,
|
323
|
+
&.is-focused,
|
324
|
+
&:active,
|
325
|
+
&.is-active,
|
326
|
+
&.is-selected
|
327
|
+
z-index: 3
|
328
|
+
&:hover
|
329
|
+
z-index: 4
|
330
|
+
&.is-expanded
|
331
|
+
flex-grow: 1
|
332
|
+
flex-shrink: 1
|
333
|
+
&.is-centered
|
334
|
+
justify-content: center
|
335
|
+
&:not(.has-addons)
|
336
|
+
.button:not(.is-fullwidth)
|
337
|
+
margin-left: 0.25rem
|
338
|
+
margin-right: 0.25rem
|
339
|
+
&.is-right
|
340
|
+
justify-content: flex-end
|
341
|
+
&:not(.has-addons)
|
342
|
+
.button:not(.is-fullwidth)
|
343
|
+
margin-left: 0.25rem
|
344
|
+
margin-right: 0.25rem
|
@@ -0,0 +1,29 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$container-offset: (2 * $gap) !default
|
4
|
+
$container-max-width: $fullhd !default
|
5
|
+
|
6
|
+
.container
|
7
|
+
flex-grow: 1
|
8
|
+
margin: 0 auto
|
9
|
+
position: relative
|
10
|
+
width: auto
|
11
|
+
&.is-fluid
|
12
|
+
max-width: none !important
|
13
|
+
padding-left: $gap
|
14
|
+
padding-right: $gap
|
15
|
+
width: 100%
|
16
|
+
+desktop
|
17
|
+
max-width: $desktop - $container-offset
|
18
|
+
+until-widescreen
|
19
|
+
&.is-widescreen:not(.is-max-desktop)
|
20
|
+
max-width: min($widescreen, $container-max-width) - $container-offset
|
21
|
+
+until-fullhd
|
22
|
+
&.is-fullhd:not(.is-max-desktop):not(.is-max-widescreen)
|
23
|
+
max-width: min($fullhd, $container-max-width) - $container-offset
|
24
|
+
+widescreen
|
25
|
+
&:not(.is-max-desktop)
|
26
|
+
max-width: min($widescreen, $container-max-width) - $container-offset
|
27
|
+
+fullhd
|
28
|
+
&:not(.is-max-desktop):not(.is-max-widescreen)
|
29
|
+
max-width: min($fullhd, $container-max-width) - $container-offset
|
@@ -0,0 +1,157 @@
|
|
1
|
+
@import "../utilities/mixins"
|
2
|
+
|
3
|
+
$content-heading-color: $text-strong !default
|
4
|
+
$content-heading-weight: $weight-semibold !default
|
5
|
+
$content-heading-line-height: 1.125 !default
|
6
|
+
|
7
|
+
$content-blockquote-background-color: $background !default
|
8
|
+
$content-blockquote-border-left: 5px solid $border !default
|
9
|
+
$content-blockquote-padding: 1.25em 1.5em !default
|
10
|
+
|
11
|
+
$content-pre-padding: 1.25em 1.5em !default
|
12
|
+
|
13
|
+
$content-table-cell-border: 1px solid $border !default
|
14
|
+
$content-table-cell-border-width: 0 0 1px !default
|
15
|
+
$content-table-cell-padding: 0.5em 0.75em !default
|
16
|
+
$content-table-cell-heading-color: $text-strong !default
|
17
|
+
$content-table-head-cell-border-width: 0 0 2px !default
|
18
|
+
$content-table-head-cell-color: $text-strong !default
|
19
|
+
$content-table-foot-cell-border-width: 2px 0 0 !default
|
20
|
+
$content-table-foot-cell-color: $text-strong !default
|
21
|
+
|
22
|
+
.content
|
23
|
+
@extend %block
|
24
|
+
// Inline
|
25
|
+
li + li
|
26
|
+
margin-top: 0.25em
|
27
|
+
// Block
|
28
|
+
p,
|
29
|
+
dl,
|
30
|
+
ol,
|
31
|
+
ul,
|
32
|
+
blockquote,
|
33
|
+
pre,
|
34
|
+
table
|
35
|
+
&:not(:last-child)
|
36
|
+
margin-bottom: 1em
|
37
|
+
h1,
|
38
|
+
h2,
|
39
|
+
h3,
|
40
|
+
h4,
|
41
|
+
h5,
|
42
|
+
h6
|
43
|
+
color: $content-heading-color
|
44
|
+
font-weight: $content-heading-weight
|
45
|
+
line-height: $content-heading-line-height
|
46
|
+
h1
|
47
|
+
font-size: 2em
|
48
|
+
margin-bottom: 0.5em
|
49
|
+
&:not(:first-child)
|
50
|
+
margin-top: 1em
|
51
|
+
h2
|
52
|
+
font-size: 1.75em
|
53
|
+
margin-bottom: 0.5714em
|
54
|
+
&:not(:first-child)
|
55
|
+
margin-top: 1.1428em
|
56
|
+
h3
|
57
|
+
font-size: 1.5em
|
58
|
+
margin-bottom: 0.6666em
|
59
|
+
&:not(:first-child)
|
60
|
+
margin-top: 1.3333em
|
61
|
+
h4
|
62
|
+
font-size: 1.25em
|
63
|
+
margin-bottom: 0.8em
|
64
|
+
h5
|
65
|
+
font-size: 1.125em
|
66
|
+
margin-bottom: 0.8888em
|
67
|
+
h6
|
68
|
+
font-size: 1em
|
69
|
+
margin-bottom: 1em
|
70
|
+
blockquote
|
71
|
+
background-color: $content-blockquote-background-color
|
72
|
+
+ltr-property("border", $content-blockquote-border-left, false)
|
73
|
+
padding: $content-blockquote-padding
|
74
|
+
ol
|
75
|
+
list-style-position: outside
|
76
|
+
+ltr-property("margin", 2em, false)
|
77
|
+
margin-top: 1em
|
78
|
+
&:not([type])
|
79
|
+
list-style-type: decimal
|
80
|
+
&.is-lower-alpha
|
81
|
+
list-style-type: lower-alpha
|
82
|
+
&.is-lower-roman
|
83
|
+
list-style-type: lower-roman
|
84
|
+
&.is-upper-alpha
|
85
|
+
list-style-type: upper-alpha
|
86
|
+
&.is-upper-roman
|
87
|
+
list-style-type: upper-roman
|
88
|
+
ul
|
89
|
+
list-style: disc outside
|
90
|
+
+ltr-property("margin", 2em, false)
|
91
|
+
margin-top: 1em
|
92
|
+
ul
|
93
|
+
list-style-type: circle
|
94
|
+
margin-top: 0.5em
|
95
|
+
ul
|
96
|
+
list-style-type: square
|
97
|
+
dd
|
98
|
+
+ltr-property("margin", 2em, false)
|
99
|
+
figure
|
100
|
+
margin-left: 2em
|
101
|
+
margin-right: 2em
|
102
|
+
text-align: center
|
103
|
+
&:not(:first-child)
|
104
|
+
margin-top: 2em
|
105
|
+
&:not(:last-child)
|
106
|
+
margin-bottom: 2em
|
107
|
+
img
|
108
|
+
display: inline-block
|
109
|
+
figcaption
|
110
|
+
font-style: italic
|
111
|
+
pre
|
112
|
+
+overflow-touch
|
113
|
+
overflow-x: auto
|
114
|
+
padding: $content-pre-padding
|
115
|
+
white-space: pre
|
116
|
+
word-wrap: normal
|
117
|
+
sup,
|
118
|
+
sub
|
119
|
+
font-size: 75%
|
120
|
+
table
|
121
|
+
width: 100%
|
122
|
+
td,
|
123
|
+
th
|
124
|
+
border: $content-table-cell-border
|
125
|
+
border-width: $content-table-cell-border-width
|
126
|
+
padding: $content-table-cell-padding
|
127
|
+
vertical-align: top
|
128
|
+
th
|
129
|
+
color: $content-table-cell-heading-color
|
130
|
+
&:not([align])
|
131
|
+
text-align: inherit
|
132
|
+
thead
|
133
|
+
td,
|
134
|
+
th
|
135
|
+
border-width: $content-table-head-cell-border-width
|
136
|
+
color: $content-table-head-cell-color
|
137
|
+
tfoot
|
138
|
+
td,
|
139
|
+
th
|
140
|
+
border-width: $content-table-foot-cell-border-width
|
141
|
+
color: $content-table-foot-cell-color
|
142
|
+
tbody
|
143
|
+
tr
|
144
|
+
&:last-child
|
145
|
+
td,
|
146
|
+
th
|
147
|
+
border-bottom-width: 0
|
148
|
+
.tabs
|
149
|
+
li + li
|
150
|
+
margin-top: 0
|
151
|
+
// Sizes
|
152
|
+
&.is-small
|
153
|
+
font-size: $size-small
|
154
|
+
&.is-medium
|
155
|
+
font-size: $size-medium
|
156
|
+
&.is-large
|
157
|
+
font-size: $size-large
|