harms-columns-front-page 3.1.2 → 3.2.0

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
  SHA1:
3
- metadata.gz: 3b3488e5f52ba573b4d76dbc752088ccdb56f94b
4
- data.tar.gz: 1ac4af7c9c97fd59254b5d522003385785be88c1
3
+ metadata.gz: 932588562fdcb02fb2138bee6d18af60c3cc9249
4
+ data.tar.gz: 2d90e6f079916c3fc03f5c5b569d15025f28e5d8
5
5
  SHA512:
6
- metadata.gz: c12b0f6090383c1fbe000f96c1e428054cb7a89853b46ae5b9073d429a51317d57164a7e1470edb7fe4da11a0c74564081c25e226b6abe75e3b795d6b45c7482
7
- data.tar.gz: ddc60098dbcc7c57ac02c79f50df58463922ba46bf331fb61d2aa5148e7495abb19e28f43511f0b470827a3d9690147e4c7f1bf99998201cd2e50c12c64c22fe
6
+ metadata.gz: 5ef00349fb32a52af63c7ed171860a6826cb128ed661cc71c2571d71d9f41017dd1af5e03a424540f4a53cdd7b77a80dbb80d0ede129c68438e491d8236c7b7e
7
+ data.tar.gz: d1865265c5e3e255a89834b1dd4f82e8f41bc0c25af825437e679cab065a344bb0190377d836cdc9ef11362825268dde1a04e926a4c5c02f87fbd8ec42113b8b
data/README.md CHANGED
@@ -398,6 +398,46 @@ footer-copyright: Year and name here
398
398
 
399
399
  <br>
400
400
 
401
+ #### _Font size of plain post and page text_
402
+
403
+ You can change the font size of the paragraphs in posts and on pages.
404
+
405
+ ```yaml
406
+ text-font-size: 15px
407
+ ```
408
+
409
+ <br>
410
+
411
+ #### _Font size of the text inside of the home columns_
412
+
413
+ You can change the font size of the paragraphs in the home columns on the front page.
414
+
415
+ ```yaml
416
+ columns-font-size: 15px
417
+ ```
418
+
419
+ <br>
420
+
421
+ #### _Line height of plain post and page text_
422
+
423
+ You can change the line height of the paragraphs in posts and on pages.
424
+
425
+ ```yaml
426
+ text-line-height: 2
427
+ ```
428
+
429
+ <br>
430
+
431
+ #### _Line height of the text inside of the home columns_
432
+
433
+ You can change the line height of the paragraphs in the home columns on the front page.
434
+
435
+ ```yaml
436
+ columns-line-height: 15px
437
+ ```
438
+
439
+ <br>
440
+
401
441
  #### _Home columns_
402
442
 
403
443
  Here you can add content for the column section on the home page. You have to specify a heading and the content. The button url and the button label are optional: if the url is not set, there will be no button for that column on your site.
@@ -208,6 +208,86 @@
208
208
  }
209
209
  {% endif %}
210
210
 
