rust-tcp-server/public/index.html

94 lines
2.2 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Your Portfolio</title>
<style>
/* Reset default styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* Set background image */
body {
/* background-image: url('https://slink.uzair.page/image/d2185cb4-63e1-4ca9-b14b-85c071863e3f.jpg');
background-size: cover;
background-position: center; */
font-family: Arial, sans-serif;
color: #333; /* Dark text color */
}
/* Header styles */
header {
text-align: center;
padding: 2rem;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
color: #fff; /* Light text color */
}
p {
font-size: 1.2rem;
color: #ddd; /* Lighter text color */
}
/* Portfolio section */
.portfolio {
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
}
.project {
background-color: rgba(255, 255, 255, 0.9); /* Light background */
padding: 2rem;
border-radius: 10px;
margin: 1rem;
max-width: 400px;
text-align: center;
}
.project h2 {
font-size: 1.5rem;
margin-bottom: 1rem;
}
/* Footer styles */
footer {
text-align: center;
padding: 2rem;
color: #ddd; /* Lighter text color */
}
</style>
</head>
<body>
<header>
<h1>Your Name</h1>
<p>Web Developer & Designer</p>
</header>
<section class="portfolio">
<div class="project">
<h2>Project 1</h2>
<p>Description of your project goes here.</p>
</div>
<div class="project">
<h2>Project 2</h2>
<p>Description of another project.</p>
</div>
<!-- Add more project divs as needed -->
</section>
<footer>
<p>Contact: your@email.com</p>
</footer>
</body>
</html>