Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add files via upload #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.DS_Store
40 changes: 40 additions & 0 deletions invent.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html>
<head>
<title>Pizza Site</title>
<link rel="stylesheet" href="slytre.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">
<link rel="shourtcut icon" type="image/png" href="favicon.ico">
</head>
<body>
<header>
<i class="fa-solid fa-gamepad"></i>
<span>My Games<span>
<ul>
<li><a href="D:/Website/site.html">Main Site</a></li>
<li><a href="snake/index.html">Snake</a></li>
<li><a href="pong/index.html">Pong</a></li>
<li><a href="space-invaders/index.html">Space Invaders</a></li>
<li><a href="asteroids/index.html">Asteroids</a></li>
<li><a href="flappy/index.html">Flappy Bird Remake</a></li>
</ul>
</header>

<main>
<p>Get Started with a very special game!</p>
<button><style href>a {text-decoration: none}</style><style href>a {color: white}</style><a href="D:\main\somethingspecial/index.html">Start Playing a very special game!</a></button>
</body>
</html>
<script type="text/javascript">
document.addEventListener("mousemove", parallax);
function parallax(e){
document.querySelectorAll(".object").forEach(function(move){

var moving_value = move.getAttribute("data-value");
var x = (e.clientX * moving_value) / 250;
var y = (e.clientY * moving_value) / 250;

move.style.transform = "translateX(" + x + "px) translateY(" + y + "px)";
});
}
</script>
62 changes: 62 additions & 0 deletions slytre.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
*{
margin: 0;
padding: 0;
font-family: cursive;
box-sizing: border-box;
}
body{
height: 100vh;
background: linear-gradient(to right, #7db338, #777777);
}
header{
padding: 50px;
font-size: 30px;
color: white;
}
header span{
margin-left: 10px;
}
header ul{
float: right;
list-style: none;
}
header ul li{
display: inline-block;
padding: 5px 20px;
border-radius: 5px;
}
header ul li a{
text-decoration: none;
color: white;
}
header ul li:nth-child(0){
background-color: black;
}
header ul li:hover{
background-color: black;
font-size: 32px;
}
main{
text-align: center;
padding-top: 200px;
text-decoration: none;
}
main p{
font-size: 35px;
}
main button{
background-color: #7db338;
color: white;
padding: 10px 30px;
cursor: pointer;
margin-top: 15px;
font-size: 20px;
border-radius: 10px;
border: none;
outline: none;
text-decoration: none;
}
main button:hover{
font-size: 22px;
background-color: black;
}