211
+ /* Custom font-size for the paragraphs in the home columns */
212
+ {% if site.columns-font-size %}
213
+ html body .dark-section .wrapper .col p {
214
+ font-size: {{ site.columns-font-size }};
215
+ }
216
+ {% endif %}
217
+
218
+ /* Custom line-height for the paragraphs in the home columns */
219
+ {% if site.columns-line-height %}
220
+ html body .dark-section .wrapper .col p {
221
+ line-height: {{ site.columns-line-height }};
222
+ }
223
+ {% endif %}
224
+
225
+ /* Custom line-height for the content paragraphs of the site */
226
+ {% if site.text-line-height %}
227
+ html body .wrapper.single-post ul {
228
+ line-height: {{ site.text-line-height }};
229
+ }
230
+
231
+ html body .wrapper.page ul {
232
+ line-height: {{ site.text-line-height }};
233
+ }
234
+
235
+ html body .wrapper .post ul {
236
+ line-height: {{ site.text-line-height }};
237
+ }
238
+
239
+ html body .page-content .wrapper.page p {
240
+ line-height: {{ site.text-line-height }};
241
+ }
242
+
243
+ html body .page-content .wrapper.single-post p {
244
+ line-height: {{ site.text-line-height }};
245
+ }
246
+
247
+ html body .wrapper.single-post p {
248
+ line-height: {{ site.text-line-height }};
249
+ }
250
+
251
+ html body .wrapper.posts-wrapper .post .post-contents p {
252
+ line-height: {{ site.text-line-height }};
253
+ }
254
+ {% endif %}
255
+
256
+ /* Custom font-size for the content paragraphs of the site */
257
+ {% if site.text-font-size %}
258
+ html body .wrapper.single-post ul {
259
+ font-size: {{ site.text-font-size }};
260
+ }
261
+
262
+ html body .wrapper.page ul {
263
+ font-size: {{ site.text-font-size }};
264
+ }
265
+
266
+ html body .wrapper .post ul {
267
+ font-size: {{ site.text-font-size }};
268
+ }
269
+
270
+ html body .page-content .wrapper.page p {
271
+ font-size: {{ site.text-font-size }};
272
+ }
273
+
274
+ html body .page-content .wrapper.single-post p {
275
+ font-size: {{ site.text-font-size }};
276
+ }
277
+
278
+ html body .wrapper.single-post p {
279
+ font-size: {{ site.text-font-size }};
280
+ }
281
+
282
+ html body .wrapper.posts-wrapper .post .post-contents p {
283
+ font-size: {{ site.text-font-size }};
284
+ }
285
+
286
+ html body code {
287
+ font-size: {{ site.text-font-size }};
288
+ }
289
+ {% endif %}
290
+
211
291
  /* Custom css from the corresponding site's config variable */
212
292
  {% if site.custom-css %}
213
293
  {{ site.custom-css }}
@@ -0,0 +1,23 @@
1
+ html
2
+ body
3
+ .ui-icon, .ui-widget-content .ui-icon, .ui-widget-header .ui-icon
4
+ background-image: url("/assets/images/ui-icons_444444_256x240.png")
5
+
6
+ .ui-state-hover .ui-icon, .ui-state-focus .ui-icon
7
+ background-image: url("/assets/images/ui-icons_555555_256x240.png")
8
+
9
+ .ui-button
10
+ &:hover .ui-icon, &:focus .ui-icon
11
+ background-image: url("/assets/images/ui-icons_555555_256x240.png")
12
+
13
+ .ui-state-active .ui-icon, .ui-button:active .ui-icon
14
+ background-image: url("/assets/images/ui-icons_ffffff_256x240.png")
15
+
16
+ .ui-state-highlight .ui-icon, .ui-button .ui-state-highlight.ui-icon
17
+ background-image: url("/assets/images/ui-icons_777620_256x240.png")
18
+
19
+ .ui-state-error .ui-icon, .ui-state-error-text .ui-icon
20
+ background-image: url("/assets/images/ui-icons_cc0000_256x240.png")
21
+
22
+ .ui-button .ui-icon
23
+ background-image: url("/assets/images/ui-icons_777777_256x240.png")
data/assets/css/main.sass CHANGED
@@ -17,3 +17,4 @@
17
17
  @import search
18
18
  @import accordion
19
19
  @import tag-list
20
+ @import jquery-ui-icon-overrides
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: harms-columns-front-page
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Harms
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-07 00:00:00.000000000 Z
11
+ date: 2017-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -115,7 +115,14 @@ files:
115
115
  - _sass/_search.sass
116
116
  - _sass/_special-format.sass
117
117
  - _sass/_tag-list.sass
118
+ - _sass/jquery-ui-icon-overrides.sass
118
119
  - assets/css/main.sass
120
+ - assets/images/ui-icons_444444_256x240.png
121
+ - assets/images/ui-icons_555555_256x240.png
122
+ - assets/images/ui-icons_777620_256x240.png
123
+ - assets/images/ui-icons_777777_256x240.png
124
+ - assets/images/ui-icons_cc0000_256x240.png
125
+ - assets/images/ui-icons_ffffff_256x240.png
119
126
  homepage: https://github.com/michael-harms/harms-columns-front-page
120
127
  licenses:
121
128
  - MIT