2019-11-17 02:27:32 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2019-12-09 17:04:29 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
|
|
|
|
<title></title>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
2020-01-14 11:54:30 +00:00
|
|
|
href="https://cdn.materialdesignicons.com/4.7.95/css/materialdesignicons.min.css"
|
2019-12-09 17:04:29 +00:00
|
|
|
/>
|
|
|
|
<script
|
|
|
|
src="https://code.jquery.com/jquery-3.4.1.min.js"
|
|
|
|
integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo="
|
|
|
|
crossorigin="anonymous"
|
|
|
|
></script>
|
2020-01-15 17:09:52 +00:00
|
|
|
<link
|
|
|
|
href="https://fonts.googleapis.com/css?family=Asap|Asap+Condensed|Poppins&display=swap"
|
|
|
|
rel="stylesheet"
|
|
|
|
/>
|
2019-12-09 17:04:29 +00:00
|
|
|
<script src="https://unpkg.com/magic-grid/dist/magic-grid.min.js"></script>
|
|
|
|
<link rel="stylesheet" href="index.css" />
|
|
|
|
</head>
|
2019-11-17 02:27:32 +00:00
|
|
|
|
2019-12-09 17:04:29 +00:00
|
|
|
<body>
|
|
|
|
<div id="profile">
|
|
|
|
<div id="profile_img">
|
|
|
|
<span id="status">K_</span>
|
|
|
|
</div>
|
|
|
|
<div id="username">
|
|
|
|
<div id="fullname"></div>
|
|
|
|
</div>
|
|
|
|
<div id="userbio"></div>
|
|
|
|
<div id="about"></div>
|
2019-11-17 02:27:32 +00:00
|
|
|
</div>
|
2019-12-09 17:04:29 +00:00
|
|
|
<div id="display">
|
|
|
|
<div id="work">
|
|
|
|
<h1>Work.</h1>
|
|
|
|
<div class="projects" id="work_section"></div>
|
|
|
|
</div>
|
|
|
|
<div id="forks" style="display:none;">
|
|
|
|
<h1>Forks.</h1>
|
|
|
|
<div class="projects" id="forks_section"></div>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
|
|
<a href="https://github.com/imfunniee" target="_blank">
|
|
|
|
made on earth by a human
|
|
|
|
</a>
|
|
|
|
</div>
|
2019-11-17 02:27:32 +00:00
|
|
|
</div>
|
2019-12-09 17:04:29 +00:00
|
|
|
<script>
|
|
|
|
const magicProjectsGrid = new MagicGrid({
|
|
|
|
container: "#work_section",
|
|
|
|
animate: false,
|
|
|
|
gutter: 30, // default gutter size
|
|
|
|
static: true,
|
|
|
|
useMin: false,
|
|
|
|
maxColumns: 2,
|
|
|
|
useTransform: true
|
|
|
|
});
|
2019-11-17 02:27:32 +00:00
|
|
|
|
2019-12-09 17:04:29 +00:00
|
|
|
const magicForksGrid = new MagicGrid({
|
|
|
|
container: "#forks_section",
|
|
|
|
animate: false,
|
|
|
|
gutter: 30, // default gutter size
|
|
|
|
static: true,
|
|
|
|
useMin: false,
|
|
|
|
maxColumns: 2,
|
|
|
|
useTransform: true
|
|
|
|
});
|
2019-11-17 02:27:32 +00:00
|
|
|
|
2019-12-09 17:04:29 +00:00
|
|
|
$("document").ready(() => {
|
|
|
|
magicProjectsGrid.listen();
|
|
|
|
magicForksGrid.listen();
|
|
|
|
});
|
2019-12-13 16:53:05 +00:00
|
|
|
|
|
|
|
// function([string1, string2],target id,[color1,color2])
|
|
|
|
consoleText(["K4USTU3H", "Just another code copy-paster."], "text", [
|
|
|
|
"white",
|
|
|
|
"white"
|
|
|
|
]);
|
|
|
|
|
|
|
|
function consoleText(words, id, colors) {
|
|
|
|
if (colors === undefined) colors = ["#fff"];
|
|
|
|
var visible = true;
|
|
|
|
var con = document.getElementById("console");
|
|
|
|
var letterCount = 1;
|
|
|
|
var x = 1;
|
|
|
|
var waiting = false;
|
|
|
|
var target = document.getElementById(id);
|
|
|
|
target.setAttribute("style", "color:" + colors[0]);
|
|
|
|
window.setInterval(function() {
|
|
|
|
if (letterCount === 0 && waiting === false) {
|
|
|
|
waiting = true;
|
|
|
|
target.innerHTML = words[0].substring(0, letterCount);
|
|
|
|
window.setTimeout(function() {
|
|
|
|
var usedColor = colors.shift();
|
|
|
|
colors.push(usedColor);
|
|
|
|
var usedWord = words.shift();
|
|
|
|
words.push(usedWord);
|
|
|
|
x = 1;
|
|
|
|
target.setAttribute("style", "color:" + colors[0]);
|
|
|
|
letterCount += x;
|
|
|
|
waiting = false;
|
|
|
|
}, 1000);
|
|
|
|
} else if (letterCount === words[0].length + 1 && waiting === false) {
|
|
|
|
waiting = true;
|
|
|
|
window.setTimeout(function() {
|
|
|
|
x = -1;
|
|
|
|
letterCount += x;
|
|
|
|
waiting = false;
|
|
|
|
}, 1000);
|
|
|
|
} else if (waiting === false) {
|
|
|
|
target.innerHTML = words[0].substring(0, letterCount);
|
|
|
|
letterCount += x;
|
|
|
|
}
|
|
|
|
}, 120);
|
|
|
|
window.setInterval(function() {
|
|
|
|
if (visible === true) {
|
|
|
|
con.className = "console-underscore hidden";
|
|
|
|
visible = false;
|
|
|
|
} else {
|
|
|
|
con.className = "console-underscore";
|
|
|
|
|
|
|
|
visible = true;
|
|
|
|
}
|
|
|
|
}, 400);
|
|
|
|
}
|
2019-12-09 17:04:29 +00:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|