jekyll-theme-peaceful-gates 2.0.0 → 2.0.1

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. metadata +3 -69
  3. data/LICENSE.txt +0 -21
  4. data/README.md +0 -49
  5. data/_includes/footer.html +0 -11
  6. data/_includes/head.html +0 -43
  7. data/_includes/menu.html +0 -47
  8. data/_includes/page-header.html +0 -8
  9. data/_includes/social-bar.html +0 -36
  10. data/_includes/social-link.html +0 -6
  11. data/_layouts/centered.html +0 -13
  12. data/_layouts/default.html +0 -13
  13. data/_layouts/index.html +0 -8
  14. data/_layouts/page.html +0 -11
  15. data/_layouts/post-index.html +0 -26
  16. data/_layouts/post.html +0 -21
  17. data/_sass/fontawesome/_animated.scss +0 -20
  18. data/_sass/fontawesome/_bordered-pulled.scss +0 -20
  19. data/_sass/fontawesome/_core.scss +0 -21
  20. data/_sass/fontawesome/_fixed-width.scss +0 -6
  21. data/_sass/fontawesome/_icons.scss +0 -1410
  22. data/_sass/fontawesome/_larger.scss +0 -23
  23. data/_sass/fontawesome/_list.scss +0 -18
  24. data/_sass/fontawesome/_mixins.scss +0 -56
  25. data/_sass/fontawesome/_rotated-flipped.scss +0 -24
  26. data/_sass/fontawesome/_screen-reader.scss +0 -5
  27. data/_sass/fontawesome/_shims.scss +0 -2066
  28. data/_sass/fontawesome/_stacked.scss +0 -31
  29. data/_sass/fontawesome/_variables.scss +0 -1427
  30. data/_sass/fontawesome/brands.scss +0 -23
  31. data/_sass/fontawesome/fontawesome.scss +0 -16
  32. data/_sass/fontawesome/regular.scss +0 -23
  33. data/_sass/fontawesome/solid.scss +0 -24
  34. data/_sass/fontawesome/v4-shims.scss +0 -6
  35. data/_sass/jekyll-theme-peaceful-gates.scss +0 -17
  36. data/_sass/jekyll-theme-peaceful-gates/_base.scss +0 -75
  37. data/_sass/jekyll-theme-peaceful-gates/_button.scss +0 -68
  38. data/_sass/jekyll-theme-peaceful-gates/_centered.scss +0 -29
  39. data/_sass/jekyll-theme-peaceful-gates/_code.scss +0 -121
  40. data/_sass/jekyll-theme-peaceful-gates/_footer.scss +0 -62
  41. data/_sass/jekyll-theme-peaceful-gates/_menu.scss +0 -112
  42. data/_sass/jekyll-theme-peaceful-gates/_page.scss +0 -74
  43. data/_sass/jekyll-theme-peaceful-gates/_theme.scss +0 -36
  44. data/_sass/jekyll-theme-peaceful-gates/_util.scss +0 -50
  45. data/_sass/jekyll-theme-peaceful-gates/_variables.scss +0 -31
  46. data/assets/css/main.scss +0 -3
  47. data/assets/fonts/consolas.ttf +0 -0
  48. data/assets/fonts/fa-brands-400.eot +0 -0
  49. data/assets/fonts/fa-brands-400.svg +0 -3570
  50. data/assets/fonts/fa-brands-400.ttf +0 -0
  51. data/assets/fonts/fa-brands-400.woff +0 -0
  52. data/assets/fonts/fa-brands-400.woff2 +0 -0
  53. data/assets/fonts/fa-regular-400.eot +0 -0
  54. data/assets/fonts/fa-regular-400.svg +0 -803
  55. data/assets/fonts/fa-regular-400.ttf +0 -0
  56. data/assets/fonts/fa-regular-400.woff +0 -0
  57. data/assets/fonts/fa-regular-400.woff2 +0 -0
  58. data/assets/fonts/fa-solid-900.eot +0 -0
  59. data/assets/fonts/fa-solid-900.svg +0 -4700
  60. data/assets/fonts/fa-solid-900.ttf +0 -0
  61. data/assets/fonts/fa-solid-900.woff +0 -0
  62. data/assets/fonts/fa-solid-900.woff2 +0 -0
  63. data/assets/images/showcase/landscape-photo.jpg +0 -0
  64. data/assets/images/showcase/portrait-photo.jpg +0 -0
  65. data/assets/images/showcase/square-photo.jpg +0 -0
  66. data/assets/js/darkmode-toggle.js +0 -45
  67. data/assets/js/dropdown-toggle.js +0 -5
  68. data/assets/js/table-layout.js +0 -14
@@ -1,45 +0,0 @@
1
- $(function() {
2
- // Get body jQuery
3
- let $body = $('body')
4
-
5
- /**
6
- * Enable darkmode
7
- */
8
- function darkmodeEnable() {
9
- $body.addClass('darkmode')
10
- console.log('Darkmode enabled!')
11
- }
12
-
13
- /**
14
- * Disable darkmode
15
- */
16
- function darkmodeDisable() {
17
- $body.removeClass('darkmode')
18
- console.log('Darkmode disabled!')
19
- }
20
-
21
- // Get darkmode from localstorage
22
- let darkmode = localStorage.getItem('darkmode') || 'off'
23
- console.log('Darkmode:', darkmode)
24
-
25
- // Set initial darkmode
26
- if (darkmode === 'on') darkmodeEnable();
27
- else darkmodeDisable();
28
-
29
- // Darkmode toggle
30
- $('#toggle-darkmode').click(function() {
31
- console.group('Darkmode Toggle')
32
- console.log('Current darkmode:', darkmode)
33
- if (darkmode === 'on') {
34
- darkmodeDisable();
35
- darkmode = 'off';
36
- }
37
- else {
38
- darkmodeEnable()
39
- darkmode = 'on'
40
- }
41
- console.log('Next darkmode:', darkmode)
42
- localStorage.setItem('darkmode', darkmode)
43
- console.groupEnd()
44
- })
45
- })
@@ -1,5 +0,0 @@
1
- $(function() {
2
- $('#dropdown-toggle').click(function() {
3
- $('#toggled-dropdown').slideToggle(300);
4
- })
5
- })
@@ -1,14 +0,0 @@
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
- })