overkyll-jekyll-theme 0.4 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +6 -13
  3. data/_includes/base.scss +1 -0
  4. data/_includes/favicons.html +17 -18
  5. data/_includes/head.html +4 -3
  6. data/_includes/header.html +1 -1
  7. data/_includes/pagination.html +1 -1
  8. data/_layouts/default.html +3 -3
  9. data/_layouts/post.html +0 -1
  10. data/_sass/base/_base.scss +54 -27
  11. data/_sass/base/_font.scss +2 -1
  12. data/_sass/base/_layout.scss +40 -13
  13. data/_sass/config/_colors.scss +4 -1
  14. data/_sass/config/_typography.scss +2 -59
  15. data/_sass/generic/_syntax-highlighting.scss +1 -0
  16. data/_sass/object/_header.scss +11 -7
  17. data/_sass/{overkyll.scss → overkyll-jekyll-theme.scss} +0 -0
  18. data/_sass/tool/_utilities.scss +17 -11
  19. data/assets/css/main.scss +4 -0
  20. data/assets/favicons/android-chrome-192x192.png +0 -0
  21. data/assets/favicons/android-icon-144x144.png +0 -0
  22. data/assets/favicons/android-icon-192x192.png +0 -0
  23. data/assets/favicons/android-icon-36x36.png +0 -0
  24. data/assets/favicons/android-icon-48x48.png +0 -0
  25. data/assets/favicons/android-icon-72x72.png +0 -0
  26. data/assets/favicons/android-icon-96x96.png +0 -0
  27. data/assets/favicons/apple-icon-114x114.png +0 -0
  28. data/assets/favicons/apple-icon-120x120.png +0 -0
  29. data/assets/favicons/apple-icon-144x144.png +0 -0
  30. data/assets/favicons/apple-icon-152x152.png +0 -0
  31. data/assets/favicons/apple-icon-180x180.png +0 -0
  32. data/assets/favicons/apple-icon-57x57.png +0 -0
  33. data/assets/favicons/apple-icon-60x60.png +0 -0
  34. data/assets/favicons/apple-icon-72x72.png +0 -0
  35. data/assets/favicons/apple-icon-76x76.png +0 -0
  36. data/assets/favicons/apple-icon-precomposed.png +0 -0
  37. data/assets/favicons/apple-icon.png +0 -0
  38. data/assets/favicons/favicon-16x16.png +0 -0
  39. data/assets/favicons/favicon-32x32.png +0 -0
  40. data/assets/favicons/favicon-96x96.png +0 -0
  41. data/assets/favicons/ms-icon-144x144.png +0 -0
  42. data/assets/favicons/ms-icon-150x150.png +0 -0
  43. data/assets/favicons/ms-icon-310x310.png +0 -0
  44. data/assets/favicons/ms-icon-70x70.png +0 -0
  45. metadata +6 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 060edfa7e7416af3ec0a4b83d77ed28e3d237daa
4
- data.tar.gz: 2a83764686d8fc58fcf830bc53b44f1a84c9379e
3
+ metadata.gz: bf000749f0f0d801143b9d2d8d5b87f0a61d0d28
4
+ data.tar.gz: cadfc3b06ded63c4082f6ae272ce22021e7232a0
5
5
  SHA512:
6
- metadata.gz: 20c36eb17303419cc3aabc43a86c301e1b039b0d3212e1cf961298b4fdbede7ade8edbc5db87ec63fe65c9458ba32d6162203ad4dfadb9483232fe07d0c16a88
7
- data.tar.gz: 6a9499d05f4ffc61a0558d2f14366f8f93316efc2b2e6ae0ccbdda2e113ce3eab97d45238213b96b06fb5b1341c05c55dc7a022bf2def87cd9fc0227dc746c7e
6
+ metadata.gz: 716ad7b3a34d7e8d77d2f9c6c937c9e4436059cc8c090523017cc667d47b741cce316fb79c975b75113578795e7fca0bd662e949e3e351d3a8d74888537d916a
7
+ data.tar.gz: 7a462259b9f206919d3f6e13be32886437306ab64c4223195514672e9a78bea1938a2e42fb1f1906740c0e21375b1d32b26d6dddfe7939597cb6c4c126fef9fd
data/README.md CHANGED
@@ -1,19 +1,18 @@
1
1
  # Overkyll Jekyll Theme
