overkyll-jekyll-theme 0.1 → 0.2

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.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -0
  3. data/README.md +2 -2
  4. data/_includes/base.scss +10 -0
  5. data/_includes/favicons.html +20 -0
  6. data/_includes/head.html +26 -0
  7. data/_includes/header.html +21 -0
  8. data/_includes/icon-github.html +1 -0
  9. data/_includes/icon-github.svg +1 -0
  10. data/_includes/icon-twitter.html +1 -0
  11. data/_includes/icon-twitter.svg +1 -0
  12. data/_includes/loadCSS.js +62 -0
  13. data/_includes/localfont.js +1 -0
  14. data/_includes/pagination.html +22 -0
  15. data/_layouts/compress.html +10 -0
  16. data/_layouts/default.html +22 -0
  17. data/_layouts/page.html +13 -0
  18. data/_layouts/post.html +12 -0
  19. data/_sass/base/_base.scss +141 -0
  20. data/_sass/base/_font.scss +125 -0
  21. data/_sass/base/_layout.scss +59 -0
  22. data/_sass/base/_normalize.scss +424 -0
  23. data/_sass/config/_colors.scss +61 -0
  24. data/_sass/config/_mediaqueries.scss +102 -0
  25. data/_sass/config/_typography.scss +154 -0
  26. data/_sass/generic/_broken-images.scss +36 -0
  27. data/_sass/generic/_normalize-opentype.scss +112 -0
  28. data/_sass/generic/_print.scss +44 -0
  29. data/_sass/generic/_syntax-highlighting.scss +72 -0
  30. data/_sass/object/_header.scss +89 -0
  31. data/_sass/object/_pagination.scss +63 -0
  32. data/_sass/object/_posts.scss +26 -0
  33. data/_sass/overkyll.scss +25 -0
  34. data/_sass/tool/_utilities.scss +110 -0
  35. data/assets/css/font.css +1 -0
  36. data/assets/favicons/android-chrome-192x192.png +0 -0
  37. data/assets/favicons/android-icon-144x144.png +0 -0
  38. data/assets/favicons/android-icon-192x192.png +0 -0
  39. data/assets/favicons/android-icon-36x36.png +0 -0
  40. data/assets/favicons/android-icon-48x48.png +0 -0
  41. data/assets/favicons/android-icon-72x72.png +0 -0
  42. data/assets/favicons/android-icon-96x96.png +0 -0
  43. data/assets/favicons/apple-icon-114x114.png +0 -0
  44. data/assets/favicons/apple-icon-120x120.png +0 -0
  45. data/assets/favicons/apple-icon-144x144.png +0 -0
  46. data/assets/favicons/apple-icon-152x152.png +0 -0
  47. data/assets/favicons/apple-icon-180x180.png +0 -0
  48. data/assets/favicons/apple-icon-57x57.png +0 -0
  49. data/assets/favicons/apple-icon-60x60.png +0 -0
  50. data/assets/favicons/apple-icon-72x72.png +0 -0
  51. data/assets/favicons/apple-icon-76x76.png +0 -0
  52. data/assets/favicons/apple-icon-precomposed.png +0 -0
  53. data/assets/favicons/apple-icon.png +0 -0
  54. data/assets/favicons/browserconfig.xml +2 -0
  55. data/assets/favicons/favicon-16x16.png +0 -0
  56. data/assets/favicons/favicon-32x32.png +0 -0
  57. data/assets/favicons/favicon-96x96.png +0 -0
  58. data/assets/favicons/favicon.ico +0 -0
  59. data/assets/favicons/manifest.json +41 -0
  60. data/assets/favicons/ms-icon-144x144.png +0 -0
  61. data/assets/favicons/ms-icon-150x150.png +0 -0
  62. data/assets/favicons/ms-icon-310x310.png +0 -0
  63. data/assets/favicons/ms-icon-70x70.png +0 -0
  64. data/assets/fonts/Overpass-Bold-Italic.eot +0 -0
  65. data/assets/fonts/Overpass-Bold-Italic.svg +5449 -0
  66. data/assets/fonts/Overpass-Bold-Italic.ttf +0 -0
  67. data/assets/fonts/Overpass-Bold-Italic.woff +0 -0
  68. data/assets/fonts/Overpass-Bold-Italic.woff2 +0 -0
  69. data/assets/fonts/Overpass-Bold.eot +0 -0
  70. data/assets/fonts/Overpass-Bold.svg +1302 -0
  71. data/assets/fonts/Overpass-Bold.ttf +0 -0
  72. data/assets/fonts/Overpass-Bold.woff +0 -0
  73. data/assets/fonts/Overpass-Bold.woff2 +0 -0
  74. data/assets/fonts/Overpass-ExtraLight-Italic.eot +0 -0
  75. data/assets/fonts/Overpass-ExtraLight-Italic.svg +5437 -0
  76. data/assets/fonts/Overpass-ExtraLight-Italic.ttf +0 -0
  77. data/assets/fonts/Overpass-ExtraLight-Italic.woff +0 -0
  78. data/assets/fonts/Overpass-ExtraLight.eot +0 -0
  79. data/assets/fonts/Overpass-ExtraLight.svg +5437 -0
  80. data/assets/fonts/Overpass-ExtraLight.ttf +0 -0
  81. data/assets/fonts/Overpass-ExtraLight.woff +0 -0
  82. data/assets/fonts/Overpass-ExtraLight.woff2 +0 -0
  83. data/assets/fonts/Overpass-Italic.eot +0 -0
  84. data/assets/fonts/Overpass-Italic.svg +5437 -0
  85. data/assets/fonts/Overpass-Italic.ttf +0 -0
  86. data/assets/fonts/Overpass-Italic.woff +0 -0
  87. data/assets/fonts/Overpass-Italic.woff2 +0 -0
  88. data/assets/fonts/Overpass-Light-Italic.eot +0 -0
  89. data/assets/fonts/Overpass-Light-Italic.svg +5437 -0
  90. data/assets/fonts/Overpass-Light-Italic.ttf +0 -0
  91. data/assets/fonts/Overpass-Light-Italic.woff +0 -0
  92. data/assets/fonts/Overpass-Light-Italic.woff2 +0 -0
  93. data/assets/fonts/Overpass-Light.eot +0 -0
  94. data/assets/fonts/Overpass-Light.svg +5437 -0
  95. data/assets/fonts/Overpass-Light.ttf +0 -0
  96. data/assets/fonts/Overpass-Light.woff +0 -0
  97. data/assets/fonts/Overpass-Light.woff2 +0 -0
  98. data/assets/fonts/Overpass-Regular.eot +0 -0
  99. data/assets/fonts/Overpass-Regular.svg +1302 -0
  100. data/assets/fonts/Overpass-Regular.ttf +0 -0
  101. data/assets/fonts/Overpass-Regular.woff +0 -0
  102. data/assets/fonts/Overpass-Regular.woff2 +0 -0
  103. data/assets/fonts/recommended.css +98 -0
  104. data/assets/js/instantclick.min.js +13 -0
  105. metadata +104 -2
