nereare_grimoire 1.3.1

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 (43) hide show
  1. checksums.yaml +7 -0
  2. data/404.html +10 -0
  3. data/LICENSE.md +24 -0
  4. data/README.md +38 -0
  5. data/_layouts/adventure.html +26 -0
  6. data/_layouts/chapter.html +21 -0
  7. data/_layouts/default.html +63 -0
  8. data/_layouts/index.html +89 -0
  9. data/_layouts/monster.html +191 -0
  10. data/_layouts/post.html +26 -0
  11. data/_layouts/settlement.html +304 -0
  12. data/_layouts/spell.html +44 -0
  13. data/_plugins/abbr-align.rb +28 -0
  14. data/_plugins/ability.rb +10 -0
  15. data/_plugins/add-sign.rb +9 -0
  16. data/_plugins/articulate.rb +11 -0
  17. data/_plugins/number.rb +9 -0
  18. data/_plugins/ordinal.rb +21 -0
  19. data/_plugins/pluralize.rb +9 -0
  20. data/assets/404.png +0 -0
  21. data/assets/background.jpg +0 -0
  22. data/assets/desc-border.png +0 -0
  23. data/assets/favicon/android-chrome-192x192.png +0 -0
  24. data/assets/favicon/android-chrome-512x512.png +0 -0
  25. data/assets/favicon/apple-touch-icon.png +0 -0
  26. data/assets/favicon/browserconfig.xml +12 -0
  27. data/assets/favicon/favicon-16x16.png +0 -0
  28. data/assets/favicon/favicon-32x32.png +0 -0
  29. data/assets/favicon/favicon.ico +0 -0
  30. data/assets/favicon/mstile-144x144.png +0 -0
  31. data/assets/favicon/mstile-150x150.png +0 -0
  32. data/assets/favicon/mstile-310x150.png +0 -0
  33. data/assets/favicon/mstile-310x310.png +0 -0
  34. data/assets/favicon/mstile-70x70.png +0 -0
  35. data/assets/favicon/safari-pinned-tab.svg +133 -0
  36. data/assets/favicon/site.webmanifest +18 -0
  37. data/assets/favicon.png +0 -0
  38. data/assets/header.png +0 -0
  39. data/assets/note-border.png +0 -0
  40. data/css/boxes.scss +66 -0
  41. data/css/stats-block.scss +159 -0
  42. data/css/style.scss +230 -0
  43. metadata +212 -0
