-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deploy xypnox/blag to xypnox/blag:gh-pages
- Loading branch information
GitHub Actions
committed
Sep 13, 2021
0 parents
commit b888d8c
Showing
195 changed files
with
34,149 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<!doctype html> | ||
<title>404 Not Found</title> | ||
<h1>404 Not Found</h1> |
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* @import url('https://fonts.googleapis.com/css?family=Crimson+Text:400,400i,700,700i|Josefin+Sans:300,400'); | ||
.main-menu ul li { | ||
transition: 0.4s; | ||
border-bottom: 2px solid #00000000; | ||
} | ||
.main-menu ul li:hover { | ||
border-bottom: 2px solid #33df97; | ||
} | ||
.title, | ||
h1, | ||
h2, | ||
h3, | ||
h4, | ||
h5, | ||
h6 { | ||
font-family: 'Josefin Sans', sans-serif; | ||
} | ||
.header-info .title { | ||
text-transform: none; | ||
} | ||
body, | ||
button, | ||
input, | ||
select, | ||
textarea { | ||
font-family: 'Josefin Sans', sans-serif; | ||
font-weight: lighter; | ||
font-size: 1.4em; | ||
} | ||
time { | ||
font-weight: normal; | ||
} | ||
.entry-content { | ||
font-family: 'Crimson Text', 'Times New Roman', serif; | ||
} | ||
.entry-content a { | ||
transition: 0.5s; | ||
border-bottom: 2px solid #bdbdbd; | ||
} | ||
@media only screen and (max-width: 500px) and (orientation: portrait) { | ||
body, | ||
button, | ||
input, | ||
select, | ||
textarea { | ||
font-size: 1em; | ||
} | ||
} | ||
.taxonomy-cloud li { | ||
font-weight: bold; | ||
} | ||
b, | ||
strong { | ||
font-weight: bold; | ||
} | ||
code, | ||
kbd, | ||
pre, | ||
samp, | ||
var { | ||
border: none; | ||
} | ||
.home .widget-recent_posts .item { | ||
display: inherit; | ||
margin-top: 2rem; | ||
} | ||
.home .widget-recent_posts .item-title a { | ||
font-size: 1.75rem; | ||
font-weight: bold; | ||
color: #263238; | ||
} | ||
@media only screen and (max-width: 500px) and (orientation: portrait) { | ||
.entry-content { | ||
font-size: 1.2em; | ||
} | ||
} */ |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
function initMobile() { | ||
var $mobileNav = document.getElementById('mobile-navbar'); | ||
var $mobileNavIcon = document.querySelector('.mobile-navbar-icon'); | ||
|
||
var slideout = new Slideout({ | ||
panel: document.getElementById('mobile-panel'), | ||
menu: document.getElementById('mobile-menu'), | ||
padding: 180, | ||
tolerance: 70, | ||
}); | ||
slideout.disableTouch(); | ||
|
||
$mobileNavIcon.addEventListener('click', function () { | ||
slideout.toggle(); | ||
}); | ||
|
||
slideout.on('beforeopen', function () { | ||
$mobileNav.classList.add('fixed-open'); | ||
$mobileNavIcon.classList.add('icon-click'); | ||
$mobileNavIcon.classList.remove('icon-out'); | ||
}); | ||
|
||
slideout.on('beforeclose', function () { | ||
$mobileNav.classList.remove('fixed-open'); | ||
$mobileNavIcon.classList.add('icon-out'); | ||
$mobileNavIcon.classList.remove('icon-click'); | ||
}); | ||
|
||
document | ||
.getElementById('mobile-panel') | ||
.addEventListener('touchend', function () { | ||
slideout.isOpen() && $mobileNavIcon.click(); | ||
}); | ||
} | ||
|
||
// function initToc() { | ||
// var $toclink = document.querySelectorAll('.toc-link'); | ||
// var $headerlink = document.querySelectorAll( | ||
// '.post-content h1 , .post-content h2' | ||
// ); | ||
// var $tocLinkLis = document.querySelectorAll('.post-toc-content li'); | ||
|
||
// console.log($toclink, $headerlink); | ||
|
||
// var searchActiveTocIndex = function (array, target) { | ||
// if (!array.length) { | ||
// return -1; | ||
// } | ||
|
||
// target += 30; | ||
// for (let i = 0; i < array.length - 1; i++) { | ||
// // console.log(array[i].textContent, array[i + 1].offsetTop); | ||
// if (target > array[i].offsetTop && target <= array[i + 1].offsetTop) | ||
// return i; | ||
// } | ||
// if (target > array[array.length - 1].offsetTop) return array.length - 1; | ||
// return -1; | ||
// }; | ||
|
||
// document.addEventListener('scroll', function () { | ||
// var scrollTop = | ||
// document.body.scrollTop | document.documentElement.scrollTop; | ||
// var activeTocIndex = searchActiveTocIndex($headerlink, scrollTop); | ||
|
||
// $toclink.forEach(function (el) { | ||
// el.classList.remove('active'); | ||
// }); | ||
// $tocLinkLis.forEach(function (el) { | ||
// el.classList.remove('has-active'); | ||
// }); | ||
|
||
// if ($toclink.length && activeTocIndex !== -1) { | ||
// $toclink[activeTocIndex].classList.add('active'); | ||
// let ancestor = $toclink[activeTocIndex].parentNode; | ||
// while (ancestor.tagName !== 'NAV') { | ||
// ancestor.classList.add('has-active'); | ||
// ancestor = ancestor.parentNode.parentNode; | ||
// } | ||
// } | ||
// }); | ||
// } | ||
|
||
function toggleTheme() { | ||
let body = document.getElementsByTagName('body')[0]; | ||
if (body) { | ||
body.style.transition = 'background-color 1s ease-in-out'; | ||
if (body.getAttribute('data-theme') === 'light') { | ||
body.setAttribute('data-theme', 'dark'); | ||
window.localStorage.setItem('theme', 'dark'); | ||
} else if (body.getAttribute('data-theme') === 'dark') { | ||
body.setAttribute('data-theme', 'light'); | ||
window.localStorage.setItem('theme', 'light'); | ||
} else { | ||
body.setAttribute('data-theme', 'light'); | ||
window.localStorage.setItem('theme', 'light'); | ||
} | ||
} | ||
setTimeout(function () { | ||
var d = document, | ||
s = d.createElement('script'); | ||
s.src = 'https://xypnox-blag.disqus.com/embed.js'; | ||
s.setAttribute('data-timestamp', +new Date()); | ||
(d.head || d.body).appendChild(s); | ||
}, 1000); | ||
} | ||
|
||
if ( | ||
document.readyState === 'complete' || | ||
(document.readyState !== 'loading' && !document.documentElement.doScroll) | ||
) { | ||
initMobile(); | ||
// initToc(); | ||
} else { | ||
document.addEventListener('DOMContentLoaded', initMobile); | ||
// document.addEventListener('DOMContentLoaded', initToc); | ||
} |
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<!doctype html> | ||
<meta charset="utf-8"> | ||
<link rel="canonical" href="https://www.xypnox.com/blag/"> | ||
<meta http-equiv="refresh" content="0; url=https://www.xypnox.com/blag/"> | ||
<title>Redirect</title> | ||
<p><a href="https://www.xypnox.com/blag/">Click here</a> to be redirected.</p> |
Oops, something went wrong.