overkyll-jekyll-theme 0.5 → 0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -2
- data/_includes/header.html +9 -4
- data/_includes/localfont.js +1 -1
- data/_layouts/default.html +3 -5
- data/_layouts/home.html +13 -0
- data/_layouts/page.html +4 -9
- data/_layouts/post.html +8 -6
- data/assets/css/main.scss +1 -1
- metadata +8 -24
- data/_sass/base/_base.scss +0 -168
- data/_sass/base/_font.scss +0 -31
- data/_sass/base/_layout.scss +0 -86
- data/_sass/base/_normalize.scss +0 -424
- data/_sass/config/_colors.scss +0 -64
- data/_sass/config/_mediaqueries.scss +0 -102
- data/_sass/config/_typography.scss +0 -97
- data/_sass/generic/_broken-images.scss +0 -36
- data/_sass/generic/_normalize-opentype.scss +0 -112
- data/_sass/generic/_print.scss +0 -44
- data/_sass/generic/_skiplink.scss +0 -26
- data/_sass/generic/_syntax-highlighting.scss +0 -73
- data/_sass/object/_header.scss +0 -93
- data/_sass/object/_pagination.scss +0 -63
- data/_sass/object/_posts.scss +0 -26
- data/_sass/overkyll-jekyll-theme.scss +0 -26
- data/_sass/tool/_utilities.scss +0 -107
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 077463d5e282da0fa25c28cd9e127114cefa7308
|
4
|
+
data.tar.gz: 6606a14ddcb690337ad554dc92b17151d058c3c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d36ccc42a7263a14520cfab28305bac0a6a2b0300f090557bf381f3a71787def541eb897ae0c267aa34483de7d5bcf7cc69786a7542f45a2dff900b3b0ec57a4
|
7
|
+
data.tar.gz: e3e25db6c5626ac86e585ef92f0835af55e0434430d2da48f272cf69b41a9c4636be823384a111eb71e0d3bb54a1a862f04dedf25a15129e8f318ef143262e43
|
data/README.md
CHANGED
@@ -1,5 +1,22 @@
|
|
1
1
|
# Overkyll Jekyll Theme
|
2
2
|
|
3
|
+
![Screenshot of Overkyll](screenshot.png)
|
4
|
+
|
5
|
+
## Presentation
|
6
|
+
|
7
|
+
Fast and light, it can be use for a small blog or as a theme for starting a bigger site. Find the code of [overkyll on Github](https://github.com/bertrandkeller/overkyll-jekyll-theme)
|
8
|
+
|
9
|
+
It implements this differents technologies :
|
10
|
+
|
11
|
+
1. [ITCSS](http://itcss.io/) architecture.
|
12
|
+
2. [Modular scale](http://www.modularscale.com/) typography
|
13
|
+
3. [Unison JS](http://bjork24.github.io/Unison/) Unifying named breakpoints across CSS, JS, and HTML
|
14
|
+
4. [LocalFont](https://jaicab.com/localFont/) Implement localStorage web font caching in seconds
|
15
|
+
5. [LoadingCSS](https://github.com/filamentgroup/loadCSS) A function for loading CSS asynchronously
|
16
|
+
6. [Overpass](http://overpassfont.org/) An open source webfont family inspired by Highway Gothic
|
17
|
+
7. [Open Color](https://yeun.github.io/open-color/) Color optimized for UI like font, background, border, etc.
|
18
|
+
8. [Css lock](https://fvsch.com/code/css-locks/) Progressive increasing fontsize - in canal and river navigation
|
19
|
+
|
3
20
|
## Install as Gem Theme
|
4
21
|
|
5
22
|
Jekyll requires Ruby so make sure Ruby is installed before you begin.
|
@@ -8,7 +25,7 @@ Jekyll requires Ruby so make sure Ruby is installed before you begin.
|
|
8
25
|
- Install Jekyll and Bundler
|
9
26
|
- `gem install jekyll bundler`
|
10
27
|
- Create a New Site
|
11
|
-
- `
|
28
|
+
- `jekyll new mysite`
|
12
29
|
- Move into that directory
|
13
30
|
- `cd mysite`
|
14
31
|
- Verify
|
@@ -34,7 +51,7 @@ Jekyll requires Ruby so make sure Ruby is installed before you begin.
|
|
34
51
|
- Open `_config.yml` and change the line `theme: minima` to this:
|
35
52
|
- `theme: overkyll-jekyll-theme`
|
36
53
|
|
37
|
-
|
54
|
+
## Jekyll 2.x Method
|
38
55
|
Jekyll requires Ruby so make sure Ruby is installed before you begin.
|
39
56
|
|
40
57
|
- Download this site
|
data/_includes/header.html
CHANGED
@@ -1,9 +1,14 @@
|
|
1
1
|
<div class="skip-links">
|
2
|
-
<a href="#main">
|
2
|
+
<a href="#main">Contenu principal</a>
|
3
3
|
</div>
|
4
|
+
{% for page in site.html_pages %}
|
5
|
+
{% if page.navigation %}
|
6
|
+
{% assign loopindex = loopindex | plus: 1 %}
|
7
|
+
{% endif %}
|
8
|
+
{% endfor %}
|
4
9
|
<header class="site-header" role="banner">
|
5
10
|
|
6
|
-
<div class="wrapper">
|
11
|
+
<div class="wrapper {% if loopindex <= 3 %}wrapper--flex{% endif %}">
|
7
12
|
|
8
13
|
<div class="site-logo">
|
9
14
|
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
@@ -11,9 +16,9 @@
|
|
11
16
|
|
12
17
|
<nav class="nav-main" role="navigation">
|
13
18
|
<ul>
|
14
|
-
{% for page in site.
|
19
|
+
{% for page in site.html_pages %}
|
15
20
|
{% if page.navigation %}
|
16
|
-
<li><a class="page-link" href="{{ page.url |
|
21
|
+
<li><a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
|
17
22
|
{% endif %}
|
18
23
|
{% endfor %}
|
19
24
|
</ul>
|
data/_includes/localfont.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
!function(){"use strict";function e(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)}function t(e){return window.localStorage&&localStorage.font_css_cache&&localStorage.font_css_cache_file===e}function n(){if(window.localStorage&&window.XMLHttpRequest)if(t(o))c(localStorage.font_css_cache);else{var n=new XMLHttpRequest;n.open("GET",o,!0),e(n,"load",function(){4===n.readyState&&(c(n.responseText),localStorage.font_css_cache=n.responseText,localStorage.font_css_cache_file=o)}),n.send()}else{var a=document.createElement("link");a.href=o,a.rel="stylesheet",a.type="text/css",document.getElementsByTagName("head")[0].appendChild(a),document.cookie="font_css_cache"}}function c(e){var t=document.createElement("style");t.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(t)}var o="/assets/css/font.css";window.localStorage&&localStorage.font_css_cache||document.cookie.indexOf("font_css_cache")>-1?n():e(window,"load",n)}();
|
1
|
+
!function(){"use strict";function e(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent&&e.attachEvent("on"+t,n)}function t(e){return window.localStorage&&localStorage.font_css_cache&&localStorage.font_css_cache_file===e}function n(){if(window.localStorage&&window.XMLHttpRequest)if(t(o))c(localStorage.font_css_cache);else{var n=new XMLHttpRequest;n.open("GET",o,!0),e(n,"load",function(){4===n.readyState&&(c(n.responseText),localStorage.font_css_cache=n.responseText,localStorage.font_css_cache_file=o)}),n.send()}else{var a=document.createElement("link");a.href=o,a.rel="stylesheet",a.type="text/css",document.getElementsByTagName("head")[0].appendChild(a),document.cookie="font_css_cache";}}function c(e){var t=document.createElement("style");t.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(t),document.getElementsByTagName("html")[0].className+=' font-loaded'}var o="/assets/css/font.css";window.localStorage&&localStorage.font_css_cache||document.cookie.indexOf("font_css_cache")>-1?n():e(window,"load",n)}();
|
data/_layouts/default.html
CHANGED
@@ -7,14 +7,12 @@ layout: default
|
|
7
7
|
|
8
8
|
{% include head.html %}
|
9
9
|
|
10
|
-
<body itemscope itemtype="http://schema.org/WebPage">
|
10
|
+
<body class="page" itemscope itemtype="http://schema.org/WebPage">
|
11
11
|
|
12
12
|
{% include header.html %}
|
13
13
|
|
14
|
-
<main id="main"
|
15
|
-
|
16
|
-
{{ content }}
|
17
|
-
</div>
|
14
|
+
<main id="main">
|
15
|
+
{{ content }}
|
18
16
|
</main>
|
19
17
|
<script src={{ "/assets/js/instantclick.min.js" | relative_url }} data-no-instant></script>
|
20
18
|
<script data-no-instant>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
{% assign post = site.posts.first %}
|
6
|
+
|
7
|
+
<section class="post wrapper">
|
8
|
+
<h1><a href="{{ post.url | relative_url }}">{{ post.title }}</a></h1>
|
9
|
+
<p class="post-meta">{{ post.date | date: "%d/%m/%Y" }}</p>
|
10
|
+
{{ post.content | markdownify }}
|
11
|
+
</section>
|
12
|
+
|
13
|
+
{% include pagination.html %}
|
data/_layouts/page.html
CHANGED
data/_layouts/post.html
CHANGED
@@ -2,10 +2,12 @@
|
|
2
2
|
layout: default
|
3
3
|
---
|
4
4
|
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
|
5
|
+
<div class="wrapper">
|
6
|
+
<article class="post">
|
7
|
+
<h1 class="post-title">{{ page.title }}</h1>
|
8
|
+
<p class="post-meta">{{ page.date | date: "%d/%m/%Y" }}</p>
|
9
|
+
{{ content | markdownify }}
|
10
|
+
</article>
|
10
11
|
|
11
|
-
{% include pagination.html %}
|
12
|
+
{% include pagination.html %}
|
13
|
+
</div>
|
data/assets/css/main.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overkyll-jekyll-theme
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.8'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bertrandkeller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '3.
|
19
|
+
version: '3.5'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '3.
|
26
|
+
version: '3.5'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '11.0'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '11.0'
|
55
55
|
description:
|
56
56
|
email:
|
57
57
|
- bertrand.keller@gmail.com
|
@@ -74,25 +74,9 @@ files:
|
|
74
74
|
- _includes/pagination.html
|
75
75
|
- _layouts/compress.html
|
76
76
|
- _layouts/default.html
|
77
|
+
- _layouts/home.html
|
77
78
|
- _layouts/page.html
|
78
79
|
- _layouts/post.html
|
79
|
-
- _sass/base/_base.scss
|
80
|
-
- _sass/base/_font.scss
|
81
|
-
- _sass/base/_layout.scss
|
82
|
-
- _sass/base/_normalize.scss
|
83
|
-
- _sass/config/_colors.scss
|
84
|
-
- _sass/config/_mediaqueries.scss
|
85
|
-
- _sass/config/_typography.scss
|
86
|
-
- _sass/generic/_broken-images.scss
|
87
|
-
- _sass/generic/_normalize-opentype.scss
|
88
|
-
- _sass/generic/_print.scss
|
89
|
-
- _sass/generic/_skiplink.scss
|
90
|
-
- _sass/generic/_syntax-highlighting.scss
|
91
|
-
- _sass/object/_header.scss
|
92
|
-
- _sass/object/_pagination.scss
|
93
|
-
- _sass/object/_posts.scss
|
94
|
-
- _sass/overkyll-jekyll-theme.scss
|
95
|
-
- _sass/tool/_utilities.scss
|
96
80
|
- assets/css/font.css
|
97
81
|
- assets/css/main.scss
|
98
82
|
- assets/favicons/android-chrome-192x192.png
|
@@ -184,7 +168,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
168
|
version: '0'
|
185
169
|
requirements: []
|
186
170
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.6.
|
171
|
+
rubygems_version: 2.6.10
|
188
172
|
signing_key:
|
189
173
|
specification_version: 4
|
190
174
|
summary: A simple starter theme with an ITCSS Sass files organisation, a flexbox grid
|
data/_sass/base/_base.scss
DELETED
@@ -1,168 +0,0 @@
|
|
1
|
-
////
|
2
|
-
/// Very basic styles
|
3
|
-
////
|
4
|
-
|
5
|
-
html,
|
6
|
-
body {
|
7
|
-
box-sizing: border-box;
|
8
|
-
}
|
9
|
-
|
10
|
-
*,
|
11
|
-
*:before,
|
12
|
-
*:after {
|
13
|
-
box-sizing: inherit;
|
14
|
-
}
|
15
|
-
|
16
|
-
a {
|
17
|
-
text-decoration: underline;
|
18
|
-
color: $color-primary;
|
19
|
-
}
|
20
|
-
|
21
|
-
// a[href]:not([class]) {
|
22
|
-
// text-decoration: underline;
|
23
|
-
// color: $color-primary;
|
24
|
-
// }
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
// Images
|
29
|
-
// -------------------------
|
30
|
-
|
31
|
-
img {
|
32
|
-
max-width: 100%;
|
33
|
-
vertical-align: middle;
|
34
|
-
}
|
35
|
-
|
36
|
-
|
37
|
-
// Figures
|
38
|
-
// -------------------------
|
39
|
-
|
40
|
-
figure > img {
|
41
|
-
display: block;
|
42
|
-
}
|
43
|
-
|
44
|
-
figcaption {
|
45
|
-
font-size: $small;
|
46
|
-
}
|
47
|
-
|
48
|
-
// Links
|
49
|
-
// -------------------------
|
50
|
-
|
51
|
-
a {
|
52
|
-
text-decoration: underline;
|
53
|
-
color: palette(primary);
|
54
|
-
&:visited {
|
55
|
-
color: palette(primary);
|
56
|
-
}
|
57
|
-
&:hover {
|
58
|
-
text-decoration: underline;
|
59
|
-
color: palette(primary, dark);
|
60
|
-
}
|
61
|
-
}
|
62
|
-
|
63
|
-
// Lists
|
64
|
-
// -------------------------
|
65
|
-
|
66
|
-
ul,ol {
|
67
|
-
margin-bottom: $base-line;
|
68
|
-
li {
|
69
|
-
margin-bottom: 0.5rem;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
|
73
|
-
// List options
|
74
|
-
// -------------------------
|
75
|
-
|
76
|
-
// Unstyled keeps list items block level, just removes default browser padding and list-style
|
77
|
-
.list-unstyled {
|
78
|
-
padding-left: 0;
|
79
|
-
list-style: none;
|
80
|
-
}
|
81
|
-
|
82
|
-
// Inline turns list items into inline-block
|
83
|
-
.list-inline {
|
84
|
-
@extend .list-unstyled;
|
85
|
-
margin-left: -5px;
|
86
|
-
|
87
|
-
> li {
|
88
|
-
display: inline-block;
|
89
|
-
padding-left: 5px;
|
90
|
-
padding-right: 5px;
|
91
|
-
}
|
92
|
-
}
|
93
|
-
|
94
|
-
// Description Lists
|
95
|
-
// -------------------------
|
96
|
-
|
97
|
-
dl {
|
98
|
-
margin-top: 0; // Remove browser default
|
99
|
-
margin-bottom: $line-height-computed;
|
100
|
-
}
|
101
|
-
dt,
|
102
|
-
dd {
|
103
|
-
line-height: $line-height-base;
|
104
|
-
}
|
105
|
-
dt {
|
106
|
-
font-weight: bold;
|
107
|
-
}
|
108
|
-
dd {
|
109
|
-
margin-left: 0; // Undo browser default
|
110
|
-
}
|
111
|
-
|
112
|
-
// Blockquotes
|
113
|
-
// -------------------------
|
114
|
-
|
115
|
-
blockquote {
|
116
|
-
padding-left: $base-line / 2;
|
117
|
-
font-size: $base-em * $ms1;
|
118
|
-
letter-spacing: -1px;
|
119
|
-
color: $grey-color;
|
120
|
-
border-left: 4px solid $grey-color;
|
121
|
-
> :last-child {
|
122
|
-
margin-bottom: 0;
|
123
|
-
}
|
124
|
-
}
|
125
|
-
|
126
|
-
|
127
|
-
// Code formatting
|
128
|
-
// -------------------------
|
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
|
-
overflow-x: scroll;
|
144
|
-
padding: 8px 12px;
|
145
|
-
> code {
|
146
|
-
padding-right: 0;
|
147
|
-
padding-left: 0;
|
148
|
-
border: 0;
|
149
|
-
}
|
150
|
-
}
|
151
|
-
|
152
|
-
table {
|
153
|
-
width: 100%;
|
154
|
-
table-layout: fixed;
|
155
|
-
border: 1px solid #ccc;
|
156
|
-
> thead, > tbody, > tfoot {
|
157
|
-
> tr {
|
158
|
-
> th, > td {
|
159
|
-
border: 1px solid #ccc;
|
160
|
-
}
|
161
|
-
}
|
162
|
-
}
|
163
|
-
> thead > tr {
|
164
|
-
> th, > td {
|
165
|
-
border-bottom-width: 2px;
|
166
|
-
}
|
167
|
-
}
|
168
|
-
}
|
data/_sass/base/_font.scss
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
/* Webfont: Overpass-Bold */
|
2
|
-
@font-face {
|
3
|
-
font-family: 'Overpass';
|
4
|
-
src: url('../fonts/Overpass-Bold.woff2') format('woff2');
|
5
|
-
font-style: normal;
|
6
|
-
font-weight: bold;
|
7
|
-
}
|
8
|
-
|
9
|
-
/* Webfont: Overpass-BoldItalic */
|
10
|
-
@font-face {
|
11
|
-
font-family: 'Overpass';
|
12
|
-
src: url('../fonts/Overpass-Italic.woff2') format('woff2');
|
13
|
-
font-style: italic;
|
14
|
-
font-weight: normal;
|
15
|
-
}
|
16
|
-
|
17
|
-
/* Webfont: Overpass-Light */
|
18
|
-
@font-face {
|
19
|
-
font-family: 'Overpass';
|
20
|
-
src: url('../fonts/Overpass-Light.woff2') format('woff2');
|
21
|
-
font-style: normal;
|
22
|
-
font-weight: normal;
|
23
|
-
}
|
24
|
-
|
25
|
-
/* Webfont: Overpass-ExtraLight */
|
26
|
-
@font-face {
|
27
|
-
font-family: 'Overpass';
|
28
|
-
src: url('../fonts/Overpass-ExtraLight.woff2') format('woff2');
|
29
|
-
font-style: normal;
|
30
|
-
font-weight: 300;
|
31
|
-
}
|