jekyll-theme-peaceful-gates 2.0.1 → 2.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +21 -0
  3. data/README.md +49 -0
  4. data/_includes/footer.html +21 -0
  5. data/_includes/head.html +43 -0
  6. data/_includes/menu.html +40 -0
  7. data/_includes/page-header.html +6 -0
  8. data/_includes/social-bar.html +36 -0
  9. data/_includes/social-link.html +6 -0
  10. data/_layouts/centered.html +13 -0
  11. data/_layouts/default.html +13 -0
  12. data/_layouts/index.html +8 -0
  13. data/_layouts/page.html +10 -0
  14. data/_layouts/post-index.html +26 -0
  15. data/_layouts/post.html +19 -0
  16. data/_sass/fontawesome/_animated.scss +20 -0
  17. data/_sass/fontawesome/_bordered-pulled.scss +20 -0
  18. data/_sass/fontawesome/_core.scss +21 -0
  19. data/_sass/fontawesome/_fixed-width.scss +6 -0
  20. data/_sass/fontawesome/_icons.scss +1410 -0
  21. data/_sass/fontawesome/_larger.scss +23 -0
  22. data/_sass/fontawesome/_list.scss +18 -0
  23. data/_sass/fontawesome/_mixins.scss +56 -0
  24. data/_sass/fontawesome/_rotated-flipped.scss +24 -0
  25. data/_sass/fontawesome/_screen-reader.scss +5 -0
  26. data/_sass/fontawesome/_shims.scss +2066 -0
  27. data/_sass/fontawesome/_stacked.scss +31 -0
  28. data/_sass/fontawesome/_variables.scss +1427 -0
  29. data/_sass/fontawesome/brands.scss +23 -0
  30. data/_sass/fontawesome/fontawesome.scss +16 -0
  31. data/_sass/fontawesome/regular.scss +23 -0
  32. data/_sass/fontawesome/solid.scss +24 -0
  33. data/_sass/fontawesome/v4-shims.scss +6 -0
  34. data/_sass/jekyll-theme-peaceful-gates.scss +17 -0
  35. data/_sass/jekyll-theme-peaceful-gates/_base.scss +76 -0
  36. data/_sass/jekyll-theme-peaceful-gates/_button.scss +125 -0
  37. data/_sass/jekyll-theme-peaceful-gates/_centered.scss +29 -0
  38. data/_sass/jekyll-theme-peaceful-gates/_code.scss +121 -0
  39. data/_sass/jekyll-theme-peaceful-gates/_footer.scss +94 -0
  40. data/_sass/jekyll-theme-peaceful-gates/_menu.scss +108 -0
  41. data/_sass/jekyll-theme-peaceful-gates/_page.scss +74 -0
  42. data/_sass/jekyll-theme-peaceful-gates/_theme.scss +57 -0
  43. data/_sass/jekyll-theme-peaceful-gates/_util.scss +60 -0
  44. data/_sass/jekyll-theme-peaceful-gates/_variables.scss +32 -0
  45. data/assets/css/main.scss +8 -0
  46. data/assets/fonts/consolas.ttf +0 -0
  47. data/assets/fonts/fa-brands-400.eot +0 -0
  48. data/assets/fonts/fa-brands-400.svg +3570 -0
  49. data/assets/fonts/fa-brands-400.ttf +0 -0
  50. data/assets/fonts/fa-brands-400.woff +0 -0
  51. data/assets/fonts/fa-brands-400.woff2 +0 -0
  52. data/assets/fonts/fa-regular-400.eot +0 -0
  53. data/assets/fonts/fa-regular-400.svg +803 -0
  54. data/assets/fonts/fa-regular-400.ttf +0 -0
  55. data/assets/fonts/fa-regular-400.woff +0 -0
  56. data/assets/fonts/fa-regular-400.woff2 +0 -0
  57. data/assets/fonts/fa-solid-900.eot +0 -0
  58. data/assets/fonts/fa-solid-900.svg +4700 -0
  59. data/assets/fonts/fa-solid-900.ttf +0 -0
  60. data/assets/fonts/fa-solid-900.woff +0 -0
  61. data/assets/fonts/fa-solid-900.woff2 +0 -0
  62. data/assets/images/showcase/landscape-photo.jpg +0 -0
  63. data/assets/images/showcase/portrait-photo.jpg +0 -0
  64. data/assets/images/showcase/square-photo.jpg +0 -0
  65. data/assets/js/colormode-select.js +9 -0
  66. data/assets/js/dropdown-toggle.js +5 -0
  67. data/assets/js/table-layout.js +14 -0
  68. metadata +69 -3
