index update

This commit is contained in:
HearMeWhisper 2021-12-31 21:22:27 -05:00
parent 47bd504f77
commit e6fe13faca
4 changed files with 208 additions and 78 deletions

View File

@ -1,95 +1,36 @@
<!DOCTYPE html>
<html>
<html lang="en">
<head>
<title>ChrisEdwards.tech</title>
<!--<link rel="icon" type="image/x-icon" href="http://hearmewhisper.ddns.net/games.ico">-->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="/menu/menu.css" />
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
<style>
body {
background-color: #667788;
}
@media only screen and (max-width: 600px) {}
main {
display: flex;
align-self: right;
background-color: #004455;
color: #a76f6f;
width: 75%;
font-family: "Roboto Slab";
word-wrap: break-word;
margin-top: .8em;
margin-left: 7%;
}
main li {
display: flex;
justify-content: flex-end;
align-items: flex-end;
text-align: right;
padding: 12px;
;
}
#pic {
width: 95%;
margin: auto;
text-align: center;
display: block;
}
#nav_menu{
margin-bottom: 100px;
}
#pic{
width: 300px;
}
</style>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Courier+Prime&display=swap" rel="stylesheet">
<title>chrisedwards</title>
</head>
<body>
<nav>
<nav>
<div id="nav_menu">
</div>
</nav>
<script src="/menu/menu.js"></script>
<main>
<ul>
<li>
<h1>Chris Edwards</h1>
</li>
<img id="pic" src="resume/chris.jpg" alt="Chris Edwards">
<li>
<h4>Computer Science Student and Enthusist</h4>
</li>
<li>
<h4>I love all kinds of tech, programming, networking, and hobbist projects.</h4>
</li>
<li>
<h4>This is a collection of some of my projects, each one forced me to learn a new skill I didn't know before it.
</h4>
</li>
<li><a style="color:#a76f6f; text-align: right;" href="mailto:edwards.christophermichael@gmail.com">email
me</a>
</li>
</ul>
<div id="term">
<span id='user'>user@localhost:</span>
<span id="type">
</span>
</div>
</main>
<script type="text/javascript">
</script>
</body>
<script src="/menu/menu.js"></script>
<script src="https://unpkg.com/typewriter-effect@latest/dist/core.js"></script>
<script src="script.js" defer></script>
</body>
</html>

119
index_oldv2.html Normal file
View File

@ -0,0 +1,119 @@
<!DOCTYPE html>
<html>
<head>
<title>ChrisEdwards.tech</title>
<!--<link rel="icon" type="image/x-icon" href="http://hearmewhisper.ddns.net/games.ico">-->
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="/menu/menu.css" />
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet">
<style>
body {
background-color: #667788;
}
@media only screen and (max-width: 600px) {}
main {
display: flex;
align-self: right;
background-color: #004455;
color: #a76f6f;
width: 75%;
font-family: "Roboto Slab";
word-wrap: break-word;
margin-top: 70px;
margin-left: 7%;
}
main li {
display: flex;
justify-content: flex-end;
align-items: flex-end;
text-align: right;
padding: 12px;
;
}
#pic {
width: 95%;
margin: auto;
text-align: center;
display: block;
}
#nav_menu{
margin-bottom: 100px;
}
#pic{
width: 300px;
}
h1{
display: flex;
justify-content: center;
align-content: flex-start;
padding-left: 20px;;
}
#type{
margin: auto;
}
</style>
</head>
<body>
<nav>
<div id="nav_menu">
</div>
</nav>
<script src="/menu/menu.js"></script>
<script src="https://unpkg.com/typewriter-effect@latest/dist/core.js"></script>
<main>
<div id="type"></div>
<!-- <img id="pic" src="resume/chris.jpg" alt="Chris Edwards"> -->
<li>
<h4>Computer Science Student and Enthusist</h4>
</li>
<li>
<h4>I love all kinds of tech, programming, networking, and hobbist projects.</h4>
</li>
<li>
<h4>This is a collection of some of my projects, each one forced me to learn a new skill I didn't know before it.
</h4>
</li>
<li><a style="color:#a76f6f; text-align: right;" href="mailto:edwards.christophermichael@gmail.com">email
me</a>
</li>
</ul>
</main>
<script type="text/javascript">
</script>
<script type="text/javascript">
var app = document.getElementById('type');
var typewriter = new Typewriter(document.getElementById('type'), {
loop: false,
cursor: "_",
});
typewriter
.pauseFor(1500)
.typeString('chris edwards')
.pauseFor(2000)
.start();
</script>
</body>
</html>

38
script.js Normal file
View File

@ -0,0 +1,38 @@
var app = document.getElementById('type');
var typewriter = new Typewriter(document.getElementById('type'), {
loop: false,
cursor: "_",
delay: 150,
});
typewriter
.typeString('name')
.pasteString('<br>')
.pauseFor(2000)
.pasteString('chris edwards')
.pasteString('<br>')
.pasteString("<span id='user'>user@localhost:</span>")
.typeString(' whoami')
.pauseFor(2000)
.pasteString('<br>')
.pasteString('computer science student and enthusist')
.pasteString('<br>')
.pasteString("<span id='user'>user@localhost:</span>")
.typeString(' why does this exist?')
.pauseFor(2000)
.pasteString('<br>')
.pasteString('this is a collection of games and utilities that i wrote on my learning path')
.pasteString('<br>')
.pasteString("<span id='user'>user@localhost:</span>")
.typeString(' ls')
.pauseFor(2000)
.pasteString('<br>')
.pasteString('<a class="link" href="/resume/">resume</a> <a class="link" href="/yatzee/">yatzee</a> <a class="link" href="/tictac/">tic tac touch</a><br>')
.pasteString('<a class="link" href="/MTG/">mtg life counter</a> <a class="link" href="/youtube_convert/">youtube downloader</a> <a class="link" href="/binary/">binary to ascii converter</a>')
.pasteString('<br>')
.pasteString("<span id='user'>user@localhost:</span>")
.start();
// .pasteString("user@localhost:") Computer Science Student and Enthusist

32
style.css Normal file
View File

@ -0,0 +1,32 @@
body {
background-color: #667788;
}
main{
display: flex;
justify-content: center;
width: 80%;
height: 500px;
margin: auto;
margin-top: 100px;
padding: 7px;
}
#term{
width: 80%;
height: 500px;
margin: auto;
background-color: rgb(54, 54, 54);
color: white;
padding: 7px;
font-family: 'Courier Prime',
monospace;
font-size: 2rem;
border: rgb(95, 95, 95) solid 5px;
}
#user{
color: rgb(39, 218, 39);
}
.link{
text-decoration: underline;
color: white;
margin: 5px;
}