classic-jekyll-theme 1.4.0 → 1.4.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7e4afdb8878750bd989388454d71fbd29b2a6dd1
4
- data.tar.gz: f55330e49aaa8531fe96d6ba326ac0b6ee0f8842
3
+ metadata.gz: 71d814e6bea11a969f25d2a5d5971cefb2e629b5
4
+ data.tar.gz: 9bb3db93f2de6e77a49a696359f1cc8a989646da
5
5
  SHA512:
6
- metadata.gz: 953e04315ad1288d1c428b46d0f46719161166f7ee0e1b7afab8ed9d64a439ccf3a622466dde7a5c0ed060ec019f373e451d033b6d1a12bca46e6d1f5832231a
7
- data.tar.gz: 4aa0f53e531adf7f1a0684c7df10956f4a5c79a9b58bc9aaecd7c694bd708c72b4aead1f6d69a94cb82d1f6f3f6bc5e0e91d87bb572fcc3e85549b269e9416b8
6
+ metadata.gz: a964944c5c10279964988b84895f2cbee762309955790e39117f0b6124c89a3b6f64b036a77b65d117dc6a66ab3f6b6cecef3f3ab7f0bf50eae8fae711f832d2
7
+ data.tar.gz: b0682a5a08fa02a68b12e84f1f3c20812d609a28832047018a593214b74d840195895963f3beace001e356dd165726405532b4ae68d5afae31eff475c9a5173a
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Classic-Jekyll-Theme v1.4.0
1
+ # Classic-Jekyll-Theme v1.4.1
2
2
 
3
3
  Welcome to Classic-Jekyll-Theme. This theme centers around one of the most used website structures on the web. A banner, navigation menu, (up to) three columns and a footer. The design is fully responsive for three different screen widths: wide, medium and narrow. It is probably best shown in an example:
4
4
 
@@ -74,7 +74,7 @@ Goto to the directory:
74
74
 
75
75
  Change in the Gemfile:
76
76
 
77
- From `gem "minima", "~> 2.0"` to `gem "classic-jekyll-theme", "~>1.4.0"`
77
+ From `gem "minima", "~> 2.0"` to `gem "classic-jekyll-theme", "~>1.4.1"`
78
78
 
79
79
  Change in the _config.yml:
80
80
 
@@ -286,13 +286,24 @@ Release 1.3.2
286
286
 
287
287
  Release 1.3.3
288
288
 
289
- - Added the "jekyll-data" gem to simplify initial configuration/setup.
289
+ - Added the `jekyll-data` gem to simplify initial configuration/setup.
290
290
 
291
291
  Release 1.4.0
292
292
 
293
- - Added "youtube-player" widget.
293
+ - Added `youtube-player` widget.
294
294
  - Improved placement control of the site icon
295
295
 
296
+ Release 1.4.1
297
+
298
+ - Added `_support.scss` with commonly used layout stuff for articles/posts like:
299
+ - Centered text
300
+ - Centered image
301
+ - Floating images
302
+ - Floating text boxes
303
+
304
+ To be used in the mardown files as class definitions. Example is given in `_support.scss`
305
+
306
+
296
307
  ## Upgrade information
297
308
 
298
309
  ### from 0.2.6 to 1.0.0
@@ -375,23 +386,28 @@ The index for a menu item. If not present, the menu ordering is undetermined. If
375
386
  ^
376
387
 
377
388
  ~~~~~~
378
- $wide-icon-vposition: center;
379
- $wide-icon-hposition: left;
380
- $wide-icon-voffset: 0px;
381
- $wide-icon-hoffset: 0px;
382
- $medium-icon-vposition: center;
383
- $medium-icon-hposition: left;
384
- $medium-icon-voffset: 0px;
385
- $medium-icon-hoffset: 0px;
386
- $narrow-icon-vposition: center;
387
- $narrow-icon-hposition: left;
388
- $narrow-icon-voffset: 0px;
389
- $narrow-icon-hoffset: 0px;
389
+ $wide-icon-vposition: center;
390
+ $wide-icon-hposition: left;
391
+ $wide-icon-voffset: 0px;
392
+ $wide-icon-hoffset: 0px;
393
+ $medium-icon-vposition: center;
394
+ $medium-icon-hposition: left;
395
+ $medium-icon-voffset: 0px;
396
+ $medium-icon-hoffset: 0px;
397
+ $narrow-icon-vposition: center;
398
+ $narrow-icon-hposition: left;
399
+ $narrow-icon-voffset: 0px;
400
+ $narrow-icon-hoffset: 0px;
390
401
  ~~~~~~
