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.
- checksums.yaml +4 -4
- metadata +3 -69
- data/LICENSE.txt +0 -21
- data/README.md +0 -49
- data/_includes/footer.html +0 -11
- data/_includes/head.html +0 -43
- data/_includes/menu.html +0 -47
- data/_includes/page-header.html +0 -8
- data/_includes/social-bar.html +0 -36
- data/_includes/social-link.html +0 -6
- data/_layouts/centered.html +0 -13
- data/_layouts/default.html +0 -13
- data/_layouts/index.html +0 -8
- data/_layouts/page.html +0 -11
- data/_layouts/post-index.html +0 -26
- data/_layouts/post.html +0 -21
- data/_sass/fontawesome/_animated.scss +0 -20
- data/_sass/fontawesome/_bordered-pulled.scss +0 -20
- data/_sass/fontawesome/_core.scss +0 -21
- data/_sass/fontawesome/_fixed-width.scss +0 -6
- data/_sass/fontawesome/_icons.scss +0 -1410
- data/_sass/fontawesome/_larger.scss +0 -23
- data/_sass/fontawesome/_list.scss +0 -18
- data/_sass/fontawesome/_mixins.scss +0 -56
- data/_sass/fontawesome/_rotated-flipped.scss +0 -24
- data/_sass/fontawesome/_screen-reader.scss +0 -5
- data/_sass/fontawesome/_shims.scss +0 -2066
- data/_sass/fontawesome/_stacked.scss +0 -31
- data/_sass/fontawesome/_variables.scss +0 -1427
- data/_sass/fontawesome/brands.scss +0 -23
- data/_sass/fontawesome/fontawesome.scss +0 -16
- data/_sass/fontawesome/regular.scss +0 -23
- data/_sass/fontawesome/solid.scss +0 -24
- data/_sass/fontawesome/v4-shims.scss +0 -6
- data/_sass/jekyll-theme-peaceful-gates.scss +0 -17
- data/_sass/jekyll-theme-peaceful-gates/_base.scss +0 -75
- data/_sass/jekyll-theme-peaceful-gates/_button.scss +0 -68
- data/_sass/jekyll-theme-peaceful-gates/_centered.scss +0 -29
- data/_sass/jekyll-theme-peaceful-gates/_code.scss +0 -121
- data/_sass/jekyll-theme-peaceful-gates/_footer.scss +0 -62
- data/_sass/jekyll-theme-peaceful-gates/_menu.scss +0 -112
- data/_sass/jekyll-theme-peaceful-gates/_page.scss +0 -74
- data/_sass/jekyll-theme-peaceful-gates/_theme.scss +0 -36
- data/_sass/jekyll-theme-peaceful-gates/_util.scss +0 -50
- data/_sass/jekyll-theme-peaceful-gates/_variables.scss +0 -31
- data/assets/css/main.scss +0 -3
- data/assets/fonts/consolas.ttf +0 -0
- data/assets/fonts/fa-brands-400.eot +0 -0
- data/assets/fonts/fa-brands-400.svg +0 -3570
- data/assets/fonts/fa-brands-400.ttf +0 -0
- data/assets/fonts/fa-brands-400.woff +0 -0
- data/assets/fonts/fa-brands-400.woff2 +0 -0
- data/assets/fonts/fa-regular-400.eot +0 -0
- data/assets/fonts/fa-regular-400.svg +0 -803
- data/assets/fonts/fa-regular-400.ttf +0 -0
- data/assets/fonts/fa-regular-400.woff +0 -0
- data/assets/fonts/fa-regular-400.woff2 +0 -0
- data/assets/fonts/fa-solid-900.eot +0 -0
- data/assets/fonts/fa-solid-900.svg +0 -4700
- data/assets/fonts/fa-solid-900.ttf +0 -0
- data/assets/fonts/fa-solid-900.woff +0 -0
- data/assets/fonts/fa-solid-900.woff2 +0 -0
- data/assets/images/showcase/landscape-photo.jpg +0 -0
- data/assets/images/showcase/portrait-photo.jpg +0 -0
- data/assets/images/showcase/square-photo.jpg +0 -0
- data/assets/js/darkmode-toggle.js +0 -45
- data/assets/js/dropdown-toggle.js +0 -5
- data/assets/js/table-layout.js +0 -14
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -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
|
-
})
|
data/assets/js/table-layout.js
DELETED
@@ -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
|
-
})
|