-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dbca574
commit 530deaf
Showing
4 changed files
with
178 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,44 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="./styles.css"> | ||
|
||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
|
||
<link rel="icon" href="https://0.gravatar.com/avatar/fb88310c128924b640be4f69316688155835aac425e8aaa1b720ff818d7e040b" type="image/png"> | ||
|
||
<meta property="og:type" content="website"> | ||
<meta property="og:title" content="Spyboy CTF"> | ||
<meta name="og:description" content="spyboy server access ctf"> | ||
<meta property="og:image" content="https://cdn.discordapp.com/avatars/877644741339144244/bcb8e0ac84d5042181f1baf34189b797.png?size=1024"> | ||
<meta property="og:site_name" content="Spyboy" /> | ||
|
||
</head> | ||
<body> | ||
<div class="container"> | ||
|
||
<div class="gif_container"> | ||
<img src="https://media0.giphy.com/media/T86i6yDyOYz7J6dPhf/giphy.gif" alt="Cute animated illustration"> | ||
</div> | ||
<div class = "buttons"> | ||
|
||
<button class="btn" id="noButton" onmouseover="moveButton()" onclick="moveButton()">Get Flag</button> | ||
<button class="btn" id = "yesButton" onclick="nextPage()">I Give Up</button> | ||
<script> | ||
function nextPage() { | ||
window.location.href = "yes.html"; | ||
} | ||
|
||
function moveButton() { | ||
var x = Math.random() * (window.innerWidth - document.getElementById('noButton').offsetWidth) - 85; | ||
var y = Math.random() * (window.innerHeight - document.getElementById('noButton').offsetHeight) - 48; | ||
document.getElementById('noButton').style.left = `${x}px`; | ||
document.getElementById('noButton').style.top = `${y}px`; | ||
} | ||
</script> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
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,95 @@ | ||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 90vh; | ||
background-color: rgb(0,0,0); | ||
} | ||
|
||
#noButton { | ||
position: absolute; | ||
margin-left: 150px; | ||
transition: 0.5s; | ||
} | ||
|
||
#yesButton { | ||
position: absolute; | ||
margin-right: 150px; | ||
} | ||
|
||
.header_text { | ||
font-family: 'Nunito'; | ||
font-size: 40px; | ||
font-weight: bold; | ||
color: rgb(255, 255, 255); | ||
text-align: center; | ||
margin-top: 20px; | ||
margin-bottom: 0; | ||
} | ||
|
||
.buttons { | ||
display: flex; | ||
flex-direction: row; | ||
justify-content: center; | ||
align-items: center; | ||
margin-top: 20px; | ||
margin-left: 20px; | ||
} | ||
|
||
.btn { | ||
background-color: #ffffff; | ||
color: rgb(233, 48, 48); | ||
padding: 15px 32px; | ||
text-align: center; | ||
display: inline-block; | ||
font-size: 16px; | ||
margin: 4px 2px; | ||
cursor: pointer; | ||
border: none; | ||
border-radius: 12px; | ||
transition: background-color 0.3s ease; | ||
} | ||
|
||
.gif_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
@media only screen and (max-width: 320px) and (max-height: 568px) { | ||
body { | ||
height: 100vh; | ||
} | ||
|
||
.header_text { | ||
font-size: 20px; | ||
} | ||
|
||
img { | ||
height: 60vh; | ||
} | ||
|
||
.btn { | ||
padding: 10px 18px; | ||
font-size: 12px; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 414px) and (max-height: 736px) { | ||
body { | ||
height: 90vh; | ||
} | ||
|
||
.header_text { | ||
font-size: 28px; | ||
} | ||
|
||
img { | ||
height: 60vh; | ||
} | ||
|
||
.btn { | ||
padding: 15px 25px; | ||
font-size: 14px; | ||
} | ||
} |
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,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<link rel="stylesheet" href="./yes_style.css"> | ||
|
||
</head> | ||
<body> | ||
<div class="container"> | ||
|
||
<div class="gif_container"> | ||
<img src="1.gif" alt="Cute animated illustration"> | ||
</div> | ||
</div> | ||
|
||
</body> | ||
</html> |
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,23 @@ | ||
body { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
background-color: rgb(0,0,0); | ||
} | ||
|
||
.header_text { | ||
font-family: 'Nunito'; | ||
font-size: 50px; | ||
font-weight: bold; | ||
color: white; | ||
text-align: center; | ||
margin-top: 20px; | ||
margin-bottom: 0px; | ||
} | ||
|
||
.gif_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} |