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