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,70 @@
1
+ $title-color: $text-strong !default
2
+ $title-family: false !default
3
+ $title-size: $size-3 !default
4
+ $title-weight: $weight-semibold !default
5
+ $title-line-height: 1.125 !default
6
+ $title-strong-color: inherit !default
7
+ $title-strong-weight: inherit !default
8
+ $title-sub-size: 0.75em !default
9
+ $title-sup-size: 0.75em !default
10
+
11
+ $subtitle-color: $text !default
12
+ $subtitle-family: false !default
13
+ $subtitle-size: $size-5 !default
14
+ $subtitle-weight: $weight-normal !default
15
+ $subtitle-line-height: 1.25 !default
16
+ $subtitle-strong-color: $text-strong !default
17
+ $subtitle-strong-weight: $weight-semibold !default
18
+ $subtitle-negative-margin: -1.25rem !default
19
+
20
+ .title,
21
+ .subtitle
22
+ @extend %block
23
+ word-break: break-word
24
+ em,
25
+ span
26
+ font-weight: inherit
27
+ sub
28
+ font-size: $title-sub-size
29
+ sup
30
+ font-size: $title-sup-size
31
+ .tag
32
+ vertical-align: middle
33
+
34
+ .title
35
+ color: $title-color
36
+ @if $title-family
37
+ font-family: $title-family
38
+ font-size: $title-size
39
+ font-weight: $title-weight
40
+ line-height: $title-line-height
41
+ strong
42
+ color: $title-strong-color
43
+ font-weight: $title-strong-weight
44
+ & + .highlight
45
+ margin-top: -0.75rem
46
+ &:not(.is-spaced) + .subtitle
47
+ margin-top: $subtitle-negative-margin
48
+ // Sizes
49
+ @each $size in $sizes
50
+ $i: index($sizes, $size)
51
+ &.is-#{$i}
52
+ font-size: $size
53
+
54
+ .subtitle
55
+ color: $subtitle-color
56
+ @if $subtitle-family
57
+ font-family: $subtitle-family
58
+ font-size: $subtitle-size
59
+ font-weight: $subtitle-weight
60
+ line-height: $subtitle-line-height
61
+ strong
62
+ color: $subtitle-strong-color
63
+ font-weight: $subtitle-strong-weight
64
+ &:not(.is-spaced) + .title
65
+ margin-top: $subtitle-negative-margin
66
+ // Sizes
67
+ @each $size in $sizes
68
+ $i: index($sizes, $size)
69
+ &.is-#{$i}
70
+ font-size: $size
@@ -0,0 +1,9 @@
1
+ /* Bulma Form */
2
+ @charset "utf-8"
3
+
4
+ @import "shared.sass"
5
+ @import "input-textarea.sass"
6
+ @import "checkbox-radio.sass"
7
+ @import "select.sass"
8
+ @import "file.sass"
9
+ @import "tools.sass"
@@ -0,0 +1,22 @@
1
+ %checkbox-radio
2
+ cursor: pointer
3
+ display: inline-block
4
+ line-height: 1.25
5
+ position: relative
6
+ input
7
+ cursor: pointer
8
+ &:hover
9
+ color: $input-hover-color
10
+ &[disabled],
11
+ fieldset[disabled] &,
12
+ input[disabled]
13
+ color: $input-disabled-color
14
+ cursor: not-allowed
15
+
16
+ .checkbox
17
+ @extend %checkbox-radio
18
+
19
+ .radio
20
+ @extend %checkbox-radio
21
+ & + .radio
22
+ +ltr-property("margin", 0.5em, false)
@@ -0,0 +1,182 @@
1
+ $file-border-color: $border !default
2
+ $file-radius: $radius !default
3
+
4
+ $file-cta-background-color: $scheme-main-ter !default
5
+ $file-cta-color: $text !default
6
+ $file-cta-hover-color: $text-strong !default
7
+ $file-cta-active-color: $text-strong !default
8
+
9
+ $file-name-border-color: $border !default
10
+ $file-name-border-style: solid !default
11
+ $file-name-border-width: 1px 1px 1px 0 !default
12
+ $file-name-max-width: 16em !default
13
+
14
+ $file-colors: $form-colors !default
15
+
16
+ .file
17
+ @extend %unselectable
18
+ align-items: stretch
19
+ display: flex
20
+ justify-content: flex-start
21
+ position: relative
22
+ // Colors
23
+ @each $name, $pair in $file-colors
24
+ $color: nth($pair, 1)
25
+ $color-invert: nth($pair, 2)
26
+ &.is-#{$name}
27
+ .file-cta
28
+ background-color: $color
29
+ border-color: transparent
30
+ color: $color-invert
31
+ &:hover,
32
+ &.is-hovered
33
+ .file-cta
34
+ background-color: bulmaDarken($color, 2.5%)
35
+ border-color: transparent
36
+ color: $color-invert
37
+ &:focus,
38
+ &.is-focused
39
+ .file-cta
40
+ border-color: transparent
41
+ box-shadow: 0 0 0.5em bulmaRgba($color, 0.25)
42
+ color: $color-invert
43
+ &:active,
44
+ &.is-active
45
+ .file-cta
46
+ background-color: bulmaDarken($color, 5%)
47
+ border-color: transparent
48
+ color: $color-invert
49
+ // Sizes
50
+ &.is-small
51
+ font-size: $size-small
52
+ &.is-medium
53
+ font-size: $size-medium
54
+ .file-icon
55
+ .fa
56
+ font-size: 21px
57
+ &.is-large
58
+ font-size: $size-large
59
+ .file-icon
60
+ .fa
61
+ font-size: 28px
62
+ // Modifiers
63
+ &.has-name
64
+ .file-cta
65
+ border-bottom-right-radius: 0
66
+ border-top-right-radius: 0
67
+ .file-name
68
+ border-bottom-left-radius: 0
69
+ border-top-left-radius: 0
70
+ &.is-empty
71
+ .file-cta
72
+ border-radius: $file-radius
73
+ .file-name
74
+ display: none
75
+ &.is-boxed
76
+ .file-label
77
+ flex-direction: column
78
+ .file-cta
79
+ flex-direction: column
80
+ height: auto
81
+ padding: 1em 3em
82
+ .file-name
83
+ border-width: 0 1px 1px
84
+ .file-icon
85
+ height: 1.5em
86
+ width: 1.5em
87
+ .fa
88
+ font-size: 21px
89
+ &.is-small
90
+ .file-icon .fa
91
+ font-size: 14px
92
+ &.is-medium
93
+ .file-icon .fa
94
+ font-size: 28px
95
+ &.is-large
96
+ .file-icon .fa
97
+ font-size: 35px
98
+ &.has-name
99
+ .file-cta
100
+ border-radius: $file-radius $file-radius 0 0
101
+ .file-name
102
+ border-radius: 0 0 $file-radius $file-radius
103
+ border-width: 0 1px 1px
104
+ &.is-centered
105
+ justify-content: center
106
+ &.is-fullwidth
107
+ .file-label
108
+ width: 100%
109
+ .file-name
110
+ flex-grow: 1
111
+ max-width: none
112
+ &.is-right
113
+ justify-content: flex-end
114
+ .file-cta
115
+ border-radius: 0 $file-radius $file-radius 0
116
+ .file-name
117
+ border-radius: $file-radius 0 0 $file-radius
118
+ border-width: 1px 0 1px 1px
119
+ order: -1
120
+
121
+ .file-label
122
+ align-items: stretch
123
+ display: flex
124
+ cursor: pointer
125
+ justify-content: flex-start
126
+ overflow: hidden
127
+ position: relative
128
+ &:hover
129
+ .file-cta
130
+ background-color: bulmaDarken($file-cta-background-color, 2.5%)
131
+ color: $file-cta-hover-color
132
+ .file-name
133
+ border-color: bulmaDarken($file-name-border-color, 2.5%)
134
+ &:active
135
+ .file-cta
136
+ background-color: bulmaDarken($file-cta-background-color, 5%)
137
+ color: $file-cta-active-color
138
+ .file-name
139
+ border-color: bulmaDarken($file-name-border-color, 5%)
140
+
141
+ .file-input
142
+ height: 100%
143
+ left: 0
144
+ opacity: 0
145
+ outline: none
146
+ position: absolute
147
+ top: 0
148
+ width: 100%
149
+
150
+ .file-cta,
151
+ .file-name
152
+ @extend %control
153
+ border-color: $file-border-color
154
+ border-radius: $file-radius
155
+ font-size: 1em
156
+ padding-left: 1em
157
+ padding-right: 1em
158
+ white-space: nowrap
159
+
160
+ .file-cta
161
+ background-color: $file-cta-background-color
162
+ color: $file-cta-color
163
+
164
+ .file-name
165
+ border-color: $file-name-border-color
166
+ border-style: $file-name-border-style
167
+ border-width: $file-name-border-width
168
+ display: block
169
+ max-width: $file-name-max-width
170
+ overflow: hidden
171
+ text-align: inherit
172
+ text-overflow: ellipsis
173
+
174
+ .file-icon
175
+ align-items: center
176
+ display: flex
177
+ height: 1em
178
+ justify-content: center
179
+ +ltr-property("margin", 0.5em)
180
+ width: 1em
181
+ .fa
182
+ font-size: 14px
@@ -0,0 +1,66 @@
1
+ $textarea-padding: $control-padding-horizontal !default
2
+ $textarea-max-height: 40em !default
3
+ $textarea-min-height: 8em !default
4
+
5
+ $textarea-colors: $form-colors !default
6
+
7
+ %input-textarea
8
+ @extend %input
9
+ box-shadow: $input-shadow
10
+ max-width: 100%
11
+ width: 100%
12
+ &[readonly]
13
+ box-shadow: none
14
+ // Colors
15
+ @each $name, $pair in $textarea-colors
16
+ $color: nth($pair, 1)
17
+ &.is-#{$name}
18
+ border-color: $color
19
+ &:focus,
20
+ &.is-focused,
21
+ &:active,
22
+ &.is-active
23
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
24
+ // Sizes
25
+ &.is-small
26
+ +control-small
27
+ &.is-medium
28
+ +control-medium
29
+ &.is-large
30
+ +control-large
31
+ // Modifiers
32
+ &.is-fullwidth
33
+ display: block
34
+ width: 100%
35
+ &.is-inline
36
+ display: inline
37
+ width: auto
38
+
39
+ .input
40
+ @extend %input-textarea
41
+ &.is-rounded
42
+ border-radius: $radius-rounded
43
+ padding-left: calc(#{$control-padding-horizontal} + 0.375em)
44
+ padding-right: calc(#{$control-padding-horizontal} + 0.375em)
45
+ &.is-static
46
+ background-color: transparent
47
+ border-color: transparent
48
+ box-shadow: none
49
+ padding-left: 0
50
+ padding-right: 0
51
+
52
+ .textarea
53
+ @extend %input-textarea
54
+ display: block
55
+ max-width: 100%
56
+ min-width: 100%
57
+ padding: $textarea-padding
58
+ resize: vertical
59
+ &:not([rows])
60
+ max-height: $textarea-max-height
61
+ min-height: $textarea-min-height
62
+ &[rows]
63
+ height: initial
64
+ // Modifiers
65
+ &.has-fixed-size
66
+ resize: none
@@ -0,0 +1,87 @@
1
+ $select-colors: $form-colors !default
2
+
3
+ .select
4
+ display: inline-block
5
+ max-width: 100%
6
+ position: relative
7
+ vertical-align: top
8
+ &:not(.is-multiple)
9
+ height: $input-height
10
+ &:not(.is-multiple):not(.is-loading)
11
+ &::after
12
+ @extend %arrow
13
+ border-color: $input-arrow
14
+ +ltr-position(1.125em)
15
+ z-index: 4
16
+ &.is-rounded
17
+ select
18
+ border-radius: $radius-rounded
19
+ +ltr-property("padding", 1em, false)
20
+ select
21
+ @extend %input
22
+ cursor: pointer
23
+ display: block
24
+ font-size: 1em
25
+ max-width: 100%
26
+ outline: none
27
+ &::-ms-expand
28
+ display: none
29
+ &[disabled]:hover,
30
+ fieldset[disabled] &:hover
31
+ border-color: $input-disabled-border-color
32
+ &:not([multiple])
33
+ +ltr-property("padding", 2.5em)
34
+ &[multiple]
35
+ height: auto
36
+ padding: 0
37
+ option
38
+ padding: 0.5em 1em
39
+ // States
40
+ &:not(.is-multiple):not(.is-loading):hover
41
+ &::after
42
+ border-color: $input-hover-color
43
+ // Colors
44
+ @each $name, $pair in $select-colors
45
+ $color: nth($pair, 1)
46
+ &.is-#{$name}
47
+ &:not(:hover)::after
48
+ border-color: $color
49
+ select
50
+ border-color: $color
51
+ &:hover,
52
+ &.is-hovered
53
+ border-color: bulmaDarken($color, 5%)
54
+ &:focus,
55
+ &.is-focused,
56
+ &:active,
57
+ &.is-active
58
+ box-shadow: $input-focus-box-shadow-size bulmaRgba($color, 0.25)
59
+ // Sizes
60
+ &.is-small
61
+ +control-small
62
+ &.is-medium
63
+ +control-medium
64
+ &.is-large
65
+ +control-large
66
+ // Modifiers
67
+ &.is-disabled
68
+ &::after
69
+ border-color: $input-disabled-color
70
+ &.is-fullwidth
71
+ width: 100%
72
+ select
73
+ width: 100%
74
+ &.is-loading
75
+ &::after
76
+ @extend %loader
77
+ margin-top: 0
78
+ position: absolute
79
+ +ltr-position(0.625em)
80
+ top: 0.625em
81
+ transform: none
82
+ &.is-small:after
83
+ font-size: $size-small
84
+ &.is-medium:after
85
+ font-size: $size-medium
86
+ &.is-large:after
87
+ font-size: $size-large
@@ -0,0 +1,57 @@
1
+ $form-colors: $colors !default
2
+
3
+ $input-color: $text-strong !default
4
+ $input-background-color: $scheme-main !default
5
+ $input-border-color: $border !default
6
+ $input-height: $control-height !default
7
+ $input-shadow: inset 0 0.0625em 0.125em rgba($scheme-invert, 0.05) !default
8
+ $input-placeholder-color: bulmaRgba($input-color, 0.3) !default
9
+
10
+ $input-hover-color: $text-strong !default
11
+ $input-hover-border-color: $border-hover !default
12
+
13
+ $input-focus-color: $text-strong !default
14
+ $input-focus-border-color: $link !default
15
+ $input-focus-box-shadow-size: 0 0 0 0.125em !default
16
+ $input-focus-box-shadow-color: bulmaRgba($link, 0.25) !default
17
+
18
+ $input-disabled-color: $text-light !default
19
+ $input-disabled-background-color: $background !default
20
+ $input-disabled-border-color: $background !default
21
+ $input-disabled-placeholder-color: bulmaRgba($input-disabled-color, 0.3) !default
22
+
23
+ $input-arrow: $link !default
24
+
25
+ $input-icon-color: $border !default
26
+ $input-icon-active-color: $text !default
27
+
28
+ $input-radius: $radius !default
29
+
30
+ =input
31
+ @extend %control
32
+ background-color: $input-background-color
33
+ border-color: $input-border-color
34
+ border-radius: $input-radius
35
+ color: $input-color
36
+ +placeholder
37
+ color: $input-placeholder-color
38
+ &:hover,
39
+ &.is-hovered
40
+ border-color: $input-hover-border-color
41
+ &:focus,
42
+ &.is-focused,
43
+ &:active,
44
+ &.is-active
45
+ border-color: $input-focus-border-color
46
+ box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color
47
+ &[disabled],
48
+ fieldset[disabled] &
49
+ background-color: $input-disabled-background-color
50
+ border-color: $input-disabled-border-color
51
+ box-shadow: none
52
+ color: $input-disabled-color
53
+ +placeholder
54
+ color: $input-disabled-placeholder-color
55
+
56
+ %input
57
+ +input