@@ -0,0 +1,9 @@
1
+ $(function() {
2
+ $('#colormode-selector').change(function() {
3
+ $('body').removeClass()
4
+ let val = $(this).val()
5
+ if (val !== 'colormode-auto') {
6
+ $('body').addClass(val)
7
+ }
8
+ })
9
+ })
@@ -0,0 +1,5 @@
1
+ $(function() {
2
+ $('#dropdown-toggle').click(function() {
3
+ $('#toggled-dropdown').slideToggle(300);
4
+ })
5
+ })
@@ -0,0 +1,14 @@
1
+ $(function() {
2
+ $('.horizontal-scroll > table').each(function() {
3
+ // Get cell width from longest line in table
4
+ let cellWidth = $(this)
5
+ .find('th,td')
6
+ .map(function() { return parseInt($(this).outerWidth()) })
7
+ .get()
8
+ .reduce((a, b) => Math.max(a, b))
9
+ console.log('Table Cell Width:', cellWidth)
10
+
11
+ // Set minimum width of table cell to width of longest element
12
+ $(this).find('th,td').css('min-width', cellWidth)
13
+ })
14
+ })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-peaceful-gates
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - andydevs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-13 00:00:00.000000000 Z
11
+ date: 2021-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -72,7 +72,73 @@ email:
72
72
  executables: []
73
73
  extensions: []
74
74
  extra_rdoc_files: []
75
- files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _includes/footer.html
79
+ - _includes/head.html
80
+ - _includes/menu.html
81
+ - _includes/page-header.html
82
+ - _includes/social-bar.html
83
+ - _includes/social-link.html
84
+ - _layouts/centered.html
85
+ - _layouts/default.html
86
+ - _layouts/index.html
87
+ - _layouts/page.html
88
+ - _layouts/post-index.html
89
+ - _layouts/post.html
90
+ - _sass/fontawesome/_animated.scss
91
+ - _sass/fontawesome/_bordered-pulled.scss
92
+ - _sass/fontawesome/_core.scss
93
+ - _sass/fontawesome/_fixed-width.scss
94
+ - _sass/fontawesome/_icons.scss
95
+ - _sass/fontawesome/_larger.scss
96
+ - _sass/fontawesome/_list.scss
97
+ - _sass/fontawesome/_mixins.scss
98
+ - _sass/fontawesome/_rotated-flipped.scss
99
+ - _sass/fontawesome/_screen-reader.scss
100
+ - _sass/fontawesome/_shims.scss
101
+ - _sass/fontawesome/_stacked.scss
102
+ - _sass/fontawesome/_variables.scss
103
+ - _sass/fontawesome/brands.scss
104
+ - _sass/fontawesome/fontawesome.scss
105
+ - _sass/fontawesome/regular.scss
106
+ - _sass/fontawesome/solid.scss
107
+ - _sass/fontawesome/v4-shims.scss
108
+ - _sass/jekyll-theme-peaceful-gates.scss
109
+ - _sass/jekyll-theme-peaceful-gates/_base.scss
110
+ - _sass/jekyll-theme-peaceful-gates/_button.scss
111
+ - _sass/jekyll-theme-peaceful-gates/_centered.scss
112
+ - _sass/jekyll-theme-peaceful-gates/_code.scss
113
+ - _sass/jekyll-theme-peaceful-gates/_footer.scss
114
+ - _sass/jekyll-theme-peaceful-gates/_menu.scss
115
+ - _sass/jekyll-theme-peaceful-gates/_page.scss
116
+ - _sass/jekyll-theme-peaceful-gates/_theme.scss
117
+ - _sass/jekyll-theme-peaceful-gates/_util.scss
118
+ - _sass/jekyll-theme-peaceful-gates/_variables.scss
119
+ - assets/css/main.scss
120
+ - assets/fonts/consolas.ttf
121
+ - assets/fonts/fa-brands-400.eot
122
+ - assets/fonts/fa-brands-400.svg
123
+ - assets/fonts/fa-brands-400.ttf
124
+ - assets/fonts/fa-brands-400.woff
125
+ - assets/fonts/fa-brands-400.woff2
126
+ - assets/fonts/fa-regular-400.eot
127
+ - assets/fonts/fa-regular-400.svg
128
+ - assets/fonts/fa-regular-400.ttf
129
+ - assets/fonts/fa-regular-400.woff
130
+ - assets/fonts/fa-regular-400.woff2
131
+ - assets/fonts/fa-solid-900.eot
132
+ - assets/fonts/fa-solid-900.svg
133
+ - assets/fonts/fa-solid-900.ttf
134
+ - assets/fonts/fa-solid-900.woff
135
+ - assets/fonts/fa-solid-900.woff2
136
+ - assets/images/showcase/landscape-photo.jpg
137
+ - assets/images/showcase/portrait-photo.jpg
138
+ - assets/images/showcase/square-photo.jpg
139
+ - assets/js/colormode-select.js
140
+ - assets/js/dropdown-toggle.js
141
+ - assets/js/table-layout.js
76
142
  homepage: https://github.com/andydevs/jekyll-theme-peaceful-gates
77
143
  licenses:
78
144
  - MIT