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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: bf000749f0f0d801143b9d2d8d5b87f0a61d0d28
4
- data.tar.gz: cadfc3b06ded63c4082f6ae272ce22021e7232a0
3
+ metadata.gz: 077463d5e282da0fa25c28cd9e127114cefa7308
4
+ data.tar.gz: 6606a14ddcb690337ad554dc92b17151d058c3c9
5
5
  SHA512:
6
- metadata.gz: 716ad7b3a34d7e8d77d2f9c6c937c9e4436059cc8c090523017cc667d47b741cce316fb79c975b75113578795e7fca0bd662e949e3e351d3a8d74888537d916a
7
- data.tar.gz: 7a462259b9f206919d3f6e13be32886437306ab64c4223195514672e9a78bea1938a2e42fb1f1906740c0e21375b1d32b26d6dddfe7939597cb6c4c126fef9fd
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
- - `jekyl new mysite`
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
- # Jekyll 2.x Method
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
@@ -1,9 +1,14 @@
1
1
  <div class="skip-links">
2
- <a href="#main">Main content</a>
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.pages %}
19
+ {% for page in site.html_pages %}
15
20
  {% if page.navigation %}
16
- <li><a class="page-link" href="{{ page.url | relative_url }}">{{ page.title }}</a></li>
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>
@@ -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)}();
@@ -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" class="page">
15
- <div class="wrapper">
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>
@@ -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
@@ -2,12 +2,7 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <h1>{{ page.title }}</h1>
6
-
7
- {{ content }}
8
-
9
-
10
-
11
-
12
-
13
-
5
+ <div class="wrapper">
6
+ <h1>{{ page.title }}</h1>
7
+ {{ content }}
8
+ </div>
data/_layouts/post.html CHANGED
@@ -2,10 +2,12 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <article class="post">
6
- <h1 class="post-title">{{ page.title }}</h1>
7
- <p class="post-meta">{{ page.date | date: "%d/%m/%Y" }}</p>
8
- {{ content | markdownify }}
9
- </article>
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
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import "{{ site.theme }}";
4
+ @import "overkyll";
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.5'
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: 2016-10-27 00:00:00.000000000 Z
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.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.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: '10.0'
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: '10.0'
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.7
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
@@ -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
- }
@@ -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
- }