newer_project / test.html
YaTharThShaRma999's picture
Update test.html
99cab51 verified
raw
history blame
No virus
2.79 kB
<!DOCTYPE html>
<html>
<head>
<title>Chat with Hermes</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
text-align: center;
background: linear-gradient(-45deg, #ff9a9e, #fad0c4, #b1f8f2, #ffecd2);
background-size: 400% 400%;
animation: gradientAnimation 10s ease infinite;
}
@keyframes gradientAnimation {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
}
h1 {
font-size: 48px;
margin-bottom: 20px;
color: #fff;
letter-spacing: 2px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}
.button {
display: inline-block;
padding: 20px 40px;
background-color: #ffffff;
border-radius: 50px;
text-decoration: none;
color: #000000;
font-weight: bold;
font-size: 24px;
transition: background-color 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.button:hover {
background-color: #f2f2f2;
}
.hello-container {
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
height: 100vh;
animation: teleportAnimation 1.5s ease-in-out;
}
@keyframes teleportAnimation {
0% { transform: scale(1.2) translateY(-50px); opacity: 0; }
50% { transform: scale(1) translateY(0); opacity: 1; }
100% { transform: scale(1.2) translateY(-50px); opacity: 0; }
}
.return-link {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #ffffff;
color: #000000;
text-decoration: none;
font-size: 16px;
padding: 10px 15px;
border-radius: 20px;
transition: background-color 0.3s ease;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
display: none;
}
#page2 .return-link {
display: inline-block;
}
.embedded-website {
width: 100%;
max-width: 80%;
height: 70vh;
margin-top: 20vh;
overflow: hidden;
}
</style>
</head>
<body>
<div id="page1" class="container">
<h1>Chat with Hermes</h1>
<a class="button" href="#page2">Chat</a>
</div>
<div id="page2" class="hello-container">
<h1 style="margin-top: 10vh;">Hello</h1>
<div class="embedded-website">
<iframe src="https://yatharthsharma999-jupyterspace.hf.space" frameborder="0" allowfullscreen width="100%"></iframe>
</div>
<a class="return-link" href="#page1">Return to Homepage</a>
</div>
</body>
</html>