Skip to content

Commit

Permalink
Deploy xypnox/blag to xypnox/blag:gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Sep 13, 2021
0 parents commit b888d8c
Show file tree
Hide file tree
Showing 195 changed files with 34,149 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 404.html
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>
366 changes: 366 additions & 0 deletions about/index.html

Large diffs are not rendered by default.

Binary file added android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,954 changes: 1,954 additions & 0 deletions atom.xml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions behance.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
358 changes: 358 additions & 0 deletions categories/comic/index.html

Large diffs are not rendered by default.

372 changes: 372 additions & 0 deletions categories/design/index.html

Large diffs are not rendered by default.

372 changes: 372 additions & 0 deletions categories/index.html

Large diffs are not rendered by default.

393 changes: 393 additions & 0 deletions categories/literature/index.html

Large diffs are not rendered by default.

351 changes: 351 additions & 0 deletions categories/philosophy/index.html

Large diffs are not rendered by default.

421 changes: 421 additions & 0 deletions categories/tech/index.html

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions css/custom.css
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;
}
} */
Binary file added favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icon/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Screenshot-Ubuntu-18.04.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/angular_momentum.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love-cover.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/YouTube-Vanced.webp
Binary file not shown.
Binary file added images/apps-i-love/alto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/eboox.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/figma.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/i3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/joey.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/telegram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/typora.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/apps-i-love/vscode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/chess-problems.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/comic-losing-things.ora
Binary file not shown.
Binary file added images/comic-losing-things.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/designing-a-poster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/end-post-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions images/end-post.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/fontstaller-cover.jpg
Binary file added images/lonely.jpg
Binary file added images/new-year.png
Binary file added images/notes.jpg
Binary file added images/penguins-cover.jpg
Binary file added images/the-elderling-realm.jpg
Binary file added images/todx-setup-bash.png
Binary file added images/two-pens.jpg
Binary file added images/typography.png
Binary file added images/why-xypnox-cover.jpg
Binary file added images/xypnox-logo.png
666 changes: 666 additions & 0 deletions index.html

Large diffs are not rendered by default.

116 changes: 116 additions & 0 deletions main.js
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);
}
18 changes: 18 additions & 0 deletions main.svg
6 changes: 6 additions & 0 deletions page/1/index.html
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>
Loading

0 comments on commit b888d8c

Please sign in to comment.