2
2
 
3
- # Install as Gem Theme
3
+ ## Install as Gem Theme
4
+
4
5
  Jekyll requires Ruby so make sure Ruby is installed before you begin.
5
6
 
6
7
  ### Start a New Site
7
8
  - Install Jekyll and Bundler
8
- - `gem install bundler`
9
+ - `gem install jekyll bundler`
9
10
  - Create a New Site
10
11
  - `jekyl new mysite`
11
12
  - Move into that directory
12
13
  - `cd mysite`
13
- - Install Required Gems
14
- - `bundle install`
15
14
  - Verify
16
- - Run `jekyll serve`
15
+ - Run `bundle exec jekyll serve`
17
16
  - Browse to [http://localhost:4000](http://localhost:4000)
18
17
  - Download Overkyll Theme
19
18
  - Replace the line `gem "minima"` with this:
@@ -22,13 +21,10 @@ Jekyll requires Ruby so make sure Ruby is installed before you begin.
22
21
  - Tell Jekyll to use Overkyll Theme
23
22
  - Open `_config.yml` and change the line `theme: minima` to this:
24
23
  - `theme: overkyll-jekyll-theme`
25
- - Import the Overkyll CSS
26
- - Open your `css/main.scss` and change the line `@import "minima;"` to this:
27
- - `@import "overkyll";`
28
24
 
29
25
 
30
26
  ### Migrate an Existing Site
31
- **NOTE** This requires you to be upgraded to at least Jekyll 3.2 which added support for themes.
27
+ **NOTE** This requires you to be upgraded to at least Jekyll 3.3 which added support for themes and assets.
32
28
 
33
29
  - Download Overkyll Theme
34
30
  - Replace the line `gem "minima"` with this:
@@ -37,9 +33,6 @@ Jekyll requires Ruby so make sure Ruby is installed before you begin.
37
33
  - Tell Jekyll to use Overkyll Theme
38
34
  - Open `_config.yml` and change the line `theme: minima` to this:
39
35
  - `theme: overkyll-jekyll-theme`
40
- - Import the overkyll CSS
41
- - Open your `css/main.scss` and change the line `@import "minima;"` to this:
42
- - `@import "overkyll";`
43
36
 
44
37
  # Jekyll 2.x Method
45
38
  Jekyll requires Ruby so make sure Ruby is installed before you begin.
@@ -51,5 +44,5 @@ Jekyll requires Ruby so make sure Ruby is installed before you begin.
51
44
  - Install Required Gems
52
45
  - `bundle install`
53
46
  - Verify
54
- - Run `jekyll serve`
47
+ - Run `bundle exec jekyll serve`
55
48
  - Browse to [http://localhost:4000](http://localhost:4000)
data/_includes/base.scss CHANGED
@@ -8,4 +8,5 @@
8
8
  @import "config/typography";
9
9
  @import "base/normalize";
10
10
  @import "base/base";
11
+ @import "base/layout";
11
12
 
@@ -1,20 +1,19 @@
1
- <link rel="apple-touch-icon" sizes="57x57" href="{{ site.baseurl }}/assets/favicons/apple-icon-57x57.png">
2
- <link rel="apple-touch-icon" sizes="60x60" href="{{ site.baseurl }}/assets/favicons/apple-icon-60x60.png">
3
- <link rel="apple-touch-icon" sizes="72x72" href="{{ site.baseurl }}/assets/favicons/apple-icon-72x72.png">
4
- <link rel="apple-touch-icon" sizes="76x76" href="{{ site.baseurl }}/assets/favicons/apple-icon-76x76.png">
5
- <link rel="apple-touch-icon" sizes="114x114" href="{{ site.baseurl }}/assets/favicons/apple-icon-114x114.png">
6
- <link rel="apple-touch-icon" sizes="120x120" href="{{ site.baseurl }}/assets/favicons/apple-icon-120x120.png">
7
- <link rel="apple-touch-icon" sizes="144x144" href="{{ site.baseurl }}/assets/favicons/apple-icon-144x144.png">
8
- <link rel="apple-touch-icon" sizes="152x152" href="{{ site.baseurl }}/assets/favicons/apple-icon-152x152.png">
9
- <link rel="apple-touch-icon" sizes="180x180" href="{{ site.baseurl }}/assets/favicons/apple-icon-180x180.png">
10
- <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/favicon-32x32.png" sizes="32x32">
11
- <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/android-chrome-192x192.png" sizes="192x192">
12
- <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/favicon-96x96.png" sizes="96x96">
13
- <link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/favicons/favicon-16x16.png" sizes="16x16">
14
- <link rel="manifest" href="{{ site.baseurl }}/manifest.json">
15
- <link rel="mask-icon" href="{{ site.baseurl }}/assets/favicons/safari-pinned-tab.svg" color="#5bbad5">
16
- <link rel="shortcut icon" href="{{ site.baseurl }}/assets/favicons/favicon.ico">
1
+ <link rel="apple-touch-icon" sizes="57x57" href={{ "/assets/favicons/apple-icon-57x57.png" | relative_url }}>
2
+ <link rel="apple-touch-icon" sizes="60x60" href={{ "/assets/favicons/apple-icon-60x60.png" | relative_url }}>
3
+ <link rel="apple-touch-icon" sizes="72x72" href={{ "/assets/favicons/apple-icon-72x72.png" | relative_url }}>
4
+ <link rel="apple-touch-icon" sizes="76x76" href={{ "/assets/favicons/apple-icon-76x76.png" | relative_url }}>
5
+ <link rel="apple-touch-icon" sizes="114x114" href={{ "/assets/favicons/apple-icon-114x114.png" | relative_url }}>
6
+ <link rel="apple-touch-icon" sizes="120x120" href={{ "/assets/favicons/apple-icon-120x120.png" | relative_url }}>
7
+ <link rel="apple-touch-icon" sizes="144x144" href={{ "/assets/favicons/apple-icon-144x144.png" | relative_url }}>
8
+ <link rel="apple-touch-icon" sizes="152x152" href={{ "/assets/favicons/apple-icon-152x152.png" | relative_url }}>
9
+ <link rel="apple-touch-icon" sizes="180x180" href={{ "/assets/favicons/apple-icon-180x180.png" | relative_url }}>
10
+ <link rel="icon" type="image/png" href={{ "/assets/favicons/favicon-32x32.png" sizes="32x32" | relative_url }}>
11
+ <link rel="icon" type="image/png" href={{ "/assets/favicons/android-chrome-192x192.png" sizes="192x192" | relative_url }}>
12
+ <link rel="icon" type="image/png" href={{ "/assets/favicons/favicon-96x96.png" sizes="96x96" | relative_url }}>
13
+ <link rel="icon" type="image/png" href={{ "/assets/favicons/favicon-16x16.png" sizes="16x16" | relative_url }}>
14
+ <link rel="manifest" href={{ "/assets/favicons/manifest.json" | relative_url }}>
15
+ <link rel="shortcut icon" href={{ "/assets/favicons/favicon.ico" | relative_url }}>
17
16
  <meta name="msapplication-TileColor" content="#000">
18
- <meta name="msapplication-TileImage" content="{{ site.baseurl }}/assets/favicons/mstile-144x144.png">
19
- <meta name="msapplication-config" content="{{ site.baseurl }}/browserconfig.xml">
17
+ <meta name="msapplication-TileImage" content="/assets/favicons/mstile-144x144.png" | relative_url }}>
18
+ <meta name="msapplication-config" content="/assets/favicons/browserconfig.xml" | relative_url }}>
20
19
  <meta name="theme-color" content="#000">