@@ -0,0 +1,18 @@
1
+ {
2
+ "name": "Grimoire",
3
+ "short_name": "Grimoire",
4
+ "icons": [
5
+ {
6
+ "src": "android-chrome-192x192.png",
7
+ "sizes": "192x192",
8
+ "type": "image/png"
9
+ },
10
+ {
11
+ "src": "android-chrome-512x512.png",
12
+ "sizes": "512x512",
13
+ "type": "image/png"
14
+ }
15
+ ],
16
+ "theme_color": "#922610",
17
+ "background_color": "#922610"
18
+ }
Binary file
data/assets/header.png ADDED
Binary file
Binary file
data/css/boxes.scss ADDED
@@ -0,0 +1,66 @@
1
+ ---
2
+ # Read me Jekyll. #kthxbye
3
+ ---
4
+
5
+ $header : #922610;
6
+ $h-line : #e69a28;
7
+ $body : #212121;
8
+ $back : #eee5ce;
9
+ $g-back : #e0e5c1;
10
+ $bar : $h-line;
11
+
12
+ div.desc {
13
+ background-color: $back;
14
+ box-shadow: 0 0 6px $body;
15
+ padding: .5em;
16
+ border: 6px solid transparent;
17
+ border-image-source: url({{ 'assets/desc-border.png' | absolute_url }});
18
+ border-image-slice: 12;
19
+ border-image-width: 1.5;
20
+ border-image-outset: 5px;
21
+ }
22
+
23
+ blockquote {
24
+ box-sizing: border-box;
25
+ padding: 5px 10px;
26
+ background-color: $g-back;
27
+ border-style: solid;
28
+ border-width: 11px;
29
+ border-image: url({{ 'assets/note-border.png' | absolute_url }}) 11;
30
+ border-image-outset: 9px 0;
31
+ box-shadow: 1px 4px 14px $body;
32
+ }
33
+
34
+ div.desc, blockquote {
35
+ margin: 1em 0.5em;
36
+ @media screen and (min-width: 550px) { margin: 1em 3em; }
37
+ @media screen and (min-width: 950px) { margin: 1em 10em; }
38
+ &.meta {
39
+ margin: 0;
40
+ p.subtitle {
41
+ margin-top: -0.5em;
42
+ margin-bottom: 1.5em;
43
+ font-size: 0.9em;
44
+ font-weight: 700;
45
+ overflow: auto;
46
+ }
47
+ h6 {
48
+ text-align: center;
49
+ text-transform: uppercase;
50
+ margin-bottom: 0;
51
+ margin-top: 0.5em;
52
+ }
53
+ ul { margin-bottom: 0; }
54
+ li {
55
+ list-style: none;
56
+ margin-bottom: 0.3em;
57
+ }
58
+ details {
59
+ margin-bottom: 0.3em;
60
+ summary { font-weight: 700; }
61
+ li { margin-left: 1.5em; }
62
+ }
63
+ }
64
+ h5, p { margin-bottom: 0.3em; }
65
+ *:last-child { margin-bottom: 0; }
66
+ }
@@ -0,0 +1,159 @@
1
+ ---
2
+ # Read me Jekyll. #kthxbye
3
+ ---
4
+
5
+ $header : #922610;
6
+ $h-line : #e69a28;
7
+ $body : #212121;
8
+ $back : #eee5ce;
9
+ $bar : $h-line;
10
+
11
+ .stat-block-container {
12
+ text-align: center;
13
+ font-size: 13.5px;
14
+ line-height: 1.2em;
15
+ max-width: 100%;
16
+ * {
17
+ box-sizing: border-box;
18
+ max-width: 100%;
19
+ margin: 0;
20
+ padding: 0;
21
+ }
22
+ }
23
+ .stat-block {
24
+ text-align: justify;
25
+ margin: 1.5em 0;
26
+ display: inline-block;
27
+ vertical-align: top;
28
+ min-width: 280px;
29
+ background: $back;
30
+ padding: 5px 10px 20px;
31
+ box-shadow: 0 0 1.5em $body;
32
+ }
33
+ .orange-border {
34
+ display: block;
35
+ background: $bar;
36
+ border: 1px solid #000;
37
+ height: 5px;
38
+ padding: 0 10px 0;
39
+ margin: -10px -10px 0;
40
+ box-sizing: initial;
41
+ &.bottom{
42
+ margin: 15px -10px -20px;
43
+ }
44
+ }
45
+ .tapered-rule {
46
+ display: block;
47
+ width: 100%;
48
+ height: 5px;
49
+ border: none;
50
+ color: $header;
51
+ fill: $header;
52
+ stroke: $header;
53
+ }
54
+ .creature-heading {
55
+ h1 {
56
+ font-family: 'Libre Baskerville', serif;
57
+ color: $header;
58
+ font-size: 23px;
59
+ line-height: 1.2em;
60
+ margin: 10px 0 0;
61
+ letter-spacing: 1px;
62
+ font-variant: small-caps;
63
+ font-weight: bold;
64
+ }
65
+ h2 {
66
+ font-family: 'Noto Sans', sans-serif;
67
+ font-weight: normal;
68
+ font-size: 14px;
69
+ line-height: 1.2em;
70
+ margin: 0 0 10px;
71
+ }
72
+ }
73
+
74
+ .property-line {
75
+ text-indent: -1em;
76
+ padding-left: 1.1em;
77
+ line-height: 1.4em;
78
+
79
+ &.first{ margin: 8px 0 0; }
80
+ &.last{ margin: 0 0 10px; }
81
+
82
+ h4, p {
83
+ display: inline;
84
+ margin: 0;
85
+ color: $header;
86
+ font-size: 13.5px;
87
+ line-height: 1.2em;
88
+ }
89
+ h4{
90
+ font-family: 'Montserrat', sans-serif;
91
+ font-variant: normal;
92
+ color: $header;
93
+ &:after { content: ':'; }
94
+ }
95
+ p { color: black; }
96
+ }
97
+
98
+ .abilities {
99
+ text-align: center;
100
+ color: $header;
101
+
102
+ & > div {
103
+ display: inline-block;
104
+ vertical-align: middle;
105
+ width: 15.5%;
106
+ min-width: 40px;
107
+ font-size: 12px;
108
+ line-height: 1em;
109
+ }
110
+ & h4 {
111
+ font-family: 'Montserrat', sans-serif;
112
+ margin: 10px 0 2px;
113
+ font-size: 14px;
114
+ line-height: 1.2em;
115
+ text-transform: uppercase;
116
+ color: $header;
117
+ }
118
+ & p {
119
+ margin: 0 0 10px;
120
+ line-height: 1.2em;
121
+ }
122
+ }
123
+
124
+ .property-block {
125
+ padding: 10px 2px 0;
126
+
127
+ h4, p{
128
+ font-size: 13.5px;
129
+ line-height: 1.2em;
130
+ display: inline;
131
+ margin: 0;
132
+ }
133
+ & h4 {
134
+ font-family: 'Montserrat', sans-serif;
135
+ font-variant: none;
136
+ &:after { content: ':'; }
137
+ }
138
+ }
139
+
140
+ .actions {
141
+ margin: 0 0 20px;
142
+
143
+ & h3 {
144
+ border-bottom: 1px solid $header;
145
+ color: $header;
146
+ font-size: 21px;
147
+ font-variant: small-caps;
148
+ font-weight: normal;
149
+ letter-spacing: 1px;
150
+ margin: 20px 0 0;
151
+ padding: 0 0 10px;
152
+ text-indent: 5px;
153
+ }
154
+ &:last-child{ margin: 0; }
155
+ }
156
+
157
+ @media screen and (max-width: 575px){
158
+ .stat-block { margin: 20px 0; }
159
+ }
data/css/style.scss ADDED
@@ -0,0 +1,230 @@
1
+ ---
2
+ # Read me Jekyll. #kthxbye
3
+ ---
4
+
5
+ $header : #922610;
6
+ $h-line : #e69a28;
7
+ $body : #212121;
8
+ $back : #eee5ce;
9
+ $bar : $h-line;
10
+
11
+ $link : $header;
12
+ $alink : #cf2d0c;
13
+
14
+ $tag : $h-line;
15
+ $h-tag : #ff9b05;
16
+ $category : $header;
17
+ $h-cat : $alink;
18
+
19
+ html, body {
20
+ background-color: $back;
21
+ background-image: url({{ 'assets/background.jpg' | absolute_url }});
22
+ background-size: cover;
23
+
24
+ font-family: 'Noto Sans', sans-serif;
25
+ text-align: justify;
26
+ color: $body;
27
+ }
28
+
29
+ h1, h2, h3, h4 {
30
+ font-family: 'Libre Baskerville', serif;
31
+ font-variant: small-caps;
32
+ font-weight: 600;
33
+ color: $header;
34
+ }
35
+ h1 {
36
+ font-size: 2.5em;
37
+ header & {
38
+ font-size: 1.5em;
39
+ font-weight: 900;
40
+
41
+ letter-spacing: 0.05em;
42
+ text-transform: uppercase;
43
+ text-align: justify;
44
+ margin-top: 1em;
45
+ }
46
+ & + p:not(.subtitle):not(.meta)::first-letter {
47
+ float: left;
48
+ font-family: 'UnifrakturCook', cursive;
49
+ font-size: 4em;
50
+ line-height: 1em;
51
+ margin-right: .1em;
52
+ text-transform: uppercase;
53
+ }
54
+ & + p.subtitle {
55
+ margin-top: -1.5em;
56
+ margin-bottom: 2.5em;
57
+
58
+ font-family: 'Montserrat', sans-serif;
59
+ font-variant: small-caps;
60
+ }
61
+ }
62
+ h2 { font-size: 2.0em; }
63
+ h3 {
64
+ border-bottom: 2px solid $h-line;
65
+ font-size: 1.8em;
66
+ }
67
+ h4 { font-size: 1.5em; }
68
+ h5, h6 {
69
+ font-family: 'Montserrat', sans-serif;
70
+ font-variant: small-caps;
71
+ font-weight: 700;
72
+ }
73
+ h5 { font-size: 1.5em; }
74
+ h6 { font-size: 1.0em; }
75
+
76
+ a {
77
+ text-decoration: none;
78
+ color: $link;
79
+ &:visited { color: $link; }
80
+ &:hover, &:active { color: $alink; }
81
+ }
82
+
83
+ header {
84
+ overflow: auto;
85
+ background-color: transparent;
86
+ background-image: url({{ 'assets/header.png' | absolute_url }});
87
+ background-position: bottom;
88
+ background-size: auto 125%;
89
+ margin-bottom: 3em;
90
+ }
91
+
92
+ div.metadata {
93
+ p:nth-child(2), p.chapter {
94
+ margin-top: -1.5em;
95
+ font-family: 'Montserrat', sans-serif;
96
+ font-variant: small-caps;
97
+ font-weight: 700;
98
+ overflow: auto;
99
+ }
100
+ span {
101
+ display: inline-block;
102
+ float: left;
103
+ border-radius: 0.3em;
104
+
105
+ vertical-align: middle;
106
+ text-align: center;
107
+ text-transform: uppercase;
108
+ font-size: 0.8em;
109
+ font-weight: 500;
110
+
111
+ min-width: 5em;
112
+ margin-right: 0.5em;
113
+ padding: 0.3em 0.6em;
114
+
115
+ color: white;
116
+ transition: background-color 0.3s;
117
+ &.tag {
118
+ background-color: $tag;
119
+ &:hover { background-color: $h-tag; }
120
+ }
121
+ &.category {
122
+ background-color: $category;
123
+ &:hover { background-color: $h-cat; }
124
+ }
125
+ }
126
+ }
127
+
128
+ div.spell {
129
+ p { margin-bottom: 0; }
130
+ &.header {
131
+ p.meta {
132
+ margin-top: -1.5em;
133
+ margin-bottom: 1.0em;
134
+ font-family: 'Montserrat', sans-serif;
135
+ font-variant: small-caps;
136
+ font-weight: 700;
137
+ overflow: auto;
138
+ }
139
+ div {
140
+ margin-left: 2em;
141
+ margin-bottom: 1em;
142
+ p:first-child {
143
+ font-family: 'Montserrat', sans-serif;
144
+ font-size: 1.2em;
145
+ font-variant: small-caps;
146
+ font-weight: 700;
147
+ }
148
+ }
149
+ }
150
+ &.components {
151
+ h6 {
152
+ margin-bottom: 0;
153
+ margin-top: 0.7em;
154
+ }
155
+ p { margin-left: 1em; }
156
+ }
157
+ }
158
+
159
+ .page-404 {
160
+ h2, p {
161
+ text-align: center;
162
+ margin-bottom: 0.3em;
163
+ }
164
+ img {
165
+ display: block;
166
+ margin-left: auto;
167
+ margin-right: auto;
168
+ margin-bottom: 2em;
169
+ max-width: 256px;
170
+ }
171
+ }
172
+
173
+ .building {
174
+ margin-bottom: 1.5em;
175
+ p { margin-bottom: 0.3em; }
176
+ p.type {
177
+ margin-top: -1.0em;
178
+ font-family: 'Montserrat', sans-serif;
179
+ font-variant: small-caps;
180
+ font-weight: 700;
181
+ overflow: auto;
182
+ }
183
+ h5 { margin-bottom: 0.3em; }
184
+ h6 {
185
+ font-size: 1.1em;
186
+ margin-bottom: 0;
187
+ margin-top: 0.5em;
188
+ }
189
+ ul { margin-bottom: 0; }
190
+ li {
191
+ list-style: none;
192
+ margin-left: 1.5em;
193
+ margin-bottom: 0.3em;
194
+ }
195
+ }
196
+
197
+ .chapter.links {
198
+ overflow: auto;
199
+ a {
200
+ text-align: center;
201
+ display: inline-block;
202
+ width: 100%;
203
+ @media screen and (min-width: 550px) {
204
+ width: 40%;
205
+ &.prev {
206
+ text-align: left;
207
+ float: left;
208
+ }
209
+ &.next {
210
+ text-align: right;
211
+ float: right;
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ h2.collections {
218
+ margin-top: 2em;
219
+ margin-bottom: 0.5em;
220
+ }
221
+ .collection {
222
+ margin-bottom: 2em;
223
+ h5 { margin-bottom: 0.2em; }
224
+ ul { margin-bottom: 0; }
225
+ li {
226
+ list-style: none;
227
+ margin-left: 1.5em;
228
+ margin-bottom: 0.3em;
229
+ }
230
+ }
metadata ADDED
@@ -0,0 +1,212 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: nereare_grimoire
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.3.1
5
+ platform: ruby
6
+ authors:
7
+ - Igor Padoim
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-09-06 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: html-proofer
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 3.11.1
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 3.11.1
27
+ - !ruby/object:Gem::Dependency
28
+ name: nokogiri
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 1.10.4
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 1.10.4
41
+ - !ruby/object:Gem::Dependency
42
+ name: jekyll
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 3.8.6
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 3.8.6
55
+ - !ruby/object:Gem::Dependency
56
+ name: jekyll-feed
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.12.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.12.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: jekyll-redirect-from
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 0.15.0
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 0.15.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: jekyll-relative-links
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.6.0
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.6.0
97
+ - !ruby/object:Gem::Dependency
98
+ name: jekyll-seo-tag
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 2.6.1
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 2.6.1
111
+ - !ruby/object:Gem::Dependency
112
+ name: jekyll-sitemap
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: 1.3.1
118
+ type: :runtime
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: 1.3.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: jemoji
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.11.1
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.11.1
139
+ description:
140
+ email:
141
+ - igorpadoim@gmail.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - 404.html
147
+ - LICENSE.md
148
+ - README.md
149
+ - _layouts/adventure.html
150
+ - _layouts/chapter.html
151
+ - _layouts/default.html
152
+ - _layouts/index.html
153
+ - _layouts/monster.html
154
+ - _layouts/post.html
155
+ - _layouts/settlement.html
156
+ - _layouts/spell.html
157
+ - _plugins/abbr-align.rb
158
+ - _plugins/ability.rb
159
+ - _plugins/add-sign.rb
160
+ - _plugins/articulate.rb
161
+ - _plugins/number.rb
162
+ - _plugins/ordinal.rb
163
+ - _plugins/pluralize.rb
164
+ - assets/404.png
165
+ - assets/background.jpg
166
+ - assets/desc-border.png
167
+ - assets/favicon.png
168
+ - assets/favicon/android-chrome-192x192.png
169
+ - assets/favicon/android-chrome-512x512.png
170
+ - assets/favicon/apple-touch-icon.png
171
+ - assets/favicon/browserconfig.xml
172
+ - assets/favicon/favicon-16x16.png
173
+ - assets/favicon/favicon-32x32.png
174
+ - assets/favicon/favicon.ico
175
+ - assets/favicon/mstile-144x144.png
176
+ - assets/favicon/mstile-150x150.png
177
+ - assets/favicon/mstile-310x150.png
178
+ - assets/favicon/mstile-310x310.png
179
+ - assets/favicon/mstile-70x70.png
180
+ - assets/favicon/safari-pinned-tab.svg
181
+ - assets/favicon/site.webmanifest
182
+ - assets/header.png
183
+ - assets/note-border.png
184
+ - css/boxes.scss
185
+ - css/stats-block.scss
186
+ - css/style.scss
187
+ homepage: https://github.com/Nereare/Grimoire
188
+ licenses:
189
+ - MIT
190
+ metadata:
191
+ source_code_uri: https://github.com/Nereare/Grimoire
192
+ changelog_uri: https://github.com/Nereare/Grimoire/blob/master/CHANGELOG.md
193
+ post_install_message:
194
+ rdoc_options: []
195
+ require_paths:
196
+ - lib
197
+ required_ruby_version: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - ">="
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ required_rubygems_version: !ruby/object:Gem::Requirement
203
+ requirements:
204
+ - - ">="
205
+ - !ruby/object:Gem::Version
206
+ version: '0'
207
+ requirements: []
208
+ rubygems_version: 3.0.6
209
+ signing_key:
210
+ specification_version: 4
211
+ summary: A jekyll quasi-wiki for RPG-oriented worldbuilding.
212
+ test_files: []