classic-jekyll-theme 1.4.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +35 -5
- data/_includes/navbanner.html +2 -2
- data/_sass/classic-jekyll-theme.scss +5 -5
- data/_sass/classic/_formatting.scss +20 -8
- data/_sass/classic/_normalize-override.scss +22 -0
- data/_sass/classic/_normalize.scss +461 -0
- data/_sass/classic/_syntax-highlighting.scss +1 -1
- metadata +7 -6
- data/_sass/classic/_base.scss +0 -176
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ebbc93a2ba0047c2c6f902c37e8b56636dd3d0f
|
4
|
+
data.tar.gz: 5ff28fe17feb5a6d65456b9f67c539c6cfd31e3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8194836377723c5c4d8a427dea21095ddde867cc3c622a53a1ba9631eeb6605a3da21264fd71b2bf56ee6c532e00971d34f1b1408accc13f0f1d29860ffa7ce8
|
7
|
+
data.tar.gz: 3dd20c8ffda028ffd3e64c38ed1fd7511016e89a5106836a15508b297996f5496d60da9be7695835f6fc1feed3198cf8ae15b836fe7dafcca016140b44a1f1d8
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Classic-Jekyll-Theme v1.
|
1
|
+
# Classic-Jekyll-Theme v1.5.0
|
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
|
|
@@ -44,6 +44,8 @@ Other features:
|
|
44
44
|
- subscribe: Shows how a visitor can subscribe to your site (Edit to add).
|
45
45
|
- youtube-player: Shows a youtube player that scales with the column it is used in (video id parameter).
|
46
46
|
|
47
|
+
- __Normalize.css__ As of release 1.5.0 [`normalize.css`](https://necolas.github.io/normalize.css/) is used directly instead of through the Jekyll adaptation. This allows for faster upgrade cycles.
|
48
|
+
|
47
49
|
You can get it from [github](https://github.com/Swiftrien/classic-jekyll-theme) or [rubygems](https://rubygems.org/gems/classic-jekyll-theme).
|
48
50
|
|
49
51
|
Subscribe to news about this theme (be informed of new releases) by sending a mail to: rien@balancingrock.nl with the subject "classic".
|
@@ -74,11 +76,12 @@ Goto to the directory:
|
|
74
76
|
|
75
77
|
Change in the Gemfile:
|
76
78
|
|
77
|
-
From `gem "minima", "~> 2.0"` to `gem "classic-jekyll-theme", "~>1.
|
79
|
+
From `gem "minima", "~> 2.0"` to `gem "classic-jekyll-theme", "~>1.5.0"`
|
78
80
|
|
79
81
|
Change in the _config.yml:
|
80
82
|
|
81
83
|
From `theme: minima` to `theme: classic-jekyll-theme`
|
84
|
+
Add `jekyll-data` to the gems.
|
82
85
|
|
83
86
|
Delete the file `about.md`:
|
84
87
|
|
@@ -172,6 +175,7 @@ Some of the text elements in the theme can be translated with the following defi
|
|
172
175
|
Typically you will need to copy some files from the gem iteself to the project (web site) directory. The most common files are:
|
173
176
|
|
174
177
|
- `_sass/classic-jekyll-theme.scss` for configuration
|
178
|
+
- `_sass/classic/_normalize-override.scss` if site wide updates must be made to `_normalize.scss`
|
175
179
|
- `_data/setup.yml` for configuration
|
176
180
|
- `_data/text-for.yml` for configuration
|
177
181
|
- `_includes/secondary-column.html` for the secondary column contents
|
@@ -301,8 +305,14 @@ Release 1.4.1
|
|
301
305
|
- Floating images
|
302
306
|
- Floating text boxes
|
303
307
|
|
304
|
-
To be used in the
|
308
|
+
To be used in the markdown files as class definitions. Example is given in `_support.scss`
|
309
|
+
|
310
|
+
Release 1.5.0
|
305
311
|
|
312
|
+
- Fixed a problem where the menu button (medium and narrow layouts) was not usable in some browsers
|
313
|
+
- Fixed a problem with the menu generation where additional, but empty, submenu items could be created
|
314
|
+
- Rebased the CSS system to `normalized.css` (as `_sass/classic/_normalize.scss`). Though Jekyll 3.3.1 has made this update as well (for base.scss) it is now no longer necessary to wait for Jekyll releases to adopt the latest `normalize.css`. This can now be done manually by simply renaming & replacing the latest `normalize.css` to `_sass/classic/_normalize.scss` in the gem. (Note a link to the source is also found in the `_normalize.scss` file itself)
|
315
|
+
- Fixed the missing banner height setting.
|
306
316
|
|
307
317
|
## Upgrade information
|
308
318
|
|
@@ -408,9 +418,29 @@ The index for a menu item. If not present, the menu ordering is undetermined. If
|
|
408
418
|
- Add to `classic-jekyll-theme.scss` the import of `classic/support` (at end of file)
|
409
419
|
- Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
|
410
420
|
|
411
|
-
|
421
|
+
### from 1.4.1 to 1.5.0
|
412
422
|
|
413
|
-
|
423
|
+
- Since `normalized.css` is now used instead of `base.scss` it is quite possible that the layout of your sites changes a little. Be sure to check the site after generation. If necessary, make any adjustments to `_sass/_normalize-override.scss` and leave the `_normalize.scss` as it is. This way it is very easy to upgrade to new versions of `normalize.css`.
|
424
|
+
- Update the `classic-jekyll-theme.scss` imports as follows:
|
425
|
+
^
|
426
|
+
|
427
|
+
~~~~~
|
428
|
+
// Import partials.
|
429
|
+
@import
|
430
|
+
"classic/normalize",
|
431
|
+
"classic/normalize-override",
|
432
|
+
"classic/syntax-highlighting",
|
433
|
+
"classic/layout",
|
434
|
+
"classic/formatting",
|
435
|
+
"classic/post",
|
436
|
+
"classic/page",
|
437
|
+
"classic/support",
|
438
|
+
"classic/widget-support"
|
439
|
+
;
|
440
|
+
~~~~~
|
441
|
+
- The `$brand-color:` definition in `classic-jekyll-theme.scss` is no longer used and can be removed.
|
442
|
+
- Other files that have changed: `_includes/navbanner.html`, `_sass/classic/_formatting.scss` and `_sass/classic/_syntax-highlighting.scss`. The file `_sass/classic/_base.scss` has been deleted.
|
443
|
+
- Update the version number in the `Gemfile` & delete the `Gemfile.lock` file.
|
414
444
|
|
415
445
|
## Feedback
|
416
446
|
|
data/_includes/navbanner.html
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
<!-- Create a list of top menu item titles -->
|
20
20
|
{% assign topTitles = "" | split: "" %}
|
21
|
-
{% assign sortedPages = site.pages | where:'menuInclude', true | where_exp:'
|
21
|
+
{% assign sortedPages = site.pages | where:'menuInclude', true | where_exp:'item', 'item.menuTopTitle != nil' | sort: 'menuTopIndex', 'last' %}
|
22
22
|
{% for ape in sortedPages %}{% assign topTitles = topTitles | push: ape.menuTopTitle %}{% endfor %}
|
23
23
|
{% assign topTitles = topTitles | uniq %}
|
24
24
|
|
@@ -39,7 +39,7 @@
|
|
39
39
|
{% for topTitle in topTitles %}
|
40
40
|
|
41
41
|
<!-- Create a list of sub menu item titles -->
|
42
|
-
{% assign subTitles = site.pages | where:'menuInclude', true | where:'menuTopTitle', topTitle | where_exp:'
|
42
|
+
{% assign subTitles = site.pages | where:'menuInclude', true | where:'menuTopTitle', topTitle | where_exp:'item', 'item.menuSubTitle != nil' | sort: 'menuSubIndex', 'last' %}
|
43
43
|
|
44
44
|
<li>
|
45
45
|
|
@@ -17,8 +17,7 @@ $hspacing-unit: 14px; // For best results, use even numbers only
|
|
17
17
|
$vspacing-unit: 14px; // For best results, use even numbers only
|
18
18
|
|
19
19
|
$text-color: #111;
|
20
|
-
$background-color: #fdfdfd;
|
21
|
-
$brand-color: #2a7ae2;
|
20
|
+
$background-color: #fdfdfd; // Applied to the top element, override by background settings below
|
22
21
|
|
23
22
|
$grey-color: #828282;
|
24
23
|
$grey-color-light: lighten($grey-color, 40%);
|
@@ -81,7 +80,7 @@ $narrow-icon-voffset: 0px;
|
|
81
80
|
$narrow-icon-hoffset: 0px;
|
82
81
|
|
83
82
|
// Setting a height for the banner. This can be helpfull if a background image or icon has to be displayed.
|
84
|
-
// Note that for 'auto' the banner
|
83
|
+
// Note that for 'auto' the banner height is determined by the title text.
|
85
84
|
$wide-banner-height: auto; // Set to 'auto' to disable a minimum height
|
86
85
|
$medium-banner-height: auto; // Set to 'auto' to disable a minimum height
|
87
86
|
$narrow-banner-height: auto; // Set to 'auto' to disable a minimum height
|
@@ -159,10 +158,11 @@ $narrow-max-width: $medium-min-width - 1;
|
|
159
158
|
|
160
159
|
// Import partials.
|
161
160
|
@import
|
162
|
-
"classic/
|
161
|
+
"classic/normalize",
|
162
|
+
"classic/normalize-override",
|
163
|
+
"classic/syntax-highlighting",
|
163
164
|
"classic/layout",
|
164
165
|
"classic/formatting",
|
165
|
-
"classic/syntax-highlighting",
|
166
166
|
"classic/post",
|
167
167
|
"classic/page",
|
168
168
|
"classic/support",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
// The distinction between "layout" and "formatting" is as follows: If the resulting CCS affects the placement of and/or visibility of multiple items, it is placed in "layout". If the CSS affects only the appearance of an item, then it appears here. Of course the appearance may affect the layout, so there is no hard distinction.
|
2
2
|
|
3
|
-
// Setting a background image on the entire site
|
3
|
+
// Setting a background image on the entire site
|
4
4
|
body {
|
5
5
|
@include wide-layout { background: $wide-body-background; }
|
6
6
|
@include medium-layout { background: $medium-body-background; }
|
@@ -15,6 +15,7 @@ body {
|
|
15
15
|
position: relative;
|
16
16
|
.site-title-text {
|
17
17
|
color: $site-title-color;
|
18
|
+
margin-bottom: 0;
|
18
19
|
@include wide-layout {
|
19
20
|
font-size: $wide-site-title-font-size;
|
20
21
|
margin-left: $wide-horizontal-title-shift;
|
@@ -37,6 +38,7 @@ body {
|
|
37
38
|
height: 100%;
|
38
39
|
}
|
39
40
|
@include wide-layout {
|
41
|
+
height: $wide-banner-height;
|
40
42
|
background: $wide-banner-background;
|
41
43
|
@if $wide-icon-url != none {
|
42
44
|
.banner-icon {
|
@@ -47,6 +49,7 @@ body {
|
|
47
49
|
}
|
48
50
|
}
|
49
51
|
@include medium-layout {
|
52
|
+
height: $medium-banner-height;
|
50
53
|
background: $medium-banner-background;
|
51
54
|
@if $medium-icon-url != none {
|
52
55
|
.banner-icon {
|
@@ -57,6 +60,7 @@ body {
|
|
57
60
|
}
|
58
61
|
}
|
59
62
|
@include narrow-layout {
|
63
|
+
height: $narrow-banner-height;
|
60
64
|
background: $narrow-banner-background;
|
61
65
|
@if $narrow-icon-url != none {
|
62
66
|
.banner-icon {
|
@@ -70,12 +74,17 @@ body {
|
|
70
74
|
|
71
75
|
// Label formatting
|
72
76
|
.navbanner-label {
|
73
|
-
|
77
|
+
|
78
|
+
// Introduction of an icon had an impact on the label behaviour (don't know why) this fixes it.
|
79
|
+
// I found this solution by second-guessing, would love to know why... (please mail me if you do)
|
80
|
+
position: relative;
|
81
|
+
|
74
82
|
// Color for the menu symbol (only visible on narrow and medium sized layouts)
|
75
83
|
label {
|
76
84
|
padding: 0 $hspacing-unit; // Give the menu label more area to make it easier to tap.
|
77
85
|
p {
|
78
86
|
color: $menu-symbol-color;
|
87
|
+
margin: 0;
|
79
88
|
@include wide-layout {
|
80
89
|
// Note: the label is not visible, but we set the correct values anyhow...
|
81
90
|
font-size: $narrow-site-title-font-size;
|
@@ -117,8 +126,12 @@ body {
|
|
117
126
|
background: $menubar-background;
|
118
127
|
|
119
128
|
// Lists are used for the menu's. No spacing for the top level list and no item markers. There will be an item marker for the narrow layout but that marker is state-dependent and set via a content property.
|
120
|
-
ul {
|
121
|
-
|
129
|
+
ul {
|
130
|
+
list-style-type: none;
|
131
|
+
margin: 0;
|
132
|
+
padding: 0;
|
133
|
+
}
|
134
|
+
|
122
135
|
// Set the color for the menu items
|
123
136
|
.menu-item-separator, .menu-item-symbol, .menu-item-title {
|
124
137
|
color: $menu-item-font-color;
|
@@ -139,8 +152,7 @@ body {
|
|
139
152
|
|
140
153
|
// The sub menu items are displayed in a box, make sure the text does not start at the box edge.
|
141
154
|
.menu-subitem {
|
142
|
-
padding
|
143
|
-
padding-right: $hspacing-unit / 2;
|
155
|
+
padding: 0 $hspacing-unit / 2;
|
144
156
|
}
|
145
157
|
|
146
158
|
// Specifics for the narrow sized layout
|
@@ -172,7 +184,7 @@ body {
|
|
172
184
|
@include medium-layout {
|
173
185
|
|
174
186
|
// Keep the submenu tight
|
175
|
-
.menu-subitem p { margin
|
187
|
+
.menu-subitem p { margin: 0; }
|
176
188
|
|
177
189
|
// Formatting of the sub-menu items
|
178
190
|
ul li ul {
|
@@ -186,7 +198,7 @@ body {
|
|
186
198
|
@include wide-layout {
|
187
199
|
|
188
200
|
// Keep the submenu tight
|
189
|
-
.menu-subitem p { margin
|
201
|
+
.menu-subitem p { margin: 0; }
|
190
202
|
|
191
203
|
// Formatting of the sub-menu items
|
192
204
|
ul li ul {
|
@@ -0,0 +1,22 @@
|
|
1
|
+
/*! Override and add to the settings of _normalize.scss in this file */
|
2
|
+
|
3
|
+
html {
|
4
|
+
font-family: $base-font-family;
|
5
|
+
font-weight: $base-font-weight;
|
6
|
+
line-height: $base-line-height;
|
7
|
+
font-size: $base-font-size;
|
8
|
+
color: $text-color;
|
9
|
+
background-color: $background-color;
|
10
|
+
}
|
11
|
+
|
12
|
+
button,
|
13
|
+
input,
|
14
|
+
optgroup,
|
15
|
+
select,
|
16
|
+
textarea {
|
17
|
+
font-family: $base-font-family;
|
18
|
+
font-weight: $base-font-weight;
|
19
|
+
line-height: $base-line-height;
|
20
|
+
font-size: $base-font-size;
|
21
|
+
color: $text-color;
|
22
|
+
}
|
@@ -0,0 +1,461 @@
|
|
1
|
+
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */
|
2
|
+
|
3
|
+
/**
|
4
|
+
* 1. Change the default font family in all browsers (opinionated).
|
5
|
+
* 2. Correct the line height in all browsers.
|
6
|
+
* 3. Prevent adjustments of font size after orientation changes in
|
7
|
+
* IE on Windows Phone and in iOS.
|
8
|
+
*/
|
9
|
+
|
10
|
+
/* Document
|
11
|
+
========================================================================== */
|
12
|
+
|
13
|
+
html {
|
14
|
+
font-family: sans-serif; /* 1 */
|
15
|
+
line-height: 1.15; /* 2 */
|
16
|
+
-ms-text-size-adjust: 100%; /* 3 */
|
17
|
+
-webkit-text-size-adjust: 100%; /* 3 */
|
18
|
+
}
|
19
|
+
|
20
|
+
/* Sections
|
21
|
+
========================================================================== */
|
22
|
+
|
23
|
+
/**
|
24
|
+
* Remove the margin in all browsers (opinionated).
|
25
|
+
*/
|
26
|
+
|
27
|
+
body {
|
28
|
+
margin: 0;
|
29
|
+
}
|
30
|
+
|
31
|
+
/**
|
32
|
+
* Add the correct display in IE 9-.
|
33
|
+
*/
|
34
|
+
|
35
|
+
article,
|
36
|
+
aside,
|
37
|
+
footer,
|
38
|
+
header,
|
39
|
+
nav,
|
40
|
+
section {
|
41
|
+
display: block;
|
42
|
+
}
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Correct the font size and margin on `h1` elements within `section` and
|
46
|
+
* `article` contexts in Chrome, Firefox, and Safari.
|
47
|
+
*/
|
48
|
+
|
49
|
+
h1 {
|
50
|
+
font-size: 2em;
|
51
|
+
margin: 0.67em 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
/* Grouping content
|
55
|
+
========================================================================== */
|
56
|
+
|
57
|
+
/**
|
58
|
+
* Add the correct display in IE 9-.
|
59
|
+
* 1. Add the correct display in IE.
|
60
|
+
*/
|
61
|
+
|
62
|
+
figcaption,
|
63
|
+
figure,
|
64
|
+
main { /* 1 */
|
65
|
+
display: block;
|
66
|
+
}
|
67
|
+
|
68
|
+
/**
|
69
|
+
* Add the correct margin in IE 8.
|
70
|
+
*/
|
71
|
+
|
72
|
+
figure {
|
73
|
+
margin: 1em 40px;
|
74
|
+
}
|
75
|
+
|
76
|
+
/**
|
77
|
+
* 1. Add the correct box sizing in Firefox.
|
78
|
+
* 2. Show the overflow in Edge and IE.
|
79
|
+
*/
|
80
|
+
|
81
|
+
hr {
|
82
|
+
box-sizing: content-box; /* 1 */
|
83
|
+
height: 0; /* 1 */
|
84
|
+
overflow: visible; /* 2 */
|
85
|
+
}
|
86
|
+
|
87
|
+
/**
|
88
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
89
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
90
|
+
*/
|
91
|
+
|
92
|
+
pre {
|
93
|
+
font-family: monospace, monospace; /* 1 */
|
94
|
+
font-size: 1em; /* 2 */
|
95
|
+
}
|
96
|
+
|
97
|
+
/* Text-level semantics
|
98
|
+
========================================================================== */
|
99
|
+
|
100
|
+
/**
|
101
|
+
* 1. Remove the gray background on active links in IE 10.
|
102
|
+
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
|
103
|
+
*/
|
104
|
+
|
105
|
+
a {
|
106
|
+
background-color: transparent; /* 1 */
|
107
|
+
-webkit-text-decoration-skip: objects; /* 2 */
|
108
|
+
}
|
109
|
+
|
110
|
+
/**
|
111
|
+
* Remove the outline on focused links when they are also active or hovered
|
112
|
+
* in all browsers (opinionated).
|
113
|
+
*/
|
114
|
+
|
115
|
+
a:active,
|
116
|
+
a:hover {
|
117
|
+
outline-width: 0;
|
118
|
+
}
|
119
|
+
|
120
|
+
/**
|
121
|
+
* 1. Remove the bottom border in Firefox 39-.
|
122
|
+
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
123
|
+
*/
|
124
|
+
|
125
|
+
abbr[title] {
|
126
|
+
border-bottom: none; /* 1 */
|
127
|
+
text-decoration: underline; /* 2 */
|
128
|
+
text-decoration: underline dotted; /* 2 */
|
129
|
+
}
|
130
|
+
|
131
|
+
/**
|
132
|
+
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
|
133
|
+
*/
|
134
|
+
|
135
|
+
b,
|
136
|
+
strong {
|
137
|
+
font-weight: inherit;
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Add the correct font weight in Chrome, Edge, and Safari.
|
142
|
+
*/
|
143
|
+
|
144
|
+
b,
|
145
|
+
strong {
|
146
|
+
font-weight: bolder;
|
147
|
+
}
|
148
|
+
|
149
|
+
/**
|
150
|
+
* 1. Correct the inheritance and scaling of font size in all browsers.
|
151
|
+
* 2. Correct the odd `em` font sizing in all browsers.
|
152
|
+
*/
|
153
|
+
|
154
|
+
code,
|
155
|
+
kbd,
|
156
|
+
samp {
|
157
|
+
font-family: monospace, monospace; /* 1 */
|
158
|
+
font-size: 1em; /* 2 */
|
159
|
+
}
|
160
|
+
|
161
|
+
/**
|
162
|
+
* Add the correct font style in Android 4.3-.
|
163
|
+
*/
|
164
|
+
|
165
|
+
dfn {
|
166
|
+
font-style: italic;
|
167
|
+
}
|
168
|
+
|
169
|
+
/**
|
170
|
+
* Add the correct background and color in IE 9-.
|
171
|
+
*/
|
172
|
+
|
173
|
+
mark {
|
174
|
+
background-color: #ff0;
|
175
|
+
color: #000;
|
176
|
+
}
|
177
|
+
|
178
|
+
/**
|
179
|
+
* Add the correct font size in all browsers.
|
180
|
+
*/
|
181
|
+
|
182
|
+
small {
|
183
|
+
font-size: 80%;
|
184
|
+
}
|
185
|
+
|
186
|
+
/**
|
187
|
+
* Prevent `sub` and `sup` elements from affecting the line height in
|
188
|
+
* all browsers.
|
189
|
+
*/
|
190
|
+
|
191
|
+
sub,
|
192
|
+
sup {
|
193
|
+
font-size: 75%;
|
194
|
+
line-height: 0;
|
195
|
+
position: relative;
|
196
|
+
vertical-align: baseline;
|
197
|
+
}
|
198
|
+
|
199
|
+
sub {
|
200
|
+
bottom: -0.25em;
|
201
|
+
}
|
202
|
+
|
203
|
+
sup {
|
204
|
+
top: -0.5em;
|
205
|
+
}
|
206
|
+
|
207
|
+
/* Embedded content
|
208
|
+
========================================================================== */
|
209
|
+
|
210
|
+
/**
|
211
|
+
* Add the correct display in IE 9-.
|
212
|
+
*/
|
213
|
+
|
214
|
+
audio,
|
215
|
+
video {
|
216
|
+
display: inline-block;
|
217
|
+
}
|
218
|
+
|
219
|
+
/**
|
220
|
+
* Add the correct display in iOS 4-7.
|
221
|
+
*/
|
222
|
+
|
223
|
+
audio:not([controls]) {
|
224
|
+
display: none;
|
225
|
+
height: 0;
|
226
|
+
}
|
227
|
+
|
228
|
+
/**
|
229
|
+
* Remove the border on images inside links in IE 10-.
|
230
|
+
*/
|
231
|
+
|
232
|
+
img {
|
233
|
+
border-style: none;
|
234
|
+
}
|
235
|
+
|
236
|
+
/**
|
237
|
+
* Hide the overflow in IE.
|
238
|
+
*/
|
239
|
+
|
240
|
+
svg:not(:root) {
|
241
|
+
overflow: hidden;
|
242
|
+
}
|
243
|
+
|
244
|
+
/* Forms
|
245
|
+
========================================================================== */
|
246
|
+
|
247
|
+
/**
|
248
|
+
* 1. Change the font styles in all browsers (opinionated).
|
249
|
+
* 2. Remove the margin in Firefox and Safari.
|
250
|
+
*/
|
251
|
+
|
252
|
+
button,
|
253
|
+
input,
|
254
|
+
optgroup,
|
255
|
+
select,
|
256
|
+
textarea {
|
257
|
+
font-family: sans-serif; /* 1 */
|
258
|
+
font-size: 100%; /* 1 */
|
259
|
+
line-height: 1.15; /* 1 */
|
260
|
+
margin: 0; /* 2 */
|
261
|
+
}
|
262
|
+
|
263
|
+
/**
|
264
|
+
* Show the overflow in IE.
|
265
|
+
* 1. Show the overflow in Edge.
|
266
|
+
*/
|
267
|
+
|
268
|
+
button,
|
269
|
+
input { /* 1 */
|
270
|
+
overflow: visible;
|
271
|
+
}
|
272
|
+
|
273
|
+
/**
|
274
|
+
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
275
|
+
* 1. Remove the inheritance of text transform in Firefox.
|
276
|
+
*/
|
277
|
+
|
278
|
+
button,
|
279
|
+
select { /* 1 */
|
280
|
+
text-transform: none;
|
281
|
+
}
|
282
|
+
|
283
|
+
/**
|
284
|
+
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
|
285
|
+
* controls in Android 4.
|
286
|
+
* 2. Correct the inability to style clickable types in iOS and Safari.
|
287
|
+
*/
|
288
|
+
|
289
|
+
button,
|
290
|
+
html [type="button"], /* 1 */
|
291
|
+
[type="reset"],
|
292
|
+
[type="submit"] {
|
293
|
+
-webkit-appearance: button; /* 2 */
|
294
|
+
}
|
295
|
+
|
296
|
+
/**
|
297
|
+
* Remove the inner border and padding in Firefox.
|
298
|
+
*/
|
299
|
+
|
300
|
+
button::-moz-focus-inner,
|
301
|
+
[type="button"]::-moz-focus-inner,
|
302
|
+
[type="reset"]::-moz-focus-inner,
|
303
|
+
[type="submit"]::-moz-focus-inner {
|
304
|
+
border-style: none;
|
305
|
+
padding: 0;
|
306
|
+
}
|
307
|
+
|
308
|
+
/**
|
309
|
+
* Restore the focus styles unset by the previous rule.
|
310
|
+
*/
|
311
|
+
|
312
|
+
button:-moz-focusring,
|
313
|
+
[type="button"]:-moz-focusring,
|
314
|
+
[type="reset"]:-moz-focusring,
|
315
|
+
[type="submit"]:-moz-focusring {
|
316
|
+
outline: 1px dotted ButtonText;
|
317
|
+
}
|
318
|
+
|
319
|
+
/**
|
320
|
+
* Change the border, margin, and padding in all browsers (opinionated).
|
321
|
+
*/
|
322
|
+
|
323
|
+
fieldset {
|
324
|
+
border: 1px solid #c0c0c0;
|
325
|
+
margin: 0 2px;
|
326
|
+
padding: 0.35em 0.625em 0.75em;
|
327
|
+
}
|
328
|
+
|
329
|
+
/**
|
330
|
+
* 1. Correct the text wrapping in Edge and IE.
|
331
|
+
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
332
|
+
* 3. Remove the padding so developers are not caught out when they zero out
|
333
|
+
* `fieldset` elements in all browsers.
|
334
|
+
*/
|
335
|
+
|
336
|
+
legend {
|
337
|
+
box-sizing: border-box; /* 1 */
|
338
|
+
color: inherit; /* 2 */
|
339
|
+
display: table; /* 1 */
|
340
|
+
max-width: 100%; /* 1 */
|
341
|
+
padding: 0; /* 3 */
|
342
|
+
white-space: normal; /* 1 */
|
343
|
+
}
|
344
|
+
|
345
|
+
/**
|
346
|
+
* 1. Add the correct display in IE 9-.
|
347
|
+
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
348
|
+
*/
|
349
|
+
|
350
|
+
progress {
|
351
|
+
display: inline-block; /* 1 */
|
352
|
+
vertical-align: baseline; /* 2 */
|
353
|
+
}
|
354
|
+
|
355
|
+
/**
|
356
|
+
* Remove the default vertical scrollbar in IE.
|
357
|
+
*/
|
358
|
+
|
359
|
+
textarea {
|
360
|
+
overflow: auto;
|
361
|
+
}
|
362
|
+
|
363
|
+
/**
|
364
|
+
* 1. Add the correct box sizing in IE 10-.
|
365
|
+
* 2. Remove the padding in IE 10-.
|
366
|
+
*/
|
367
|
+
|
368
|
+
[type="checkbox"],
|
369
|
+
[type="radio"] {
|
370
|
+
box-sizing: border-box; /* 1 */
|
371
|
+
padding: 0; /* 2 */
|
372
|
+
}
|
373
|
+
|
374
|
+
/**
|
375
|
+
* Correct the cursor style of increment and decrement buttons in Chrome.
|
376
|
+
*/
|
377
|
+
|
378
|
+
[type="number"]::-webkit-inner-spin-button,
|
379
|
+
[type="number"]::-webkit-outer-spin-button {
|
380
|
+
height: auto;
|
381
|
+
}
|
382
|
+
|
383
|
+
/**
|
384
|
+
* 1. Correct the odd appearance in Chrome and Safari.
|
385
|
+
* 2. Correct the outline style in Safari.
|
386
|
+
*/
|
387
|
+
|
388
|
+
[type="search"] {
|
389
|
+
-webkit-appearance: textfield; /* 1 */
|
390
|
+
outline-offset: -2px; /* 2 */
|
391
|
+
}
|
392
|
+
|
393
|
+
/**
|
394
|
+
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
|
395
|
+
*/
|
396
|
+
|
397
|
+
[type="search"]::-webkit-search-cancel-button,
|
398
|
+
[type="search"]::-webkit-search-decoration {
|
399
|
+
-webkit-appearance: none;
|
400
|
+
}
|
401
|
+
|
402
|
+
/**
|
403
|
+
* 1. Correct the inability to style clickable types in iOS and Safari.
|
404
|
+
* 2. Change font properties to `inherit` in Safari.
|
405
|
+
*/
|
406
|
+
|
407
|
+
::-webkit-file-upload-button {
|
408
|
+
-webkit-appearance: button; /* 1 */
|
409
|
+
font: inherit; /* 2 */
|
410
|
+
}
|
411
|
+
|
412
|
+
/* Interactive
|
413
|
+
========================================================================== */
|
414
|
+
|
415
|
+
/*
|
416
|
+
* Add the correct display in IE 9-.
|
417
|
+
* 1. Add the correct display in Edge, IE, and Firefox.
|
418
|
+
*/
|
419
|
+
|
420
|
+
details, /* 1 */
|
421
|
+
menu {
|
422
|
+
display: block;
|
423
|
+
}
|
424
|
+
|
425
|
+
/*
|
426
|
+
* Add the correct display in all browsers.
|
427
|
+
*/
|
428
|
+
|
429
|
+
summary {
|
430
|
+
display: list-item;
|
431
|
+
}
|
432
|
+
|
433
|
+
/* Scripting
|
434
|
+
========================================================================== */
|
435
|
+
|
436
|
+
/**
|
437
|
+
* Add the correct display in IE 9-.
|
438
|
+
*/
|
439
|
+
|
440
|
+
canvas {
|
441
|
+
display: inline-block;
|
442
|
+
}
|
443
|
+
|
444
|
+
/**
|
445
|
+
* Add the correct display in IE.
|
446
|
+
*/
|
447
|
+
|
448
|
+
template {
|
449
|
+
display: none;
|
450
|
+
}
|
451
|
+
|
452
|
+
/* Hidden
|
453
|
+
========================================================================== */
|
454
|
+
|
455
|
+
/**
|
456
|
+
* Add the correct display in IE 10-.
|
457
|
+
*/
|
458
|
+
|
459
|
+
[hidden] {
|
460
|
+
display: none;
|
461
|
+
}
|
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
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rien
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll-feed
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '0.
|
33
|
+
version: '0.4'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '0.
|
40
|
+
version: '0.4'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: jekyll
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +86,7 @@ description: A responsive 3 column Jekyll theme for wide, medium and narrow disp
|
|
86
86
|
European sites. The three columns consist of 1 primary column, a secondary column
|
87
87
|
and a tertiary column. The secondary column can be placed either to the right or
|
88
88
|
left of the primary column. The tertiary column is on the other side. The secondary
|
89
|
-
and tertiary columns can be disabled.
|
89
|
+
and tertiary columns can be disabled. This theme uses normalize.css.
|
90
90
|
email:
|
91
91
|
- rien@balancingrock.nl
|
92
92
|
executables: []
|
@@ -120,9 +120,10 @@ files:
|
|
120
120
|
- _layouts/page.html
|
121
121
|
- _layouts/post.html
|
122
122
|
- _sass/classic-jekyll-theme.scss
|
123
|
-
- _sass/classic/_base.scss
|
124
123
|
- _sass/classic/_formatting.scss
|
125
124
|
- _sass/classic/_layout.scss
|
125
|
+
- _sass/classic/_normalize-override.scss
|
126
|
+
- _sass/classic/_normalize.scss
|
126
127
|
- _sass/classic/_page.scss
|
127
128
|
- _sass/classic/_post.scss
|
128
129
|
- _sass/classic/_support.scss
|
data/_sass/classic/_base.scss
DELETED
@@ -1,176 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Reset some basic elements
|
3
|
-
*/
|
4
|
-
body, h1, h2, h3, h4, h5, h6,
|
5
|
-
p, blockquote, pre, hr,
|
6
|
-
dl, dd, ol, ul, figure {
|
7
|
-
margin: 0;
|
8
|
-
padding: 0;
|
9
|
-
}
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
/**
|
14
|
-
* Basic styling
|
15
|
-
*/
|
16
|
-
body {
|
17
|
-
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
18
|
-
color: $text-color;
|
19
|
-
background-color: $background-color;
|
20
|
-
-webkit-text-size-adjust: 100%;
|
21
|
-
-webkit-font-feature-settings: "kern" 1;
|
22
|
-
-moz-font-feature-settings: "kern" 1;
|
23
|
-
-o-font-feature-settings: "kern" 1;
|
24
|
-
font-feature-settings: "kern" 1;
|
25
|
-
font-kerning: normal;
|
26
|
-
}
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
/**
|
31
|
-
* Set `margin-bottom` to maintain vertical rhythm
|
32
|
-
*/
|
33
|
-
h1, h2, h3, h4, h5, h6,
|
34
|
-
p, blockquote, pre,
|
35
|
-
ul, ol, dl, figure,
|
36
|
-
%vertical-rhythm {
|
37
|
-
margin-bottom: $vspacing-unit / 2;
|
38
|
-
}
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
/**
|
43
|
-
* Images
|
44
|
-
*/
|
45
|
-
img {
|
46
|
-
max-width: 100%;
|
47
|
-
vertical-align: middle;
|
48
|
-
}
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
/**
|
53
|
-
* Figures
|
54
|
-
*/
|
55
|
-
figure > img {
|
56
|
-
display: block;
|
57
|
-
}
|
58
|
-
|
59
|
-
figcaption {
|
60
|
-
font-size: $small-font-size;
|
61
|
-
}
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
/**
|
66
|
-
* Lists
|
67
|
-
*/
|
68
|
-
ul, ol {
|
69
|
-
margin-left: $hspacing-unit;
|
70
|
-
}
|
71
|
-
|
72
|
-
li {
|
73
|
-
> ul,
|
74
|
-
> ol {
|
75
|
-
margin-bottom: 0;
|
76
|
-
}
|
77
|
-
}
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
/**
|
82
|
-
* Headings
|
83
|
-
*/
|
84
|
-
h1, h2, h3, h4, h5, h6 {
|
85
|
-
font-weight: $base-font-weight;
|
86
|
-
}
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
/**
|
91
|
-
* Links
|
92
|
-
*/
|
93
|
-
a {
|
94
|
-
color: $brand-color;
|
95
|
-
text-decoration: none;
|
96
|
-
|
97
|
-
&:visited {
|
98
|
-
color: darken($brand-color, 15%);
|
99
|
-
}
|
100
|
-
|
101
|
-
&:hover {
|
102
|
-
color: $text-color;
|
103
|
-
text-decoration: underline;
|
104
|
-
}
|
105
|
-
}
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
/**
|
110
|
-
* Blockquotes
|
111
|
-
*/
|
112
|
-
blockquote {
|
113
|
-
color: $grey-color;
|
114
|
-
border-left: 4px solid $grey-color-light;
|
115
|
-
padding-left: $vspacing-unit / 2;
|
116
|
-
font-size: 18px;
|
117
|
-
letter-spacing: -1px;
|
118
|
-
font-style: italic;
|
119
|
-
|
120
|
-
> :last-child {
|
121
|
-
margin-bottom: 0;
|
122
|
-
}
|
123
|
-
}
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
/**
|
128
|
-
* Code formatting
|
129
|
-
*/
|
130
|
-
pre,
|
131
|
-
code {
|
132
|
-
font-size: 15px;
|
133
|
-
border: 1px solid $grey-color-light;
|
134
|
-
border-radius: 3px;
|
135
|
-
background-color: #eef;
|
136
|
-
}
|
137
|
-
|
138
|
-
code {
|
139
|
-
padding: 1px 5px;
|
140
|
-
}
|
141
|
-
|
142
|
-
pre {
|
143
|
-
padding: 8px 12px;
|
144
|
-
overflow-x: auto;
|
145
|
-
|
146
|
-
> code {
|
147
|
-
border: 0;
|
148
|
-
padding-right: 0;
|
149
|
-
padding-left: 0;
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
/**
|
156
|
-
* Clearfix
|
157
|
-
*/
|
158
|
-
%clearfix:after {
|
159
|
-
content: "";
|
160
|
-
display: table;
|
161
|
-
clear: both;
|
162
|
-
}
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
/**
|
167
|
-
* Icons
|
168
|
-
*/
|
169
|
-
.icon > svg {
|
170
|
-
display: inline-block;
|
171
|
-
vertical-align: middle;
|
172
|
-
|
173
|
-
path {
|
174
|
-
fill: $grey-color;
|
175
|
-
}
|
176
|
-
}
|