jekyll-minimal-dark-orange 1.0.0

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.
@@ -0,0 +1,78 @@
1
+ .highlight table td { padding: 5px; }
2
+ .highlight table pre { margin: 0; }
3
+ .highlight, .highlight .w {
4
+ color: #f8f8f2;
5
+ background-color: #272822;
6
+ }
7
+ .highlight .err {
8
+ color: #272822;
9
+ background-color: #f92672;
10
+ }
11
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
12
+ color: #75715e;
13
+ }
14
+ .highlight .cp {
15
+ color: #f4bf75;
16
+ }
17
+ .highlight .nt {
18
+ color: #f4bf75;
19
+ }
20
+ .highlight .o, .highlight .ow {
21
+ color: #f8f8f2;
22
+ }
23
+ .highlight .p, .highlight .pi {
24
+ color: #f8f8f2;
25
+ }
26
+ .highlight .gi {
27
+ color: #a6e22e;
28
+ }
29
+ .highlight .gd {
30
+ color: #f92672;
31
+ }
32
+ .highlight .gh {
33
+ color: #66d9ef;
34
+ background-color: #272822;
35
+ font-weight: bold;
36
+ }
37
+ .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
38
+ color: #ae81ff;
39
+ }
40
+ .highlight .kc {
41
+ color: #fd971f;
42
+ }
43
+ .highlight .kt {
44
+ color: #fd971f;
45
+ }
46
+ .highlight .kd {
47
+ color: #fd971f;
48
+ }
49
+ .highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
50
+ color: #a6e22e;
51
+ }
52
+ .highlight .sr {
53
+ color: #a1efe4;
54
+ }
55
+ .highlight .si {
56
+ color: #cc6633;
57
+ }
58
+ .highlight .se {
59
+ color: #cc6633;
60
+ }
61
+ .highlight .nn {
62
+ color: #f4bf75;
63
+ }
64
+ .highlight .nc {
65
+ color: #f4bf75;
66
+ }
67
+ .highlight .no {
68
+ color: #f4bf75;
69
+ }
70
+ .highlight .na {
71
+ color: #66d9ef;
72
+ }
73
+ .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
74
+ color: #a6e22e;
75
+ }
76
+ .highlight .ss {
77
+ color: #a6e22e;
78
+ }
@@ -0,0 +1,47 @@
1
+ qs = function(ele){
2
+ return document.querySelector(ele);
3
+ }
4
+
5
+ var main_nav = qs('#main-nav');
6
+ var toggle_nav = qs('#toggle_nav');
7
+ var search_div = qs('#search-div');
8
+
9
+ toggle_nav.addEventListener('click', function(e){
10
+ e.preventDefault();
11
+ e.stopPropagation();
12
+ main_nav.classList.toggle('open');
13
+ });
14
+
15
+ var tables = document.querySelectorAll('table');
16
+ tables.forEach(function(t){
17
+ t.classList.add('responsive');
18
+ th = t.querySelectorAll('thead th');
19
+ tr = t.querySelectorAll('tbody tr');
20
+ tr.forEach(function(e){
21
+ th.forEach(function(e2, i){
22
+ e.children[i].setAttribute('data-title', e2.innerHTML);
23
+ });
24
+ });
25
+ });
26
+
27
+ qs('#search-input').addEventListener('keyup', function(){
28
+ if (this.value != ''){
29
+ if(window.innerWidth > 768) qs('body').classList.add('no-scroll');
30
+ qs('#search-btn').setAttribute('class', 'icon-cancel');
31
+ search_div.classList.add('show');
32
+ }else{
33
+ if(window.innerWidth > 768) qs('body').classList.remove('no-scroll');
34
+ qs('#search-btn').setAttribute('class', 'icon-search');
35
+ search_div.classList.remove('show');
36
+ }
37
+ });
38
+
39
+ qs('#search-btn').addEventListener('click', closeSearch);
40
+ qs('#close-search').addEventListener('click', closeSearch);
41
+
42
+ function closeSearch(){
43
+ qs('#search-input').value = '';
44
+ qs('body').classList.remove('no-scroll');
45
+ qs('#search-btn').setAttribute('class', 'icon-search');
46
+ search_div.classList.remove('show');
47
+ }
@@ -0,0 +1 @@
1
+ qs=function(ele){return document.querySelector(ele)};var main_nav=qs("#main-nav"),toggle_nav=qs("#toggle_nav"),search_div=qs("#search-div");toggle_nav.addEventListener("click",(function(e){e.preventDefault(),e.stopPropagation(),main_nav.classList.toggle("open")}));var tables=document.querySelectorAll("table");function closeSearch(){qs("#search-input").value="",qs("body").classList.remove("no-scroll"),qs("#search-btn").setAttribute("class","icon-search"),search_div.classList.remove("show")}tables.forEach((function(t){t.classList.add("responsive"),th=t.querySelectorAll("thead th"),tr=t.querySelectorAll("tbody tr"),tr.forEach((function(e){th.forEach((function(e2,i){e.children[i].setAttribute("data-title",e2.innerHTML)}))}))})),qs("#search-input").addEventListener("keyup",(function(){""!=this.value?(window.innerWidth>768&&qs("body").classList.add("no-scroll"),qs("#search-btn").setAttribute("class","icon-cancel"),search_div.classList.add("show")):(window.innerWidth>768&&qs("body").classList.remove("no-scroll"),qs("#search-btn").setAttribute("class","icon-search"),search_div.classList.remove("show"))})),qs("#search-btn").addEventListener("click",closeSearch),qs("#close-search").addEventListener("click",closeSearch);
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Simple-Jekyll-Search v1.7.2 (https://github.com/christian-fei/Simple-Jekyll-Search)
3
+ * Copyright 2015-2018, Christian Fei
4
+ * Licensed under the MIT License.
5
+ */
6
+ !function(){"use strict";var f={load:function w(t,e){var n=function r(){return window.XMLHttpRequest?new window.XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP")}();n.open("GET",t,!0),n.onreadystatechange=function i(e,n){return function(){if(4===e.readyState&&200===e.status)try{n(null,JSON.parse(e.responseText))}catch(t){n(t,null)}}}(n,e),n.send()}};(function y(t){if(!function e(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(t))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(t);var r=t.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}});var n=function g(t,e){var n=e.length,r=t.length;if(n<r)return!1;if(r===n)return t===e;t:for(var i=0,o=0;i<r;i++){for(var u=t.charCodeAt(i);o<n;)if(e.charCodeAt(o++)===u)continue t;return!1}return!0},e=new function t(){this.matches=function(t,e){return n(e.toLowerCase(),t.toLowerCase())}};var r=new function O(){this.matches=function(e,t){return!!e&&(e=e.trim().toLowerCase(),(t=t.trim().toLowerCase()).split(" ").filter(function(t){return 0<=e.indexOf(t)}).length===t.split(" ").length)}};var l={put:function z(t){if(c(t))return s(t);if(function e(t){return Boolean(t)&&"[object Array]"===Object.prototype.toString.call(t)}(t))return function i(t){var e=[];a();for(var n=0,r=t.length;n<r;n++)c(t[n])&&e.push(s(t[n]));return e}(t);return undefined},clear:a,search:function S(t){return t?function a(t,e,n,r){for(var i=[],o=0;o<t.length&&i.length<r.limit;o++){var u=d(t[o],e,n,r);u&&i.push(u)}return i}(o,t,u.searchStrategy,u).sort(u.sort):[]},setOptions:function q(t){(u=t||{}).fuzzy=t.fuzzy||!1,u.limit=t.limit||10,u.searchStrategy=t.fuzzy?e:r,u.sort=t.sort||i}};function i(){return 0}var o=[],u={};function a(){return o.length=0,o}function c(t){return Boolean(t)&&"[object Object]"===Object.prototype.toString.call(t)}function s(t){return o.push(t),o}function d(t,e,n,r){for(var i in t)if(!p(t[i],r.exclude)&&n.matches(t[i],e))return t}function p(t,e){for(var n=!1,r=0,i=(e=e||[]).length;r<i;r++){var o=e[r];!n&&new RegExp(t).test(o)&&(n=!0)}return n}u.fuzzy=!1,u.limit=10,u.searchStrategy=u.fuzzy?e:r,u.sort=i;var h={compile:function j(r){return m.template.replace(m.pattern,function(t,e){var n=m.middleware(e,r[e],m.template);return void 0!==n?n:r[e]||t})},setOptions:function C(t){m.pattern=t.pattern||m.pattern,m.template=t.template||m.template,"function"==typeof t.middleware&&(m.middleware=t.middleware)}},m={};m.pattern=/\{(.*?)\}/g,m.template="",m.middleware=function(){};var v={merge:function L(t,e){var n={};for(var r in t)n[r]=t[r],"undefined"!=typeof e[r]&&(n[r]=e[r]);return n},isJSON:function M(t){try{return!!(t instanceof Object&&JSON.parse(JSON.stringify(t)))}catch(e){return!1}}};!function(t){var o={searchInput:null,resultsContainer:null,json:[],success:Function.prototype,searchResultTemplate:'<li><a href="{url}" title="{desc}">{title}</a></li>',templateMiddleware:Function.prototype,sortMiddleware:function(){return 0},noResultsText:"No results found",limit:10,fuzzy:!1,exclude:[]},n=["searchInput","resultsContainer","json"],r=function y(e){if(!function n(t){return!!t&&"undefined"!=typeof t.required&&t.required instanceof Array}(e))throw new Error("-- OptionsValidator: required options missing");if(!(this instanceof y))return new y(e);var r=e.required;this.getRequiredOptions=function(){return r},this.validate=function(e){var n=[];return r.forEach(function(t){"undefined"==typeof e[t]&&n.push(t)}),n}}({required:n});function i(t){o.success(t),l.put(t),function e(){o.searchInput.addEventListener("keyup",function(t){(function e(t){return-1===[13,16,20,37,38,39,40,91].indexOf(t)})(t.which)&&(u(),c(t.target.value))})}()}function u(){o.resultsContainer.innerHTML=""}function a(t){o.resultsContainer.innerHTML+=t}function c(t){(function e(t){return t&&0<t.length})(t)&&(u(),function i(t,e){var n=t.length;if(0===n)return a(o.noResultsText);for(var r=0;r<n;r++)t[r].query=e,a(h.compile(t[r]))}(l.search(t),t))}function s(t){throw new Error("SimpleJekyllSearch --- "+t)}t.SimpleJekyllSearch=function(t){return 0<r.validate(t).length&&s("You must specify the following required options: "+n),o=v.merge(o,t),h.setOptions({template:o.searchResultTemplate,middleware:o.templateMiddleware}),l.setOptions({fuzzy:o.fuzzy,limit:o.limit,sort:o.sortMiddleware}),v.isJSON(o.json)?i(o.json):function e(n){f.load(n,function(t,e){t&&s("failed to get JSON ("+n+")"),i(e)})}(o.json),{search:c}}}(window)}();
metadata ADDED
@@ -0,0 +1,106 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: jekyll-minimal-dark-orange
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Alfonso Saavedra "Son Link"
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-02-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: jekyll
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rake
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '12.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '12.0'
55
+ description:
56
+ email:
57
+ - sonlink.dourden@gmail.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - LICENSE.txt
63
+ - README-1.md
64
+ - README.md
65
+ - _includes/footer.html
66
+ - _includes/google-analytics.html
67
+ - _includes/header.html
68
+ - _includes/social_links.html
69
+ - _layouts/404.html
70
+ - _layouts/default.html
71
+ - _layouts/home.html
72
+ - _layouts/page.html
73
+ - _layouts/post.html
74
+ - _sass/nanocss.scss
75
+ - assets/css/config.json
76
+ - assets/css/fontello-embedded.css
77
+ - assets/css/style.scss
78
+ - assets/css/syntax.css
79
+ - assets/css/syntax.css.bck
80
+ - assets/js/app.js
81
+ - assets/js/app.min.js
82
+ - assets/js/simple-jekyll-search.min.js
83
+ homepage: https://son-link.github.io/jekyll-minimal-dark-orange
84
+ licenses:
85
+ - GPL3
86
+ metadata: {}
87
+ post_install_message:
88
+ rdoc_options: []
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubygems_version: 3.1.2
103
+ signing_key:
104
+ specification_version: 4
105
+ summary: A simple and mininalistic theme for Jekyll
106
+ test_files: []