mere-blog-theme 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +98 -0
  4. data/_includes/google-analytics.html +8 -0
  5. data/_includes/head-scripts.html +0 -0
  6. data/_includes/head.html +13 -0
  7. data/_includes/hero.html +8 -0
  8. data/_includes/navbar.html +19 -0
  9. data/_includes/pagination.html +23 -0
  10. data/_includes/post-item.html +17 -0
  11. data/_layouts/blog.html +19 -0
  12. data/_layouts/default.html +21 -0
  13. data/_layouts/homepage.html +26 -0
  14. data/_layouts/page.html +5 -0
  15. data/_layouts/post.html +14 -0
  16. data/_sass/_layout.scss +25 -0
  17. data/_sass/_main.scss +38 -0
  18. data/_sass/syntax.scss +209 -0
  19. data/assets/css/app.scss +5 -0
  20. data/assets/js/app.js +25 -0
  21. data/node_modules/bulma/CHANGELOG.md +1254 -0
  22. data/node_modules/bulma/LICENSE +21 -0
  23. data/node_modules/bulma/README.md +124 -0
  24. data/node_modules/bulma/bulma.sass +9 -0
  25. data/node_modules/bulma/css/bulma.css +10599 -0
  26. data/node_modules/bulma/css/bulma.css.map +1 -0
  27. data/node_modules/bulma/css/bulma.min.css +1 -0
  28. data/node_modules/bulma/package.json +78 -0
  29. data/node_modules/bulma/sass/base/_all.sass +5 -0
  30. data/node_modules/bulma/sass/base/generic.sass +142 -0
  31. data/node_modules/bulma/sass/base/helpers.sass +281 -0
  32. data/node_modules/bulma/sass/base/minireset.sass +85 -0
  33. data/node_modules/bulma/sass/components/_all.sass +15 -0
  34. data/node_modules/bulma/sass/components/breadcrumb.sass +75 -0
  35. data/node_modules/bulma/sass/components/card.sass +79 -0
  36. data/node_modules/bulma/sass/components/dropdown.sass +81 -0
  37. data/node_modules/bulma/sass/components/level.sass +77 -0
  38. data/node_modules/bulma/sass/components/list.sass +39 -0
  39. data/node_modules/bulma/sass/components/media.sass +48 -0
  40. data/node_modules/bulma/sass/components/menu.sass +57 -0
  41. data/node_modules/bulma/sass/components/message.sass +87 -0
  42. data/node_modules/bulma/sass/components/modal.sass +113 -0
  43. data/node_modules/bulma/sass/components/navbar.sass +443 -0
  44. data/node_modules/bulma/sass/components/pagination.sass +149 -0
  45. data/node_modules/bulma/sass/components/panel.sass +103 -0
  46. data/node_modules/bulma/sass/components/tabs.sass +151 -0
  47. data/node_modules/bulma/sass/elements/_all.sass +15 -0
  48. data/node_modules/bulma/sass/elements/box.sass +24 -0
  49. data/node_modules/bulma/sass/elements/button.sass +305 -0
  50. data/node_modules/bulma/sass/elements/container.sass +23 -0
  51. data/node_modules/bulma/sass/elements/content.sass +155 -0
  52. data/node_modules/bulma/sass/elements/form.sass +1 -0
  53. data/node_modules/bulma/sass/elements/icon.sass +21 -0
  54. data/node_modules/bulma/sass/elements/image.sass +69 -0
  55. data/node_modules/bulma/sass/elements/notification.sass +35 -0
  56. data/node_modules/bulma/sass/elements/other.sass +39 -0
  57. data/node_modules/bulma/sass/elements/progress.sass +67 -0
  58. data/node_modules/bulma/sass/elements/table.sass +127 -0
  59. data/node_modules/bulma/sass/elements/tag.sass +121 -0
  60. data/node_modules/bulma/sass/elements/title.sass +70 -0
  61. data/node_modules/bulma/sass/form/_all.sass +8 -0
  62. data/node_modules/bulma/sass/form/checkbox-radio.sass +21 -0
  63. data/node_modules/bulma/sass/form/file.sass +180 -0
  64. data/node_modules/bulma/sass/form/input-textarea.sass +60 -0
  65. data/node_modules/bulma/sass/form/select.sass +85 -0
  66. data/node_modules/bulma/sass/form/shared.sass +55 -0
  67. data/node_modules/bulma/sass/form/tools.sass +205 -0
  68. data/node_modules/bulma/sass/grid/_all.sass +4 -0
  69. data/node_modules/bulma/sass/grid/columns.sass +504 -0
  70. data/node_modules/bulma/sass/grid/tiles.sass +34 -0
  71. data/node_modules/bulma/sass/layout/_all.sass +5 -0
  72. data/node_modules/bulma/sass/layout/footer.sass +9 -0
  73. data/node_modules/bulma/sass/layout/hero.sass +143 -0
  74. data/node_modules/bulma/sass/layout/section.sass +13 -0
  75. data/node_modules/bulma/sass/utilities/_all.sass +8 -0
  76. data/node_modules/bulma/sass/utilities/animations.sass +5 -0
  77. data/node_modules/bulma/sass/utilities/controls.sass +50 -0
  78. data/node_modules/bulma/sass/utilities/derived-variables.sass +85 -0
  79. data/node_modules/bulma/sass/utilities/functions.sass +62 -0
  80. data/node_modules/bulma/sass/utilities/initial-variables.sass +76 -0
  81. data/node_modules/bulma/sass/utilities/mixins.sass +261 -0
  82. data/package-lock.json +13 -0
  83. data/package.json +17 -0
  84. metadata +253 -0