@@ -0,0 +1,61 @@
1
+ ////
2
+ /// Colors
3
+ ////
4
+
5
+ // better color for development
6
+ //-------------------------------------
7
+
8
+ $navy: #001F3F;
9
+ $blue: #0074D9;
10
+ $aqua: #7FDBFF;
11
+ $teal: #39CCCC;
12
+ $olive: #3D9970;
13
+ $green: #2ECC40;
14
+ $lime: #01FF70;
15
+ $yellow: #FFDC00;
16
+ $orange: #FF851B;
17
+ $red: #FF4136;
18
+ $fuchsia: #F012BE;
19
+ $purple: #B10DC9;
20
+ $maroon: #85144B;
21
+
22
+ // Site color
23
+ //-------------------------------------
24
+ $text-color: #111;
25
+ $background-color: #fdfdfd;
26
+ $brand-color: #111;
27
+ $color-primary: $brand-color;
28
+ $color-secondary: $aqua;
29
+
30
+ $grey-color: #828282;
31
+ $grey-color-light: lighten($grey-color, 40%);
32
+ $grey-color-dark: darken($grey-color, 25%);
33
+
34
+
35
+ // Color palette
36
+ //-------------------------------------
37
+
38
+ $palettes: (
39
+ primary: (
40
+ base: $color-primary,
41
+ light: mix(white, $color-primary, 30%),
42
+ dark: mix(black, $color-primary, 30%)
43
+ ),
44
+ secondary: (
45
+ base: #ffa900,
46
+ light: mix(white, $color-secondary, 30%),
47
+ dark: mix(black, $color-secondary, 30%)
48
+ ),
49
+ grey: (
50
+ base: #595959,
51
+ light: rgba(0,0,0,0.12),
52
+ dark: #353535
53
+ )
54
+ );
55
+
56
+ // Mixin for color palette
57
+ //-------------------------------------
58
+
59
+ @function palette($palette, $tone: 'base') {
60
+ @return map-get(map-get($palettes, $palette), $tone);
61
+ }
@@ -0,0 +1,102 @@
1
+ ////
2
+ /// Media queries
3
+ ////
4
+
5
+ // Media Query Ranges
6
+ //-------------------------------------
7
+
8
+ $tiny-range : (0em, 30em) !default;
9
+ $small-range : (0em, 48em) !default;
10
+ $medium-range : (48.063em, 64em) !default;
11
+ $large-range : (64.063em, 90em) !default;
12
+ $xlarge-range : (90.063em, 120em) !default;
13
+ $xxlarge-range : (120.063em, 99999999em) !default;
14
+
15
+
16
+ // Media Query breakpoint
17
+ //-------------------------------------
18
+
19
+ $screen: "only screen";
20
+ $small: 0;
21
+ $tiny: 30.063em; /*480px */
22
+ $medium: 48.063em; /*768px */
23
+ $large: 64.063em; /*1025px*/
24
+ $xlarge: 90.063em; /*1441px*/
25
+ $xxlarge: 120em; /*1921px*/
26
+
27
+
28
+ // Media Query Ranges :: Mixin (from Foundation CSS)
29
+ //-------------------------------------
30
+
31
+ // functions
32
+
33
+ @function lower-bound($range){
34
+ @if length($range) <= 0 {
35
+ @return 0;
36
+ }
37
+ @return nth($range,1);
38
+ }
39
+
40
+ @function upper-bound($range) {
41
+ @if length($range) < 2 {
42
+ @return 999999999999;
43
+ }
44
+ @return nth($range, 2);
45
+ }
46
+
47
+ // Call functions and declare media range variable
48
+
49
+ $landscape : "#{$screen} and (orientation: landscape)";
50
+ $portrait : "#{$screen} and (orientation: portrait)";
51
+ $small-up : $screen;
52
+ $tiny-only : "#{$screen} and (max-width:#{upper-bound($tiny-range)})";
53
+ $small-only : "#{$screen} and (max-width:#{upper-bound($small-range)})";
54
+ $medium-up : "#{$screen} and (min-width:#{lower-bound($medium-range)})";
55
+ $medium-only : "#{$screen} and (min-width:#{lower-bound($medium-range)}) and (max-width:#{upper-bound($medium-range)})";
56
+ $large-up : "#{$screen} and (min-width:#{lower-bound($large-range)})";
57
+ $large-only : "#{$screen} and (min-width:#{lower-bound($large-range)}) and (max-width:#{upper-bound($large-range)})";
58
+ $xlarge-up : "#{$screen} and (min-width:#{lower-bound($xlarge-range)})";
59
+ $xlarge-only : "#{$screen} and (min-width:#{lower-bound($xlarge-range)}) and (max-width:#{upper-bound($xlarge-range)})";
60
+ $xxlarge-up : "#{$screen} and (min-width:#{lower-bound($xxlarge-range)})";
61
+ $xxlarge-only : "#{$screen} and (min-width:#{lower-bound($xxlarge-range)}) and (max-width:#{upper-bound($xxlarge-range)})";
62
+
63
+
64
+ // Unison
65
+ // speaking with JS with unison.js
66
+ //-------------------------------------
67
+
68
+ // config
69
+ $debug: false;
70
+
71
+ // Unison media
72
+ $mq-sync:
73
+ usn-small $small,
74
+ usn-medium $medium,
75
+ usn-large $large
76
+ ;
77
+ // usn-large $large,
78
+ // usn-x-large $xlarge,
79
+ // usn-xx-large $xxlarge
80
+
81
+ // build each media query for js ingestion
82
+ @each $mq in $mq-sync {
83
+ @media screen and (min-width: nth($mq, 2)) {
84
+ head { font-family: "#{nth($mq, 1)} #{nth($mq, 2)}"; }
85
+ body:after { content: "#{nth($mq, 1)} - min-width: #{nth($mq, 2)}"; }
86
+ }
87
+ }
88
+ head {
89
+ // set clear on head to show Unison is set up correctly
90
+ clear: both;
91
+ // store hash of all breakpoints
92
+ title { font-family: "#{$mq-sync}"; }
93
+ }
94
+ // debug styles to see breakpoint info
95
+ body:after {
96
+ display: none;
97
+ }
98
+ // hide elements for conditional loading
99
+ // only used for responsive comments plugin
100
+ *[data-usn-if] { display: none; }
101
+
102
+
@@ -0,0 +1,154 @@
1
+ ////
2
+ /// Typography
3
+ ////
4
+
5
+ // Our variables
6
+ //-------------------------------------
7
+ $base-font-family: Overpass, Helvetica, Arial, sans-serif;
8
+ $base-font-size: 16px;
9
+ $small-font-size: $base-font-size * 0.875;
10
+
11
+ $ratio: 1.20;
12
+ $base: 1;
13
+ $base-em: $base * 1em;
14
+ $base-px: $base * 16px;
15
+
16
+ $ms0: 1;
17
+ $ms1: $ratio; /* 1.2 */
18
+ $ms2: $ratio * $ms1; /* 1.44 */
19
+ $ms3: $ratio * $ms2; /* 1.728 */
20
+ $ms4: $ratio * $ms3; /* 2.074 */
21
+ $ms5: $ratio * $ms4; /* 2.488 */
22
+ $ms6: $ratio * $ms5; /* 2.986 */
23
+ $ms7: $ratio * $ms6; /* 3.583 */
24
+
25
+ $small: $base-em / $ms1;
26
+ $normal: $base-em * $ms0;
27
+ $big: $base-em * $ms1;
28
+ $bigger: $base-em * $ms2;
29
+ $title2: $base-em * $ms3;
30
+ $title1: $base-em * $ms4;
31
+
32
+ $line-height-base: $base * $ms2;
33
+ $line-height-computed: floor(($base-em * $line-height-base));
34
+ $base-line: $line-height-computed;
35
+
36
+ body {
37
+ font-family: $base-font-family;
38
+ font-weight: 400;
39
+ font-size: $base-em * $ms0;
40
+ line-height: $base * $ms2;
41
+ }
42
+
43
+ h3,
44
+ h2 { line-height: $base * $ms1; }
45
+ h1 { line-height: $base * $ms0; }
46
+
47
+ h6, .h6 { font-size: $small; }
48
+ h5, .h5 { font-size: $normal; }
49
+ h4, .h4 { font-size: $big; }
50
+ h3, .h3 { font-size: $bigger; }
51
+ h2, .h2 { font-size: $title2; }
52
+ h1, .h1 { font-size: $title1; }
53
+
54
+ @media #{$medium-up} {
55
+ 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
+ }
60
+
61
+ @media #{$large-up} {
62
+ h2, .h2 { font-size: $base-em * $ms5; }
63
+ h1, .h1 { font-size: $base-em * $ms6; }
64
+ }
65
+
66
+ @media #{$xlarge-up} {
67
+ h1, .h1 { font-size: $base-em * $ms7; }
68
+ }
69
+
70
+ h1, .h1,
71
+ h2, .h2,
72
+ h3, .h3 {
73
+ word-wrap: break-word;
74
+ margin-top: $line-height-computed;
75
+ margin-bottom: ($line-height-computed / 2);
76
+
77
+ small,
78
+ .small {
79
+ font-size: 65%;
80
+ }
81
+ }
82
+
83
+ h4, .h4,
84
+ h5, .h5,
85
+ h6, .h6 {
86
+ margin-top: ($line-height-computed / 2);
87
+ margin-bottom: ($line-height-computed / 2);
88
+
89
+ small,
90
+ .small {
91
+ font-size: 75%;
92
+ }
93
+ }
94
+
95
+ h1,h2,h3,h4,h5,h6 {
96
+ &,a {
97
+ text-decoration: none;
98
+ }
99
+ }
100
+
101
+ p {
102
+ margin: 0 0 ($line-height-computed / 2);
103
+ }
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
+
@@ -0,0 +1,36 @@
1
+ // Code from
2
+ // http://bitsofco.de/styling-broken-images/
3
+
4
+ img {
5
+ /* Same as first example */
6
+ min-height: 50px;
7
+ }
8
+
9
+ img:before {
10
+ content: " ";
11
+ display: block;
12
+
13
+ position: absolute;
14
+ top: -10px;
15
+ left: 0;
16
+ height: calc(100% + 10px);
17
+ width: 100%;
18
+ background-color: rgb(230, 230, 230);
19
+ border: 2px dotted rgb(200, 200, 200);
20
+ border-radius: 5px;
21
+ }
22
+
23
+ img:after {
24
+ content: "\f127" " Image indisponible " attr(alt);
25
+ display: block;
26
+ font-size: 16px;
27
+ font-style: normal;
28
+ font-family: FontAwesome;
29
+ color: rgb(100, 100, 100);
30
+
31
+ position: absolute;
32
+ top: 5px;
33
+ left: 0;
34
+ width: 100%;
35
+ text-align: center;
36
+ }
@@ -0,0 +1,112 @@
1
+ //! normalize-opentype.css v0.2.4 | MIT License | kennethormandy.com/journal/normalize-opentype-css */
2
+
3
+ //**
4
+ // 1. Inherit style issues with custom selections, per robsterlini.co.uk/journal/opentype-and-selection-dont-mix
5
+ // 2. Turn on kerning, standard ligatures, and proportional, oldstyle numerals
6
+ // Turn off all other ligatures, tabular, lining numerals, and alternates
7
+ // Uses same settings for tables
8
+ // 3. Hard-codes fallback text selection for issue #18, color is Chrome’s per via http://stackoverflow.com/a/16094931/864799
9
+ ////
10
+
11
+ ::selection {
12
+ color: inherit; // 1.
13
+ text-shadow: inherit; // 2.
14
+ background-color: #ACCEF7; // 3.
15
+ }
16
+
17
+ html,
18
+ body,
19
+ table {
20
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0; /* 2. */
21
+ }
22
+
23
+ // Headings
24
+ //========================================================================== //
25
+
26
+ //
27
+ // 1. Turn on discretionary ligatures for larger headings
28
+ ////
29
+
30
+ h1,
31
+ h2,
32
+ h3 {
33
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 1; /* 1. */
34
+ }
35
+
36
+ // Text-level semantics
37
+ //========================================================================== //
38
+
39
+ //
40
+ // 1. Change all letters to uppercase
41
+ // 2. Turn on small caps for upper and lowercase letters
42
+ ////
43
+
44
+ abbr {
45
+ text-transform: uppercase; /* 1 */
46
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "smcp" 1, "c2sc" 1; /* 2 */
47
+ }
48
+
49
+ time {
50
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0;
51
+ }
52
+
53
+ //
54
+ // 1. Turn off kerning and ligatures,
55
+ // Turn on lining, tabular numerals, slashed zero
56
+ /////
57
+
58
+ pre,
59
+ kbd,
60
+ samp,
61
+ code {
62
+ font-feature-settings: "kern" 0, "liga" 0, "calt" 1, "dlig" 0, "pnum" 0, "tnum" 1, "onum" 0, "lnum" 1, "zero" 1; /* 1. */
63
+ }
64
+
65
+ mark {
66
+ }
67
+
68
+ small {
69
+ }
70
+
71
+ cite {
72
+ }
73
+
74
+ //
75
+ // 1. Turn on proper supercript numerals
76
+ ////
77
+
78
+ sup {
79
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "sups" 1; /* 1. */
80
+ }
81
+
82
+ //
83
+ // 1. Turn on proper subscript numerals
84
+ ////
85
+
86
+ sub {
87
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 1, "lnum" 0, "dlig" 0, "subs" 1; /* 1. */
88
+ }
89
+
90
+ // Forms
91
+ //========================================================================== //
92
+
93
+ input[type="color"],
94
+ input[type="date"],
95
+ input[type="datetime"],
96
+ input[type="datetime-local"],
97
+ input[type="number"],
98
+ input[type="range"],
99
+ input[type="tel"],
100
+ input[type="week"] {
101
+ font-feature-settings: "kern" 0, "liga" 1, "calt" 1, "pnum" 1, "tnum" 0, "onum" 0, "lnum" 1, "zero" 0; /* 1. */
102
+ }
103
+
104
+
105
+ //
106
+ // 1. Turns on tabular, lining numerals and slashed zero
107
+ ////
108
+
109
+ tbody,
110
+ caption {
111
+ font-feature-settings: "kern" 1, "liga" 1, "calt" 1, "pnum" 0, "tnum" 1, "onum" 0, "lnum" 1, "zero" 1; /* 1. */
112
+ }