bulma-clean-theme 0.10.3 → 0.10.4
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.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/_includes/header.html +2 -3
- data/_layouts/default.html +1 -1
- data/node_modules/bulma-block-list/docs/Gemfile +1 -1
- data/node_modules/bulma-block-list/docs/_sass/_block-list.scss +17 -6
- data/node_modules/bulma-block-list/package.json +10 -10
- data/node_modules/bulma-block-list/src/block-list.scss +17 -6
- data/package-lock.json +3 -3
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2c66821920fb6821e58e8e7ce30257215faacbc4110825c397c312e9dd08097d
|
|
4
|
+
data.tar.gz: 80fec6dd8721013e6f2434c112603fa9e8340746b9f64b09bd5825730ad6508c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9df119f2ea3bc56469718a198ffabeed6867550cf3e83a62423a86ff711670f1420ebc73d0b3f2e7e14ff78dd26f4ee56930b7a0123b2d024ba578619e96743d
|
|
7
|
+
data.tar.gz: 99d36d80333153cc0ad8c85946aecf65bef8eba0f5b5080d1ffd1fa951e42d7afcb094ddd2f5d61a47303699e802634a55a47cb74121b040d4cf8caee485ebe0
|
data/README.md
CHANGED
|
@@ -85,6 +85,9 @@ If you would like to darken the hero so the title stands out more, you can set `
|
|
|
85
85
|
**New in 0.5.8**
|
|
86
86
|
If you want to display a table of contents (toc) then add `toc: true` to your page's front matter. You can customise the default table of contents title by setting `toc_title: My Custom Title` in the page's front matter.
|
|
87
87
|
|
|
88
|
+
**New in 0.10.3**
|
|
89
|
+
If you would prefer to display the contents in the menubar at the side of the page, then use `menubar_toc: true` instead of `toc: true`. This will also override the page's `menubar` setting.
|
|
90
|
+
|
|
88
91
|
### Posts
|
|
89
92
|
|
|
90
93
|
If you want posts, create a `_posts` directory to store your posts as per normal Jekyll usage, with the `layout: post`. Next create a `blog` directory with an index.html file that has `layout: blog`
|
|
@@ -134,6 +137,11 @@ For the top navigation, create a navigation.yml file in `_data` directory with t
|
|
|
134
137
|
|
|
135
138
|
For the current page to have an active class, ensure the `link:` format matches your [permalink](https://jekyllrb.com/docs/permalinks/#extensionless-permalinks) format. The above example will work with `permalink: pretty` setting in your `_config.yml`
|
|
136
139
|
|
|
140
|
+
#### Fixed Navbar
|
|
141
|
+
|
|
142
|
+
To have a fixed navbar, you can set `fixed_navbar: top` of `fixed_navbar: bottom` respectively in your
|
|
143
|
+
`_config.yml`.
|
|
144
|
+
|
|
137
145
|
### Colours and Styles
|
|
138
146
|
|
|
139
147
|
To overwrite the primary theme colour, set a sass variable in `assets/css/app.scss` before importing `main`
|
|
@@ -150,7 +158,7 @@ You can overwrite any of the [Bulma initial variables](http://versions.bulma.io/
|
|
|
150
158
|
|
|
151
159
|
#### Theme Color Meta Tag
|
|
152
160
|
|
|
153
|
-
If you want to update the theme color meta tag then set
|
|
161
|
+
If you want to update the theme color meta tag then set `theme_color: '#333333'` in your `_config.yml` file.
|
|
154
162
|
|
|
155
163
|
### Sidebar Visibility
|
|
156
164
|
|
data/_includes/header.html
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
<nav class="navbar is-primary" >
|
|
1
|
+
<nav class="navbar is-primary {% if site.fixed_navbar %} is-fixed-{{ site.fixed_navbar }} {% endif %}">
|
|
3
2
|
<div class="container">
|
|
4
3
|
<div class="navbar-brand">
|
|
5
4
|
<a href="{{ site.baseurl }}/" class="navbar-item">
|
|
@@ -17,7 +16,7 @@
|
|
|
17
16
|
{% if site.data.navigation %}
|
|
18
17
|
{% for item in site.data.navigation %}
|
|
19
18
|
{% if item.dropdown %}
|
|
20
|
-
<div class="navbar-item has-dropdown is-hoverable">
|
|
19
|
+
<div class="navbar-item has-dropdown is-hoverable {% if site.fixed_navbar == 'bottom' %} has-dropdown-up {% endif %}">
|
|
21
20
|
<a href="{{ item.link | relative_url }}" class="navbar-link {% if item.link == page.url %}is-active{% endif %}">{{ item.name }}</a>
|
|
22
21
|
<div class="navbar-dropdown">
|
|
23
22
|
{% for subitem in item.dropdown %}
|
data/_layouts/default.html
CHANGED
|
@@ -61,6 +61,12 @@ $block-list-highlight-width: 5px !default;
|
|
|
61
61
|
border-left: $block-list-highlight-width $dark solid;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
@mixin outlined($color) {
|
|
65
|
+
background: transparent;
|
|
66
|
+
color: $color;
|
|
67
|
+
border: 1px solid $color;
|
|
68
|
+
}
|
|
69
|
+
|
|
64
70
|
@each $name, $pair in $colors {
|
|
65
71
|
|
|
66
72
|
$color: nth($pair, 1);
|
|
@@ -71,20 +77,25 @@ $block-list-highlight-width: 5px !default;
|
|
|
71
77
|
background: $color;
|
|
72
78
|
color: $color-invert;
|
|
73
79
|
}
|
|
80
|
+
|
|
81
|
+
li.is-#{$name}.is-outlined {
|
|
82
|
+
@include outlined($color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
li.is-#{$name}.is-highlighted {
|
|
86
|
+
@include outlined($color);
|
|
87
|
+
border-left: $block-list-highlight-width $color solid;
|
|
88
|
+
}
|
|
74
89
|
|
|
75
90
|
&.is-#{$name} {
|
|
76
91
|
li.is-outlined,
|
|
77
92
|
&.is-outlined > li {
|
|
78
|
-
|
|
79
|
-
color: $color;
|
|
80
|
-
border: 1px solid $color;
|
|
93
|
+
@include outlined($color);
|
|
81
94
|
}
|
|
82
95
|
|
|
83
96
|
li.is-highlighted,
|
|
84
97
|
&.is-highlighted > li {
|
|
85
|
-
|
|
86
|
-
color: $color;
|
|
87
|
-
border: 1px solid $color;
|
|
98
|
+
@include outlined($color);
|
|
88
99
|
border-left: $block-list-highlight-width $color solid;
|
|
89
100
|
}
|
|
90
101
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_from": "bulma-block-list@^0.4",
|
|
3
|
-
"_id": "bulma-block-list@0.4.
|
|
2
|
+
"_from": "bulma-block-list@^0.4.1",
|
|
3
|
+
"_id": "bulma-block-list@0.4.1",
|
|
4
4
|
"_inBundle": false,
|
|
5
|
-
"_integrity": "sha512-
|
|
5
|
+
"_integrity": "sha512-rNMgnzX/e1MnsKXpzPuRl2kNN+xxEBqe00idycD8Wt7xg0dHlBi4xctN0roW9cFlRyvxW5zJwSufPgavaJpghQ==",
|
|
6
6
|
"_location": "/bulma-block-list",
|
|
7
7
|
"_phantomChildren": {},
|
|
8
8
|
"_requested": {
|
|
9
9
|
"type": "range",
|
|
10
10
|
"registry": true,
|
|
11
|
-
"raw": "bulma-block-list@^0.4",
|
|
11
|
+
"raw": "bulma-block-list@^0.4.1",
|
|
12
12
|
"name": "bulma-block-list",
|
|
13
13
|
"escapedName": "bulma-block-list",
|
|
14
|
-
"rawSpec": "^0.4",
|
|
14
|
+
"rawSpec": "^0.4.1",
|
|
15
15
|
"saveSpec": null,
|
|
16
|
-
"fetchSpec": "^0.4"
|
|
16
|
+
"fetchSpec": "^0.4.1"
|
|
17
17
|
},
|
|
18
18
|
"_requiredBy": [
|
|
19
19
|
"/"
|
|
20
20
|
],
|
|
21
|
-
"_resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.4.
|
|
22
|
-
"_shasum": "
|
|
23
|
-
"_spec": "bulma-block-list@^0.4",
|
|
21
|
+
"_resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.4.1.tgz",
|
|
22
|
+
"_shasum": "24fc9eabb216694885bacbd5cff87e8e0b6a7937",
|
|
23
|
+
"_spec": "bulma-block-list@^0.4.1",
|
|
24
24
|
"_where": "/Users/chrisrhymes/Code/bulma-clean-theme",
|
|
25
25
|
"author": {
|
|
26
26
|
"name": "chrisrhymes"
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"css-watch": "npm run css-build -- --watch",
|
|
53
53
|
"start": "npm run css-watch"
|
|
54
54
|
},
|
|
55
|
-
"version": "0.4.
|
|
55
|
+
"version": "0.4.1"
|
|
56
56
|
}
|
|
@@ -61,6 +61,12 @@ $block-list-highlight-width: 5px !default;
|
|
|
61
61
|
border-left: $block-list-highlight-width $dark solid;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
@mixin outlined($color) {
|
|
65
|
+
background: transparent;
|
|
66
|
+
color: $color;
|
|
67
|
+
border: 1px solid $color;
|
|
68
|
+
}
|
|
69
|
+
|
|
64
70
|
@each $name, $pair in $colors {
|
|
65
71
|
|
|
66
72
|
$color: nth($pair, 1);
|
|
@@ -71,20 +77,25 @@ $block-list-highlight-width: 5px !default;
|
|
|
71
77
|
background: $color;
|
|
72
78
|
color: $color-invert;
|
|
73
79
|
}
|
|
80
|
+
|
|
81
|
+
li.is-#{$name}.is-outlined {
|
|
82
|
+
@include outlined($color);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
li.is-#{$name}.is-highlighted {
|
|
86
|
+
@include outlined($color);
|
|
87
|
+
border-left: $block-list-highlight-width $color solid;
|
|
88
|
+
}
|
|
74
89
|
|
|
75
90
|
&.is-#{$name} {
|
|
76
91
|
li.is-outlined,
|
|
77
92
|
&.is-outlined > li {
|
|
78
|
-
|
|
79
|
-
color: $color;
|
|
80
|
-
border: 1px solid $color;
|
|
93
|
+
@include outlined($color);
|
|
81
94
|
}
|
|
82
95
|
|
|
83
96
|
li.is-highlighted,
|
|
84
97
|
&.is-highlighted > li {
|
|
85
|
-
|
|
86
|
-
color: $color;
|
|
87
|
-
border: 1px solid $color;
|
|
98
|
+
@include outlined($color);
|
|
88
99
|
border-left: $block-list-highlight-width $color solid;
|
|
89
100
|
}
|
|
90
101
|
}
|
data/package-lock.json
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"integrity": "sha512-LSF69OumXg2HSKl2+rN0/OEXJy7WFEb681wtBlNS/ulJYR27J3rORHibdXZ6GVb/vyUzzYK/Arjyh56wjbFedA=="
|
|
11
11
|
},
|
|
12
12
|
"bulma-block-list": {
|
|
13
|
-
"version": "0.4.
|
|
14
|
-
"resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.4.
|
|
15
|
-
"integrity": "sha512-
|
|
13
|
+
"version": "0.4.1",
|
|
14
|
+
"resolved": "https://registry.npmjs.org/bulma-block-list/-/bulma-block-list-0.4.1.tgz",
|
|
15
|
+
"integrity": "sha512-rNMgnzX/e1MnsKXpzPuRl2kNN+xxEBqe00idycD8Wt7xg0dHlBi4xctN0roW9cFlRyvxW5zJwSufPgavaJpghQ==",
|
|
16
16
|
"requires": {
|
|
17
17
|
"bulma": "^0.8.0"
|
|
18
18
|
},
|
data/package.json
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bulma-clean-theme
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.10.
|
|
4
|
+
version: 0.10.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- chrisrhymes
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-
|
|
11
|
+
date: 2020-12-20 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|