data/_includes/head.html CHANGED
@@ -3,7 +3,8 @@
3
3
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1">
6
- <link rel="alternate" type="application/rss+xml" title="{{ site.title }} RSS Feed" href="/feed/"/>
6
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }} RSS Feed" href="{{ "/feed/" | absolute_url }}"/>
7
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
7
8
 
8
9
  <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
9
10
  <meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
@@ -16,9 +17,9 @@
16
17
  </style>
17
18
  <script>
18
19
  {% include loadCSS.js %}
19
- loadCSS("{{ "/css/main.css" | prepend: site.baseurl }}");
20
+ loadCSS("{{ '/assets/css/main.css' | relative_url }}");
20
21
  {% include localfont.js %}
21
22
  </script>
22
- <noscript><link rel="stylesheet" href="/assets/css/font.css"></noscript>
23
+ <noscript><link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}"></noscript>
23
24
  {% include favicons.html %}
24
25
  </head>
@@ -13,7 +13,7 @@
13
13
  <ul>
14
14
  {% for page in site.pages %}
15
15
  {% if page.navigation %}
16
- <li><a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a></li>
16
+ <li><a class="page-link" href="{{ page.url | relative_url }}">{{ page.title }}</a></li>
17
17
  {% endif %}
18
18
  {% endfor %}
