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,81 @@
1
+ $dropdown-menu-min-width: 12rem !default
2
+
3
+ $dropdown-content-background-color: $white !default
4
+ $dropdown-content-arrow: $link !default
5
+ $dropdown-content-offset: 4px !default
6
+ $dropdown-content-padding-bottom: 0.5rem !default
7
+ $dropdown-content-padding-top: 0.5rem !default
8
+ $dropdown-content-radius: $radius !default
9
+ $dropdown-content-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
10
+ $dropdown-content-z: 20 !default
11
+
12
+ $dropdown-item-color: $grey-dark !default
13
+ $dropdown-item-hover-color: $black !default
14
+ $dropdown-item-hover-background-color: $background !default
15
+ $dropdown-item-active-color: $link-invert !default
16
+ $dropdown-item-active-background-color: $link !default
17
+
18
+ $dropdown-divider-background-color: $border !default
19
+
20
+ .dropdown
21
+ display: inline-flex
22
+ position: relative
23
+ vertical-align: top
24
+ &.is-active,
25
+ &.is-hoverable:hover
26
+ .dropdown-menu
27
+ display: block
28
+ &.is-right
29
+ .dropdown-menu
30
+ left: auto
31
+ right: 0
32
+ &.is-up
33
+ .dropdown-menu
34
+ bottom: 100%
35
+ padding-bottom: $dropdown-content-offset
36
+ padding-top: initial
37
+ top: auto
38
+
39
+ .dropdown-menu
40
+ display: none
41
+ left: 0
42
+ min-width: $dropdown-menu-min-width
43
+ padding-top: $dropdown-content-offset
44
+ position: absolute
45
+ top: 100%
46
+ z-index: $dropdown-content-z
47
+
48
+ .dropdown-content
49
+ background-color: $dropdown-content-background-color
50
+ border-radius: $dropdown-content-radius
51
+ box-shadow: $dropdown-content-shadow
52
+ padding-bottom: $dropdown-content-padding-bottom
53
+ padding-top: $dropdown-content-padding-top
54
+
55
+ .dropdown-item
56
+ color: $dropdown-item-color
57
+ display: block
58
+ font-size: 0.875rem
59
+ line-height: 1.5
60
+ padding: 0.375rem 1rem
61
+ position: relative
62
+
63
+ a.dropdown-item,
64
+ button.dropdown-item
65
+ padding-right: 3rem
66
+ text-align: left
67
+ white-space: nowrap
68
+ width: 100%
69
+ &:hover
70
+ background-color: $dropdown-item-hover-background-color
71
+ color: $dropdown-item-hover-color
72
+ &.is-active
73
+ background-color: $dropdown-item-active-background-color
74
+ color: $dropdown-item-active-color
75
+
76
+ .dropdown-divider
77
+ background-color: $dropdown-divider-background-color
78
+ border: none
79
+ display: block
80
+ height: 1px
81
+ margin: 0.5rem 0
@@ -0,0 +1,77 @@
1
+ $level-item-spacing: ($block-spacing / 2) !default
2
+
3
+ .level
4
+ @extend %block
5
+ align-items: center
6
+ justify-content: space-between
7
+ code
8
+ border-radius: $radius
9
+ img
10
+ display: inline-block
11
+ vertical-align: top
12
+ // Modifiers
13
+ &.is-mobile
14
+ display: flex
15
+ .level-left,
16
+ .level-right
17
+ display: flex
18
+ .level-left + .level-right
19
+ margin-top: 0
20
+ .level-item
21
+ &:not(:last-child)
22
+ margin-bottom: 0
23
+ margin-right: $level-item-spacing
24
+ &:not(.is-narrow)
25
+ flex-grow: 1
26
+ // Responsiveness
27
+ +tablet
28
+ display: flex
29
+ & > .level-item
30
+ &:not(.is-narrow)
31
+ flex-grow: 1
32
+
33
+ .level-item
34
+ align-items: center
35
+ display: flex
36
+ flex-basis: auto
37
+ flex-grow: 0
38
+ flex-shrink: 0
39
+ justify-content: center
40
+ .title,
41
+ .subtitle
42
+ margin-bottom: 0
43
+ // Responsiveness
44
+ +mobile
45
+ &:not(:last-child)
46
+ margin-bottom: $level-item-spacing
47
+
48
+ .level-left,
49
+ .level-right
50
+ flex-basis: auto
51
+ flex-grow: 0
52
+ flex-shrink: 0
53
+ .level-item
54
+ // Modifiers
55
+ &.is-flexible
56
+ flex-grow: 1
57
+ // Responsiveness
58
+ +tablet
59
+ &:not(:last-child)
60
+ margin-right: $level-item-spacing
61
+
62
+ .level-left
63
+ align-items: center
64
+ justify-content: flex-start
65
+ // Responsiveness
66
+ +mobile
67
+ & + .level-right
68
+ margin-top: 1.5rem
69
+ +tablet
70
+ display: flex
71
+
72
+ .level-right
73
+ align-items: center
74
+ justify-content: flex-end
75
+ // Responsiveness
76
+ +tablet
77
+ display: flex
@@ -0,0 +1,39 @@
1
+ $list-background-color: $white !default
2
+ $list-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1) !default
3
+ $list-radius: $radius !default
4
+
5
+ $list-item-border: 1px solid $border !default
6
+ $list-item-color: $text !default
7
+ $list-item-active-background-color: $link !default
8
+ $list-item-active-color: $link-invert !default
9
+ $list-item-hover-background-color: $background !default
10
+
11
+ .list
12
+ @extend %block
13
+ background-color: $list-background-color
14
+ border-radius: $list-radius
15
+ box-shadow: $list-shadow
16
+ // &.is-hoverable > .list-item:hover:not(.is-active)
17
+ // background-color: $list-item-hover-background-color
18
+ // cursor: pointer
19
+
20
+ .list-item
21
+ display: block
22
+ padding: 0.5em 1em
23
+ &:not(a)
24
+ color: $list-item-color
25
+ &:first-child
26
+ border-top-left-radius: $list-radius
27
+ border-top-right-radius: $list-radius
28
+ &:last-child
29
+ border-bottom-left-radius: $list-radius
30
+ border-bottom-right-radius: $list-radius
31
+ &:not(:last-child)
32
+ border-bottom: $list-item-border
33
+ &.is-active
34
+ background-color: $list-item-active-background-color
35
+ color: $list-item-active-color
36
+
37
+ a.list-item
38
+ background-color: $list-item-hover-background-color
39
+ cursor: pointer
@@ -0,0 +1,48 @@
1
+ .media
2
+ align-items: flex-start
3
+ display: flex
4
+ text-align: left
5
+ .content:not(:last-child)
6
+ margin-bottom: 0.75rem
7
+ .media
8
+ border-top: 1px solid rgba($border, 0.5)
9
+ display: flex
10
+ padding-top: 0.75rem
11
+ .content:not(:last-child),
12
+ .control:not(:last-child)
13
+ margin-bottom: 0.5rem
14
+ .media
15
+ padding-top: 0.5rem
16
+ & + .media
17
+ margin-top: 0.5rem
18
+ & + .media
19
+ border-top: 1px solid rgba($border, 0.5)
20
+ margin-top: 1rem
21
+ padding-top: 1rem
22
+ // Sizes
23
+ &.is-large
24
+ & + .media
25
+ margin-top: 1.5rem
26
+ padding-top: 1.5rem
27
+
28
+ .media-left,
29
+ .media-right
30
+ flex-basis: auto
31
+ flex-grow: 0
32
+ flex-shrink: 0
33
+
34
+ .media-left
35
+ margin-right: 1rem
36
+
37
+ .media-right
38
+ margin-left: 1rem
39
+
40
+ .media-content
41
+ flex-basis: auto
42
+ flex-grow: 1
43
+ flex-shrink: 1
44
+ text-align: left
45
+
46
+ +mobile
47
+ .media-content
48
+ overflow-x: auto
@@ -0,0 +1,57 @@
1
+ $menu-item-color: $text !default
2
+ $menu-item-radius: $radius-small !default
3
+ $menu-item-hover-color: $text-strong !default
4
+ $menu-item-hover-background-color: $background !default
5
+ $menu-item-active-color: $link-invert !default
6
+ $menu-item-active-background-color: $link !default
7
+
8
+ $menu-list-border-left: 1px solid $border !default
9
+ $menu-list-line-height: 1.25 !default
10
+ $menu-list-link-padding: 0.5em 0.75em !default
11
+ $menu-nested-list-margin: 0.75em !default
12
+ $menu-nested-list-padding-left: 0.75em !default
13
+
14
+ $menu-label-color: $text-light !default
15
+ $menu-label-font-size: 0.75em !default
16
+ $menu-label-letter-spacing: 0.1em !default
17
+ $menu-label-spacing: 1em !default
18
+
19
+ .menu
20
+ font-size: $size-normal
21
+ // Sizes
22
+ &.is-small
23
+ font-size: $size-small
24
+ &.is-medium
25
+ font-size: $size-medium
26
+ &.is-large
27
+ font-size: $size-large
28
+
29
+ .menu-list
30
+ line-height: $menu-list-line-height
31
+ a
32
+ border-radius: $menu-item-radius
33
+ color: $menu-item-color
34
+ display: block
35
+ padding: $menu-list-link-padding
36
+ &:hover
37
+ background-color: $menu-item-hover-background-color
38
+ color: $menu-item-hover-color
39
+ // Modifiers
40
+ &.is-active
41
+ background-color: $menu-item-active-background-color
42
+ color: $menu-item-active-color
43
+ li
44
+ ul
45
+ border-left: $menu-list-border-left
46
+ margin: $menu-nested-list-margin
47
+ padding-left: $menu-nested-list-padding-left
48
+
49
+ .menu-label
50
+ color: $menu-label-color
51
+ font-size: $menu-label-font-size
52
+ letter-spacing: $menu-label-letter-spacing
53
+ text-transform: uppercase
54
+ &:not(:first-child)
55
+ margin-top: $menu-label-spacing
56
+ &:not(:last-child)
57
+ margin-bottom: $menu-label-spacing
@@ -0,0 +1,87 @@
1
+ $message-background-color: $background !default
2
+ $message-radius: $radius !default
3
+
4
+ $message-header-background-color: $text !default
5
+ $message-header-color: $text-invert !default
6
+ $message-header-weight: $weight-bold !default
7
+ $message-header-padding: 0.75em 1em !default
8
+ $message-header-radius: $radius !default
9
+
10
+ $message-body-border-color: $border !default
11
+ $message-body-border-width: 0 0 0 4px !default
12
+ $message-body-color: $text !default
13
+ $message-body-padding: 1.25em 1.5em !default
14
+ $message-body-radius: $radius !default
15
+
16
+ $message-body-pre-background-color: $white !default
17
+ $message-body-pre-code-background-color: transparent !default
18
+
19
+ $message-header-body-border-width: 0 !default
20
+ $message-colors: $colors !default
21
+
22
+ .message
23
+ @extend %block
24
+ background-color: $message-background-color
25
+ border-radius: $message-radius
26
+ font-size: $size-normal
27
+ strong
28
+ color: currentColor
29
+ a:not(.button):not(.tag):not(.dropdown-item)
30
+ color: currentColor
31
+ text-decoration: underline
32
+ // Sizes
33
+ &.is-small
34
+ font-size: $size-small
35
+ &.is-medium
36
+ font-size: $size-medium
37
+ &.is-large
38
+ font-size: $size-large
39
+ // Colors
40
+ @each $name, $pair in $message-colors
41
+ $color: nth($pair, 1)
42
+ $color-invert: nth($pair, 2)
43
+ $color-lightning: max((100% - lightness($color)) - 2%, 0%)
44
+ $color-luminance: colorLuminance($color)
45
+ $darken-percentage: $color-luminance * 70%
46
+ $desaturate-percentage: $color-luminance * 30%
47
+ &.is-#{$name}
48
+ background-color: lighten($color, $color-lightning)
49
+ .message-header
50
+ background-color: $color
51
+ color: $color-invert
52
+ .message-body
53
+ border-color: $color
54
+ color: desaturate(darken($color, $darken-percentage), $desaturate-percentage)
55
+
56
+ .message-header
57
+ align-items: center
58
+ background-color: $message-header-background-color
59
+ border-radius: $message-header-radius $message-header-radius 0 0
60
+ color: $message-header-color
61
+ display: flex
62
+ font-weight: $message-header-weight
63
+ justify-content: space-between
64
+ line-height: 1.25
65
+ padding: $message-header-padding
66
+ position: relative
67
+ .delete
68
+ flex-grow: 0
69
+ flex-shrink: 0
70
+ margin-left: 0.75em
71
+ & + .message-body
72
+ border-width: $message-header-body-border-width
73
+ border-top-left-radius: 0
74
+ border-top-right-radius: 0
75
+
76
+ .message-body
77
+ border-color: $message-body-border-color
78
+ border-radius: $message-body-radius
79
+ border-style: solid
80
+ border-width: $message-body-border-width
81
+ color: $message-body-color
82
+ padding: $message-body-padding
83
+ code,
84
+ pre
85
+ background-color: $message-body-pre-background-color
86
+ pre code
87
+ background-color: $message-body-pre-code-background-color
@@ -0,0 +1,113 @@
1
+ $modal-z: 40 !default
2
+
3
+ $modal-background-background-color: rgba($black, 0.86) !default
4
+
5
+ $modal-content-width: 640px !default
6
+ $modal-content-margin-mobile: 20px !default
7
+ $modal-content-spacing-mobile: 160px !default
8
+ $modal-content-spacing-tablet: 40px !default
9
+
10
+ $modal-close-dimensions: 40px !default
11
+ $modal-close-right: 20px !default
12
+ $modal-close-top: 20px !default
13
+
14
+ $modal-card-spacing: 40px !default
15
+
16
+ $modal-card-head-background-color: $background !default
17
+ $modal-card-head-border-bottom: 1px solid $border !default
18
+ $modal-card-head-padding: 20px !default
19
+ $modal-card-head-radius: $radius-large !default
20
+
21
+ $modal-card-title-color: $text-strong !default
22
+ $modal-card-title-line-height: 1 !default
23
+ $modal-card-title-size: $size-4 !default
24
+
25
+ $modal-card-foot-radius: $radius-large !default
26
+ $modal-card-foot-border-top: 1px solid $border !default
27
+
28
+ $modal-card-body-background-color: $white !default
29
+ $modal-card-body-padding: 20px !default
30
+
31
+ .modal
32
+ @extend %overlay
33
+ align-items: center
34
+ display: none
35
+ flex-direction: column
36
+ justify-content: center
37
+ overflow: hidden
38
+ position: fixed
39
+ z-index: $modal-z
40
+ // Modifiers
41
+ &.is-active
42
+ display: flex
43
+
44
+ .modal-background
45
+ @extend %overlay
46
+ background-color: $modal-background-background-color
47
+
48
+ .modal-content,
49
+ .modal-card
50
+ margin: 0 $modal-content-margin-mobile
51
+ max-height: calc(100vh - #{$modal-content-spacing-mobile})
52
+ overflow: auto
53
+ position: relative
54
+ width: 100%
55
+ // Responsiveness
56
+ +tablet
57
+ margin: 0 auto
58
+ max-height: calc(100vh - #{$modal-content-spacing-tablet})
59
+ width: $modal-content-width
60
+
61
+ .modal-close
62
+ @extend %delete
63
+ background: none
64
+ height: $modal-close-dimensions
65
+ position: fixed
66
+ right: $modal-close-right
67
+ top: $modal-close-top
68
+ width: $modal-close-dimensions
69
+
70
+ .modal-card
71
+ display: flex
72
+ flex-direction: column
73
+ max-height: calc(100vh - #{$modal-card-spacing})
74
+ overflow: hidden
75
+ -ms-overflow-y: visible
76
+
77
+ .modal-card-head,
78
+ .modal-card-foot
79
+ align-items: center
80
+ background-color: $modal-card-head-background-color
81
+ display: flex
82
+ flex-shrink: 0
83
+ justify-content: flex-start
84
+ padding: $modal-card-head-padding
85
+ position: relative
86
+
87
+ .modal-card-head
88
+ border-bottom: $modal-card-head-border-bottom
89
+ border-top-left-radius: $modal-card-head-radius
90
+ border-top-right-radius: $modal-card-head-radius
91
+
92
+ .modal-card-title
93
+ color: $modal-card-title-color
94
+ flex-grow: 1
95
+ flex-shrink: 0
96
+ font-size: $modal-card-title-size
97
+ line-height: $modal-card-title-line-height
98
+
99
+ .modal-card-foot
100
+ border-bottom-left-radius: $modal-card-foot-radius
101
+ border-bottom-right-radius: $modal-card-foot-radius
102
+ border-top: $modal-card-foot-border-top
103
+ .button
104
+ &:not(:last-child)
105
+ margin-right: 0.5em
106
+
107
+ .modal-card-body
108
+ +overflow-touch
109
+ background-color: $modal-card-body-background-color
110
+ flex-grow: 1
111
+ flex-shrink: 1
112
+ overflow: auto
113
+ padding: $modal-card-body-padding