blog_boi 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9c5cc595c8dd15f8c7a97ab65949edfe3bf19b160361f7aaa9538e2e1e100fea
4
- data.tar.gz: 925ed2e0e1e534a2fbbdb9d825fc3a8a180198286425771bd9c05341588272a0
3
+ metadata.gz: 6561c198dc61c19bc680c886d3be5648408f8079cd06ac7f8c431ba146cff616
4
+ data.tar.gz: 5647087f160a8134cf9d107db556659b58df17fe51c5c0363c7931e83a0adbfb
5
5
  SHA512:
6
- metadata.gz: 208f56f327f2f73ef8ac38796b82a6f2df03057f7c9fc04234c198d3f12f085ef73f31b52c9d8161c679c8b505aa0fabd1390f0065a3f9c355c95ee59e4fa505
7
- data.tar.gz: 13ed0d6b30ee39cd2a34631bd5ac62c917b43206efba174d33d61f73e3d2919603321572fa5a43dc33ed136d128ee5c1b135b43a02bb4db49d47b7421cc4076a
6
+ metadata.gz: '08c780f253364f2e3dc2ecf0303e704d438099f4cd4eddf567a6fe793bba83c7053d026b7ffb4c5d051b639e1257fef1c5167e1a06515eeb4f23684b7c91be61'
7
+ data.tar.gz: 54926c4689d644306c46862d469dbf1023f1beca9567039a387c49cd09855b57614df57f676faccb8932601f517c1d84e6e2b8c32dcb1cd7309dc4994512c13f
data/README.md CHANGED
@@ -93,6 +93,11 @@ To override SCSS bootstrap mixins / styles, add a file in parent application cal
93
93
 
94
94
  Override the header or footer by placing your own files at `views/layouts/_header` or `views/layouts/_footer`
95
95
 
96
+ Further, you can add your own css classes / ids to your markup:
97
+ - https://kramdown.gettalong.org/quickref.html
98
+ - https://about.gitlab.com/blog/2016/07/19/markdown-kramdown-tips-and-tricks/
99
+ - `{: .cls}`
100
+
96
101
  ## Running tests
97
102
 
98
103
  - Run all tests other than system: `rake app:test`
@@ -9,3 +9,32 @@ main.blog-boi.blog.index {
9
9
  }
10
10
 
11
11
  }
12
+
13
+ main.blog-boi.blog.show {
14
+
15
+ div.article-body {
16
+
17
+ h1, h2, h3, h4, h5, h6 {
18
+ margin-bottom: 1rem;
19
+ }
20
+
21
+ h1 {
22
+ margin-top: 2.5rem;
23
+ margin-bottom: 1.25rem;
24
+ }
25
+
26
+ h2, h3 {
27
+ margin-top: 2rem;
28
+ }
29
+
30
+ h4, h5 {
31
+ margin-top: 1.4rem;
32
+ }
33
+
34
+ h6 {
35
+ margin-top: 1rem;
36
+ }
37
+
38
+ }
39
+
40
+ }
@@ -1,4 +1,4 @@
1
- <div class="col-12 mt-5 text-left">
1
+ <div class="col-12 mt-5 text-left article-body">
2
2
 
3
3
  <%= raw @article.markdown_text %>
4
4
 
@@ -1,4 +1,4 @@
1
- <main class="blog-boi blog edit">
1
+ <main class="blog-boi blog show">
2
2
 
3
3
  <div class="bg-primary">
4
4
 
@@ -1,3 +1,3 @@
1
1
  module BlogBoi
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blog_boi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie Reese
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-16 00:00:00.000000000 Z
11
+ date: 2020-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kramdown
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '2.1'
20
17
  - - ">="
21
18
  - !ruby/object:Gem::Version
22
19
  version: 2.1.0
20
+ - - "~>"
21
+ - !ruby/object:Gem::Version
22
+ version: '2.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - "~>"
28
- - !ruby/object:Gem::Version
29
- version: '2.1'
30
27
  - - ">="
31
28
  - !ruby/object:Gem::Version
32
29
  version: 2.1.0
30
+ - - "~>"
31
+ - !ruby/object:Gem::Version
32
+ version: '2.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rails
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
38
- - !ruby/object:Gem::Version
39
- version: '6.0'
40
37
  - - ">="
41
38
  - !ruby/object:Gem::Version
42
39
  version: 6.0.0
40
+ - - "~>"
41
+ - !ruby/object:Gem::Version
42
+ version: '6.0'
43
43
  type: :runtime
44
44
  prerelease: false
45
45
  version_requirements: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - "~>"
48
- - !ruby/object:Gem::Version
49
- version: '6.0'
50
47
  - - ">="
51
48
  - !ruby/object:Gem::Version
52
49
  version: 6.0.0
50
+ - - "~>"
51
+ - !ruby/object:Gem::Version
52
+ version: '6.0'
53
53
  - !ruby/object:Gem::Dependency
54
54
  name: bootstrap
55
55
  requirement: !ruby/object:Gem::Requirement
@@ -196,7 +196,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
196
196
  version: '0'
197
197
  requirements: []
198
198
  rubyforge_project:
199
- rubygems_version: 2.7.7
199
+ rubygems_version: 2.7.10
200
200
  signing_key:
201
201
  specification_version: 4
202
202
  summary: BlogBoi is a rails engine for adding blogging functionality to your rails