19
19
  </ul>
@@ -19,4 +19,4 @@
19
19
  {% endif %}
20
20
 
21
21
  </nav>
22
- {% endif %}
22
+ {% endif %}
@@ -1,9 +1,9 @@
1
1
  ---
2
- layout: deafault
2
+ layout: default
3
3
  ---
4
4
 
5
5
  <!DOCTYPE html>
6
- <html lang="fr">
6
+ <html lang="en">
7
7
 
8
8
  {% include head.html %}
9
9
 
@@ -16,7 +16,7 @@ layout: deafault
16
16
  {{ content }}
17
17
  </div>
18
18
  </main>
19
- <script src="{{ site.baseurl }}/assets/js/instantclick.min.js" data-no-instant></script>
19
+ <script src={{ "/assets/js/instantclick.min.js" | relative_url }} data-no-instant></script>
20
20
  <script data-no-instant>
21
21
  InstantClick.init();
22
22
  </script>
data/_layouts/post.html CHANGED
@@ -9,4 +9,3 @@ layout: default
9
9
  </article>
10
10
 
11
11
  {% include pagination.html %}
12
-
@@ -1,5 +1,5 @@
1
1
  ////
2
- /// Very basic style
2
+ /// Very basic styles
3
3
  ////
4
4
 
5
5
  html,
@@ -13,12 +13,6 @@ body {
13
13
  box-sizing: inherit;
14
14
  }
15
15
 
