Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
IlumCI authored Apr 20, 2024
1 parent 31a51f9 commit 6d968fd
Showing 1 changed file with 23 additions and 74 deletions.
97 changes: 23 additions & 74 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,81 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>News Portal</title>
<style>
body {
background-color: black;
color: white;
font-family: monospace;
padding: 20px;
overflow: hidden;
}
.container {
max-width: 800px;
margin: 0 auto;
animation: typing 5s steps(40, end);
white-space: nowrap;
overflow: hidden;
}
@keyframes typing {
from { width: 0; }
}
.post {
margin-bottom: 40px;
border-bottom: 1px solid white;
padding-bottom: 20px;
animation: fadeIn 3s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.post h2 {
font-size: 24px;
margin-bottom: 10px;
}
.post p {
font-size: 18px;
line-height: 1.6;
}
.header {
text-align: center;
margin-bottom: 40px;
animation: fadeIn 3s ease-out;
}
.nav {
text-align: center;
margin-bottom: 20px;
animation: fadeIn 3s ease-out;
}
.footer {
text-align: center;
margin-top: 40px;
animation: fadeIn 3s ease-out;
}
</style>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Colorful Website</title>
<style>
body {
background-color: #071017;
color: #6aebf7ff;
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
.container {
max-width: 800px;
margin: 0 auto;
padding: 20px;
text-align: center;
}
</style>
</head>
<body>
<div class="header">
<h1>Welcome to our News Portal</h1>
</div>
<div class="nav">
<nav>
<a href="#">Home</a> | <a href="#">About</a> | <a href="#">Contact</a>
</nav>
</div>
<div class="container">
<div class="post">
<h2>Sample Post Title</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla vel leo eu quam sodales consectetur. Donec quis eros sed dui malesuada varius. Sed porta ante vitae odio vulputate, in fermentum magna rhoncus.</p>
<p>Integer ut mi id est fermentum efficitur. Duis efficitur arcu ut mauris lacinia tempus. Proin hendrerit risus vel mauris facilisis, vel eleifend elit gravida. Vestibulum nec mauris in tortor facilisis cursus.</p>
</div>
<!-- More posts can be added here -->
</div>
<div class="footer">
<p>&copy; 2024 News Portal. All rights reserved.</p>
</div>
<div class="container">
<h1>Welcome to My Colorful Website!</h1>
<p>This is a simple website with a dark background color (#071017) and light text color (#6aebf7ff).</p>
<p>Feel free to explore!</p>
</div>
</body>
</html>

0 comments on commit 6d968fd

Please sign in to comment.