@@ -0,0 +1,180 @@
1
+ $file-border-color: $border !default
2
+ $file-radius: $radius !default
3
+
4
+ $file-cta-background-color: $white-ter !default
5
+ $file-cta-color: $grey-dark !default
6
+ $file-cta-hover-color: $grey-darker !default
7
+ $file-cta-active-color: $grey-darker !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
15
+ @extend %unselectable
16
+ align-items: stretch
17
+ display: flex
18
+ justify-content: flex-start
19
+ position: relative
20
+ // Colors
21
+ @each $name, $pair in $colors
22
+ $color: nth($pair, 1)
23
+ $color-invert: nth($pair, 2)
24
+ &.is-#{$name}
25
+ .file-cta
26
+ background-color: $color
27
+ border-color: transparent
28
+ color: $color-invert
29
+ &:hover,
30
+ &.is-hovered
31
+ .file-cta
32
+ background-color: darken($color, 2.5%)
33
+ border-color: transparent
34
+ color: $color-invert
35
+ &:focus,
36
+ &.is-focused
37
+ .file-cta
38
+ border-color: transparent
39
+ box-shadow: 0 0 0.5em rgba($color, 0.25)
40
+ color: $color-invert
41
+ &:active,
42
+ &.is-active
43
+ .file-cta
44
+ background-color: darken($color, 5%)
45
+ border-color: transparent
46
+ color: $color-invert
47
+ // Sizes
48
+ &.is-small
49
+ font-size: $size-small
50
+ &.is-medium
51
+ font-size: $size-medium
52
+ .file-icon
53
+ .fa
54
+ font-size: 21px
55
+ &.is-large
56
+ font-size: $size-large
57
+ .file-icon
58
+ .fa
59
+ font-size: 28px
60
+ // Modifiers
61
+ &.has-name
62
+ .file-cta
63
+ border-bottom-right-radius: 0
64
+ border-top-right-radius: 0
65
+ .file-name
66
+ border-bottom-left-radius: 0
67
+ border-top-left-radius: 0
68
+ &.is-empty
69
+ .file-cta
70
+ border-radius: $file-radius
71
+ .file-name
72
+ display: none
73
+ &.is-boxed
74
+ .file-label
75
+ flex-direction: column
76
+ .file-cta
77
+ flex-direction: column
78
+ height: auto
79
+ padding: 1em 3em
80
+ .file-name
81
+ border-width: 0 1px 1px
82
+ .file-icon
83
+ height: 1.5em
84
+ width: 1.5em
85
+ .fa
86
+ font-size: 21px
87
+ &.is-small
88
+ .file-icon .fa
89
+ font-size: 14px
90
+ &.is-medium
91
+ .file-icon .fa
92
+ font-size: 28px
93
+ &.is-large
94
+ .file-icon .fa
95
+ font-size: 35px
96
+ &.has-name
97
+ .file-cta
98
+ border-radius: $file-radius $file-radius 0 0
99
+ .file-name
100
+ border-radius: 0 0 $file-radius $file-radius
101
+ border-width: 0 1px 1px
102
+ &.is-centered
103
+ justify-content: center
104
+ &.is-fullwidth
105
+ .file-label
106
+ width: 100%
107
+ .file-name
108
+ flex-grow: 1
109
+ max-width: none
110
+ &.is-right
111
+ justify-content: flex-end
112
+ .file-cta
113
+ border-radius: 0 $file-radius $file-radius 0
114
+ .file-name
115
+ border-radius: $file-radius 0 0 $file-radius
116
+ border-width: 1px 0 1px 1px
117
+ order: -1
118
+
119
+ .file-label
120
+ align-items: stretch
121
+ display: flex
122
+ cursor: pointer
123
+ justify-content: flex-start
124
+ overflow: hidden
125
+ position: relative
126
+ &:hover
127
+ .file-cta
128
+ background-color: darken($file-cta-background-color, 2.5%)
129
+ color: $file-cta-hover-color
130
+ .file-name
131
+ border-color: darken($file-name-border-color, 2.5%)
132
+ &:active
133
+ .file-cta
134
+ background-color: darken($file-cta-background-color, 5%)
135
+ color: $file-cta-active-color
136
+ .file-name
137
+ border-color: darken($file-name-border-color, 5%)
138
+
139
+ .file-input
140
+ height: 100%
141
+ left: 0
142
+ opacity: 0
143
+ outline: none
144
+ position: absolute
145
+ top: 0
146
+ width: 100%
147
+
148
+ .file-cta,
149
+ .file-name
150
+ @extend %control
151
+ border-color: $file-border-color
152
+ border-radius: $file-radius
153
+ font-size: 1em
154
+ padding-left: 1em
155
+ padding-right: 1em
156
+ white-space: nowrap
157
+
158
+ .file-cta
159
+ background-color: $file-cta-background-color
160
+ color: $file-cta-color
161
+
162
+ .file-name
163
+ border-color: $file-name-border-color
164
+ border-style: $file-name-border-style
165
+ border-width: $file-name-border-width
166
+ display: block
167
+ max-width: $file-name-max-width
168
+ overflow: hidden
169
+ text-align: left
170
+ text-overflow: ellipsis
171
+
172
+ .file-icon
173
+ align-items: center
174
+ display: flex
175
+ height: 1em
176
+ justify-content: center
177
+ margin-right: 0.5em
178
+ width: 1em
179
+ .fa
180
+ font-size: 14px
@@ -0,0 +1,60 @@
1
+ %input-textarea
2
+ @extend %input
3
+ box-shadow: $input-shadow
4
+ max-width: 100%
5
+ width: 100%
6
+ &[readonly]
7
+ box-shadow: none
8
+ // Colors
9
+ @each $name, $pair in $colors
10
+ $color: nth($pair, 1)
11
+ &.is-#{$name}
12
+ border-color: $color
13
+ &:focus,
14
+ &.is-focused,
15
+ &:active,
16
+ &.is-active
17
+ box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
18
+ // Sizes
19
+ &.is-small
20
+ +control-small
21
+ &.is-medium
22
+ +control-medium
23
+ &.is-large
24
+ +control-large
25
+ // Modifiers
26
+ &.is-fullwidth
27
+ display: block
28
+ width: 100%
29
+ &.is-inline
30
+ display: inline
31
+ width: auto
32
+
33
+ .input
34
+ @extend %input-textarea
35
+ &.is-rounded
36
+ border-radius: $radius-rounded
37
+ padding-left: 1em
38
+ padding-right: 1em
39
+ &.is-static
40
+ background-color: transparent
41
+ border-color: transparent
42
+ box-shadow: none
43
+ padding-left: 0
44
+ padding-right: 0
45
+
46
+ .textarea
47
+ @extend %input-textarea
48
+ display: block
49
+ max-width: 100%
50
+ min-width: 100%
51
+ padding: 0.625em
52
+ resize: vertical
53
+ &:not([rows])
54
+ max-height: 600px
55
+ min-height: 120px
56
+ &[rows]
57
+ height: initial
58
+ // Modifiers
59
+ &.has-fixed-size
60
+ resize: none
@@ -0,0 +1,85 @@
1
+ .select
2
+ display: inline-block
3
+ max-width: 100%
4
+ position: relative
5
+ vertical-align: top
6
+ &:not(.is-multiple)
7
+ height: $input-height
8
+ &:not(.is-multiple):not(.is-loading)
9
+ &::after
10
+ @extend %arrow
11
+ border-color: $input-arrow
12
+ right: 1.125em
13
+ z-index: 4
14
+ &.is-rounded
15
+ select
16
+ border-radius: $radius-rounded
17
+ padding-left: 1em
18
+ select
19
+ @extend %input
20
+ cursor: pointer
21
+ display: block
22
+ font-size: 1em
23
+ max-width: 100%
24
+ outline: none
25
+ &::-ms-expand
26
+ display: none
27
+ &[disabled]:hover,
28
+ fieldset[disabled] &:hover
29
+ border-color: $input-disabled-border-color
30
+ &:not([multiple])
31
+ padding-right: 2.5em
32
+ &[multiple]
33
+ height: auto
34
+ padding: 0
35
+ option
36
+ padding: 0.5em 1em
37
+ // States
38
+ &:not(.is-multiple):not(.is-loading):hover
39
+ &::after
40
+ border-color: $input-hover-color
41
+ // Colors
42
+ @each $name, $pair in $colors
43
+ $color: nth($pair, 1)
44
+ &.is-#{$name}
45
+ &:not(:hover)::after
46
+ border-color: $color
47
+ select
48
+ border-color: $color
49
+ &:hover,
50
+ &.is-hovered
51
+ border-color: darken($color, 5%)
52
+ &:focus,
53
+ &.is-focused,
54
+ &:active,
55
+ &.is-active
56
+ box-shadow: $input-focus-box-shadow-size rgba($color, 0.25)
57
+ // Sizes
58
+ &.is-small
59
+ +control-small
60
+ &.is-medium
61
+ +control-medium
62
+ &.is-large
63
+ +control-large
64
+ // Modifiers
65
+ &.is-disabled
66
+ &::after
67
+ border-color: $input-disabled-color
68
+ &.is-fullwidth
69
+ width: 100%
70
+ select
71
+ width: 100%
72
+ &.is-loading
73
+ &::after
74
+ @extend %loader
75
+ margin-top: 0
76
+ position: absolute
77
+ right: 0.625em
78
+ top: 0.625em
79
+ transform: none
80
+ &.is-small:after
81
+ font-size: $size-small
82
+ &.is-medium:after
83
+ font-size: $size-medium
84
+ &.is-large:after
85
+ font-size: $size-large
@@ -0,0 +1,55 @@
1
+ $input-color: $grey-darker !default
2
+ $input-background-color: $white !default
3
+ $input-border-color: $grey-lighter !default
4
+ $input-height: $control-height !default
5
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1) !default
6
+ $input-placeholder-color: rgba($input-color, 0.3) !default
7
+
8
+ $input-hover-color: $grey-darker !default
9
+ $input-hover-border-color: $grey-light !default
10
+
11
+ $input-focus-color: $grey-darker !default
12
+ $input-focus-border-color: $link !default
13
+ $input-focus-box-shadow-size: 0 0 0 0.125em !default
14
+ $input-focus-box-shadow-color: rgba($link, 0.25) !default
15
+
16
+ $input-disabled-color: $text-light !default
17
+ $input-disabled-background-color: $background !default
18
+ $input-disabled-border-color: $background !default
19
+ $input-disabled-placeholder-color: rgba($input-disabled-color, 0.3) !default
20
+
21
+ $input-arrow: $link !default
22
+
23
+ $input-icon-color: $grey-lighter !default
24
+ $input-icon-active-color: $grey !default
25
+
26
+ $input-radius: $radius !default
27
+
28
+ =input
29
+ @extend %control
30
+ background-color: $input-background-color
31
+ border-color: $input-border-color
32
+ border-radius: $input-radius
33
+ color: $input-color
34
+ +placeholder
35
+ color: $input-placeholder-color
36
+ &:hover,
37
+ &.is-hovered
38
+ border-color: $input-hover-border-color
39
+ &:focus,
40
+ &.is-focused,
41
+ &:active,
42
+ &.is-active
43
+ border-color: $input-focus-border-color
44
+ box-shadow: $input-focus-box-shadow-size $input-focus-box-shadow-color
45
+ &[disabled],
46
+ fieldset[disabled] &
47
+ background-color: $input-disabled-background-color
48
+ border-color: $input-disabled-border-color
49
+ box-shadow: none
50
+ color: $input-disabled-color
51
+ +placeholder
52
+ color: $input-disabled-placeholder-color
53
+
54
+ %input
55
+ +input
@@ -0,0 +1,205 @@
1
+ $label-color: $grey-darker !default
2
+ $label-weight: $weight-bold !default
3
+
4
+ $help-size: $size-small !default
5
+
6
+ .label
7
+ color: $label-color
8
+ display: block
9
+ font-size: $size-normal
10
+ font-weight: $label-weight
11
+ &:not(:last-child)
12
+ margin-bottom: 0.5em
13
+ // Sizes
14
+ &.is-small
15
+ font-size: $size-small
16
+ &.is-medium
17
+ font-size: $size-medium
18
+ &.is-large
19
+ font-size: $size-large
20
+
21
+ .help
22
+ display: block
23
+ font-size: $help-size
24
+ margin-top: 0.25rem
25
+ @each $name, $pair in $colors
26
+ $color: nth($pair, 1)
27
+ &.is-#{$name}
28
+ color: $color
29
+
30
+ // Containers
31
+
32
+ .field
33
+ &:not(:last-child)
34
+ margin-bottom: 0.75rem
35
+ // Modifiers
36
+ &.has-addons
37
+ display: flex
38
+ justify-content: flex-start
39
+ .control
40
+ &:not(:last-child)
41
+ margin-right: -1px
42
+ &:not(:first-child):not(:last-child)
43
+ .button,
44
+ .input,
45
+ .select select
46
+ border-radius: 0
47
+ &:first-child:not(:only-child)
48
+ .button,
49
+ .input,
50
+ .select select
51
+ border-bottom-right-radius: 0
52
+ border-top-right-radius: 0
53
+ &:last-child:not(:only-child)
54
+ .button,
55
+ .input,
56
+ .select select
57
+ border-bottom-left-radius: 0
58
+ border-top-left-radius: 0
59
+ .button,
60
+ .input,
61
+ .select select
62
+ &:not([disabled])
63
+ &:hover,
64
+ &.is-hovered
65
+ z-index: 2
66
+ &:focus,
67
+ &.is-focused,
68
+ &:active,
69
+ &.is-active
70
+ z-index: 3
71
+ &:hover
72
+ z-index: 4
73
+ &.is-expanded
74
+ flex-grow: 1
75
+ flex-shrink: 1
76
+ &.has-addons-centered
77
+ justify-content: center
78
+ &.has-addons-right
79
+ justify-content: flex-end
80
+ &.has-addons-fullwidth
81
+ .control
82
+ flex-grow: 1
83
+ flex-shrink: 0
84
+ &.is-grouped
85
+ display: flex
86
+ justify-content: flex-start
87
+ & > .control
88
+ flex-shrink: 0
89
+ &:not(:last-child)
90
+ margin-bottom: 0
91
+ margin-right: 0.75rem
92
+ &.is-expanded
93
+ flex-grow: 1
94
+ flex-shrink: 1
95
+ &.is-grouped-centered
96
+ justify-content: center
97
+ &.is-grouped-right
98
+ justify-content: flex-end
99
+ &.is-grouped-multiline
100
+ flex-wrap: wrap
101
+ & > .control
102
+ &:last-child,
103
+ &:not(:last-child)
104
+ margin-bottom: 0.75rem
105
+ &:last-child
106
+ margin-bottom: -0.75rem
107
+ &:not(:last-child)
108
+ margin-bottom: 0
109
+ &.is-horizontal
110
+ +tablet
111
+ display: flex
112
+
113
+ .field-label
114
+ .label
115
+ font-size: inherit
116
+ +mobile
117
+ margin-bottom: 0.5rem
118
+ +tablet
119
+ flex-basis: 0
120
+ flex-grow: 1
121
+ flex-shrink: 0
122
+ margin-right: 1.5rem
123
+ text-align: right
124
+ &.is-small
125
+ font-size: $size-small
126
+ padding-top: 0.375em
127
+ &.is-normal
128
+ padding-top: 0.375em
129
+ &.is-medium
130
+ font-size: $size-medium
131
+ padding-top: 0.375em
132
+ &.is-large
133
+ font-size: $size-large
134
+ padding-top: 0.375em
135
+
136
+ .field-body
137
+ .field .field
138
+ margin-bottom: 0
139
+ +tablet
140
+ display: flex
141
+ flex-basis: 0
142
+ flex-grow: 5
143
+ flex-shrink: 1
144
+ .field
145
+ margin-bottom: 0
146
+ & > .field
147
+ flex-shrink: 1
148
+ &:not(.is-narrow)
149
+ flex-grow: 1
150
+ &:not(:last-child)
151
+ margin-right: 0.75rem
152
+
153
+ .control
154
+ box-sizing: border-box
155
+ clear: both
156
+ font-size: $size-normal
157
+ position: relative
158
+ text-align: left
159
+ // Modifiers
160
+ &.has-icons-left,
161
+ &.has-icons-right
162
+ .input,
163
+ .select
164
+ &:focus
165
+ & ~ .icon
166
+ color: $input-icon-active-color
167
+ &.is-small ~ .icon
168
+ font-size: $size-small
169
+ &.is-medium ~ .icon
170
+ font-size: $size-medium
171
+ &.is-large ~ .icon
172
+ font-size: $size-large
173
+ .icon
174
+ color: $input-icon-color
175
+ height: $input-height
176
+ pointer-events: none
177
+ position: absolute
178
+ top: 0
179
+ width: $input-height
180
+ z-index: 4
181
+ &.has-icons-left
182
+ .input,
183
+ .select select
184
+ padding-left: $input-height
185
+ .icon.is-left
186
+ left: 0
187
+ &.has-icons-right
188
+ .input,
189
+ .select select
190
+ padding-right: $input-height
191
+ .icon.is-right
192
+ right: 0
193
+ &.is-loading
194
+ &::after
195
+ @extend %loader
196
+ position: absolute !important
197
+ right: 0.625em
198
+ top: 0.625em
199
+ z-index: 4
200
+ &.is-small:after
201
+ font-size: $size-small
202
+ &.is-medium:after
203
+ font-size: $size-medium
204
+ &.is-large:after
205
+ font-size: $size-large
@@ -0,0 +1,4 @@
1
+ @charset "utf-8"
2
+
3
+ @import "columns.sass"
4
+ @import "tiles.sass"