391
402
 
392
403
  - Alternatively copy the new `classic-jekyll-theme.scss` to your project and re-apply the changes you made.
393
404
  - Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
394
405
 
406
+ ### from 1.4.0 to 1.4.1
407
+
408
+ - Add to `classic-jekyll-theme.scss` the import of `classic/support` (at end of file)
409
+ - Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
410
+
395
411
  ## Known problems (need your help)
396
412
 
397
413
  There is some odd behaviour in the navigation bar that I have not been able to nail down yet. It has to do with the space between top level menu items. There is some additional space that I am not able to trace down. For those who like a puzzle: there is some space around a ".navbanner-menu ul li" that has no obvious source. Please let me know if you happen to find where it comes from. (rien@balancingrock.nl)
@@ -165,5 +165,6 @@ $narrow-max-width: $medium-min-width - 1;
165
165
  "classic/syntax-highlighting",
166
166
  "classic/post",
167
167
  "classic/page",
168
+ "classic/support",
168
169
  "classic/widget-support"
169
170
  ;
@@ -0,0 +1,65 @@
1
+ // This file contains class definitions for support of page and post layout. The classes are intended to be used in the markdown files as follows:
2
+ //
3
+ // ^
4
+ // {:.text-boxed-float-left}
5
+ // This is the text that will be in the box on the left hand side.
6
+ // ^
7
+ //
8
+
9
+ // text centered in a column
10
+ .text-centered {
11
+ text-align: center;
12
+ }
13
+
14
+ // text centered in a column and bold
15
+ .text-centered-bold {
16
+ text-align: center;
17
+ font-weight: bold;
18
+ }
19
+
20
+ // An image centered in a column with nothing on either side
21
+ .image-centered {
22
+ display: block;
23
+ margin-left: auto;
24
+ margin-right: auto;
25
+ }
26
+
27
+ // An image floating centered with text on both sides
28
+ .image-float-center {
29
+ float: center;
30
+ margin: $vspacing-unit $hspacing-unit
31
+ }
32
+
33
+ // An image float right (with text flowing on the left side)
34
+ .image-float-right {
35
+ float: right;
36
+ margin: $vspacing-unit 0 $vspacing-unit $hspacing-unit
37
+ }
38
+
39
+ // An image float left (with text flowing on the right side)
40
+ .image-float-left {
41
+ float: left;
42
+ margin: $vspacing-unit $hspacing-unit $vspacing-unit 0
43
+ }
44
+
45
+ // A floating text box on the right hand side.
46
+ .text-boxed-float-right {
47
+ float: right;
48
+ font-size: $small-font-size;
49
+ font-style: italic;
50
+ border: 1px solid lightgray;
51
+ margin: $vspacing-unit/2 0 $vspacing-unit/2 $hspacing-unit;
52
+ padding: 0 $hspacing-unit/2;
53
+ width: 25%
54
+ }
55
+
56
+ // A floating text box on the left hand side
57
+ .text-boxed-float-left {
58
+ float: left;
59
+ font-size: $small-font-size;
60
+ font-style: italic;
61
+ border: 1px solid lightgray;
62
+ margin: $vspacing-unit/2 $hspacing-unit $vspacing-unit/2 0;
63
+ padding: 0 $hspacing-unit/2;
64
+ width: 25%
65
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: classic-jekyll-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rien
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-27 00:00:00.000000000 Z
11
+ date: 2016-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-feed
@@ -125,6 +125,7 @@ files:
125
125
  - _sass/classic/_layout.scss
126
126
  - _sass/classic/_page.scss
127
127
  - _sass/classic/_post.scss
128
+ - _sass/classic/_support.scss
128
129
  - _sass/classic/_syntax-highlighting.scss
129
130
  - _sass/classic/_widget-support.scss
130
131
  - assets/js/cookieconsent.min.js