16
- // *, :after, :before {
17
- // -webkit-box-sizing: border-box;
18
- // -moz-box-sizing: border-box;
19
- // box-sizing: border-box;
20
- // }
21
-
22
16
  a {
23
17
  text-decoration: underline;
24
18
  color: $color-primary;
@@ -30,9 +24,9 @@ a {
30
24
  // }
31
25
 
32
26
 
33
- /**
34
- * Images
35
- */
27
+
28
+ // Images
29
+ // -------------------------
36
30
 
37
31
  img {
38
32
  max-width: 100%;
@@ -40,22 +34,19 @@ img {
40
34
  }
41
35
 
42
36
 
43
- /**
44
- * Figures
45
- */
37
+ // Figures
38
+ // -------------------------
46
39
 
47
40
  figure > img {
48
41
  display: block;
49
42
  }
50
43
 
51
44
  figcaption {
52
- font-size: $small-font-size;
45
+ font-size: $small;
53
46
  }
54
47
 
55
-
56
- /**
57
- * Links
58
- */
48
+ // Links
49
+ // -------------------------
59
50
 
60
51
  a {
61
52
  text-decoration: underline;
@@ -69,9 +60,8 @@ a {
69
60
  }
70
61
  }
71
62
 
72
- /**
73
- * Lists
74
- */
63
+ // Lists
64
+ // -------------------------
75
65
 
76
66
  ul,ol {
77
67
  margin-bottom: $base-line;
@@ -80,9 +70,47 @@ ul,ol {
80
70
  }
81
71
  }
82
72
 
83
- /**
84
- * Blockquotes
85
- */
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
+ // -------------------------
86
114
 
87
115
  blockquote {
88
116
  padding-left: $base-line / 2;
@@ -96,9 +124,8 @@ blockquote {
96
124
  }
97
125
 
98
126
 
99
- /**
100
- * Code formatting
101
- */
127
+ // Code formatting
128
+ // -------------------------
102
129
 
103
130
  pre,
104
131
  code {
@@ -6,7 +6,8 @@
6
6
  font-weight: bold;
7
7
  }
8
8
 
9
- /* Webfont: Overpass-BoldItalic */@font-face {
9
+ /* Webfont: Overpass-BoldItalic */
10
+ @font-face {
10
11
  font-family: 'Overpass';
11
12
  src: url('../fonts/Overpass-Italic.woff2') format('woff2');
12
13
  font-style: italic;
@@ -5,9 +5,8 @@
5
5
  $gutter: $base-em;
6
6
  $number: 4; // for equal columns
7
7
 
8
- /**
9
- * Page & Wrapper
10
- */
8
+ // Page & Wrapper
9
+ // -------------------------
11
10
 
12
11
  .page {
13
12
  padding-bottom: $base-line*4;
@@ -18,7 +17,7 @@ $number: 4; // for equal columns
18
17
  margin-left: auto;
19
18
  padding-right: $base-line / 2;
20
19
  padding-left: $base-line / 2;
21
- max-width: 50rem;
20
+ max-width: 40em;
22
21
  }
23
22
 
24
23
  // Inspired from Raphaël Goetter Knacss grid
@@ -26,34 +25,62 @@ $number: 4; // for equal columns
26
25
  // n = number of columns (default = 4)
27
26
  // g = gutter value (default = 1em)
28
27
  // example : .grid { .grid(12, 10px); }
28
+ // ---------------------------------------------------------------------------
29
29
 
30
30
  @mixin grid($number:$number, $gutter:$gutter) {
31
- display: flex;
32
- flex-direction: row;
33
- flex-wrap: wrap;
34
- margin-left: -$gutter;
35
- margin-bottom: $base-line;
36
-
37
31
  /* inline-block fallback for IE9 generation */
38
32
  letter-spacing: -0.31em;
39
33
  text-rendering: optimizespeed;
34
+
35
+ @supports (display: flex) {
36
+ display: flex;
37
+ flex-direction: row;
38
+ flex-wrap: wrap;
39
+ }
40
+
41
+ margin-left: -2vw;
42
+ margin-right: -2vw;
43
+ @media #{$medium-up} {
44
+ margin-left: -$gutter/2;
45
+ margin-right: -$gutter/2;
46
+ }
47
+ margin-bottom: $base-line;
48
+
40
49
  & > * {
41
- flex: 0 0 auto;
42
- width: calc(100% * 1 / #{$number} - #{$gutter} - .01px);
43
- margin-left: $gutter;
50
+ margin-left: 2vw;
51
+ margin-right: 2vw;
52
+ @media #{$medium-up} {
53
+ margin-left: $gutter/2;
54
+ margin-right: $gutter/2;
55
+ }
44
56
  margin-bottom: $base-line;
45
57
 
46
58
  /* inline-block fallback for IE9 generation */
47
59
  display: inline-block;
60
+ width: calc(100% * 1 / #{$number} - #{$gutter} - .01px);
48
61
  vertical-align: top;
49
62
  letter-spacing: normal;
50
63
  text-rendering: auto;
64
+ @supports (display: flex) {
65
+ flex: 1 0 10em;
66
+ @media #{$medium-up} {
67
+ flex: 0 0 calc(100% * 1 / #{$number} - #{$gutter} - .01px);
68
+ width: auto;
69
+ }
70
+ }
51
71
  }
52
72
  & > .flexitem-double {
53
73
  width: calc(100% * 2 / #{$number} - #{$gutter});
74
+ @supports (display: flex) {
75
+ flex: 0 0 calc(100% * 2 / #{$number} - #{$gutter});
76
+ width: auto;
77
+ }
54
78
  }
55
79
  & > .flexitem-first {
56
80
  order: -1;
57
81
  }
58
82
  }
59
83
 
84
+ .grid {
85
+ @include grid();
86
+ }
@@ -2,7 +2,7 @@
2
2
  /// Colors
3
3
  ////
4
4
 
5
- // better color for development
5
+ // Better colors for development
6
6
  //-------------------------------------
7
7
 
8
8
  $navy: #001F3F;
@@ -19,8 +19,10 @@ $fuchsia: #F012BE;
19
19
  $purple: #B10DC9;
20
20
  $maroon: #85144B;
21
21
 
22
+
22
23
  // Site color
23
24
  //-------------------------------------
25
+
24
26
  $text-color: #111;
25
27
  $background-color: #fdfdfd;
26
28
  $brand-color: #111;
@@ -53,6 +55,7 @@ $palettes: (
53
55
  )
54
56
  );
55
57
 
58
+
56
59
  // Mixin for color palette
57
60
  //-------------------------------------
58
61
 
@@ -5,8 +5,6 @@
5
5
  // Our variables
6
6
  //-------------------------------------
7
7
  $base-font-family: Overpass, Helvetica, Arial, sans-serif;
8
- $base-font-size: 16px;
9
- $small-font-size: $base-font-size * 0.875;
10
8
 
11
9
  $ratio: 1.20;
12
10
  $base: 1;
@@ -53,18 +51,14 @@ h1, .h1 { font-size: $title1; }
53
51
 
54
52
  @media #{$medium-up} {
55
53
  body { font-size: $base-em * $ms1; }
56
- h3, .h3 { font-size: $base-em * $ms3; }
57
- h2, .h2 { font-size: $base-em * $ms4; }
58
- h1, .h1 { font-size: $base-em * $ms5; }
59
54
  }
60
55
 
61
56
  @media #{$large-up} {
62
- h2, .h2 { font-size: $base-em * $ms5; }
63
- h1, .h1 { font-size: $base-em * $ms6; }
57
+ body { font-size: $base-em * $ms2; }
64
58
  }
65
59
 
66
60
  @media #{$xlarge-up} {
67
- h1, .h1 { font-size: $base-em * $ms7; }
61
+ body { font-size: $base-em * $ms3; }
68
62
  }
69
63
 
70
64
  h1, .h1,
@@ -101,54 +95,3 @@ h1,h2,h3,h4,h5,h6 {
101
95
  p {
102
96
  margin: 0 0 ($line-height-computed / 2);
103
97
  }
104
-
105
- // Lists
106
- // -------------------------
107
-
108
- // Unordered and Ordered lists
109
- ul,
110
- ol {
111
- margin-top: 0;
112
- margin-bottom: ($line-height-computed / 2);
113
- ul,
114
- ol {
115
- margin-bottom: 0;
116
- }
117
- }
118
-
119
- // List options
120
-
121
- // Unstyled keeps list items block level, just removes default browser padding and list-style
122
- .list-unstyled {
123
- padding-left: 0;
124
- list-style: none;
125
- }
126
-
127
- // Inline turns list items into inline-block
128
- .list-inline {
129
- @extend .list-unstyled;
130
- margin-left: -5px;
131
-
132
- > li {
133
- display: inline-block;
134
- padding-left: 5px;
135
- padding-right: 5px;
136
- }
137
- }
138
-
139
- // Description Lists
140
- dl {
141
- margin-top: 0; // Remove browser default
142
- margin-bottom: $line-height-computed;
143
- }
144
- dt,
145
- dd {
146
- line-height: $line-height-base;
147
- }
148
- dt {
149
- font-weight: bold;
150
- }
151
- dd {
152
- margin-left: 0; // Undo browser default
153
- }
154
-
@@ -1,6 +1,7 @@
1
1
  /**
2
2
  * Syntax highlighting styles
3
3
  */
4
+
4
5
  .highlight {
5
6
  margin: 0 0 $base_line / 2;
6
7
  text-align: left !important; // override .post .figure
@@ -16,8 +16,8 @@
16
16
  }
17
17
  .site-title {
18
18
  display: block;
19
- margin: 0 auto;
20
- font-size: $base-em * $ms4;
19
+ margin: $base-line/2 auto;
20
+ font-size: $base-em * $ms5;
21
21
  @media #{$medium-up} {
22
22
  font-size: $base-em * $ms6;
23
23
  }
@@ -31,11 +31,15 @@
31
31
  }
32
32
  }
33
33
 
34
- .site-header nav a:hover,
35
- .site-header nav a:focus,
36
- .site-header nav a:active {
37
- border-bottom: 2px solid #444;
38
- text-decoration: none;
34
+ .site-header {
35
+ nav {
36
+ a {
37
+ &:hover,&:focus,&:active {
38
+ text-decoration: none;
39
+ border-bottom: 2px solid #444;
40
+ }
41
+ }
42
+ }
39
43
  }
40
44
 
41
45
 
File without changes
@@ -52,7 +52,6 @@
52
52
 
53
53
  // Toggling content
54
54
  // -------------------------
55
- // Note: Deprecated .hide in favor of .hidden or .sr-only (as appropriate) in v3.0.1
56
55
 
57
56
  .hide {
58
57
  display: none !important;
@@ -66,17 +65,24 @@
66
65
  visibility: hidden;
67
66
  }
68
67
 
68
+ // Class for hidding text but keep text accessible
69
+ // --------------------------------------------------
70
+
71
+ .sr-only,
69
72
  .visuallyhidden {
70
- border: 0;
71
- clip: rect(0 0 0 0);
72
- height: 1px;
73
- margin: -1px;
74
- overflow: hidden;
75
- padding: 0;
76
- position: absolute;
77
- width: 1px;
73
+ border: 0 !important;
74
+ clip: rect(1px, 1px, 1px, 1px) !important;
75
+ -webkit-clip-path: inset(50%) !important;
76
+ clip-path: inset(50%) !important;
77
+ height: 1px !important;
78
+ overflow: hidden !important;
79
+ padding: 0 !important;
80
+ position: absolute !important;
81
+ width: 1px !important;
82
+ white-space: nowrap !important;
78
83
  }
79
84
 
85
+
80
86
  // For Affix plugin
81
87
  // -------------------------
82
88
 
@@ -85,8 +91,8 @@
85
91
  }
86
92
 
87
93
 
88
- // Icons
89
- // -------------------------
94
+ // Icons
95
+ // -------------------------
90
96
 
91
97
  .icon {
92
98
  > svg {
@@ -0,0 +1,4 @@
1
+ ---
2
+ ---
3
+
4
+ @import "{{ site.theme }}";
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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'
4
+ version: '0.5'
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-07 00:00:00.000000000 Z
11
+ date: 2016-10-27 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.2'
19
+ version: '3.3'
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.2'
26
+ version: '3.3'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -91,9 +91,10 @@ files:
91
91
  - _sass/object/_header.scss
92
92
  - _sass/object/_pagination.scss
93
93
  - _sass/object/_posts.scss
94
- - _sass/overkyll.scss
94
+ - _sass/overkyll-jekyll-theme.scss
95
95
  - _sass/tool/_utilities.scss
96
96
  - assets/css/font.css
97
+ - assets/css/main.scss
97
98
  - assets/favicons/android-chrome-192x192.png
98
99
  - assets/favicons/android-icon-144x144.png
99
100
  - assets/favicons/android-icon-192x192.png