add a visual base of the website

This commit is contained in:
Giovanni-Josserand 2025-11-30 23:29:57 +01:00
commit ed93af4fd0
2 changed files with 110 additions and 0 deletions

33
index.html Normal file
View File

@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Linktree | Giovanni Josserand</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<img class="profile-picture" src="" alt="Photo de profil">
<h1 class="profile-name">Giovanni Josserand</h1>
<p class="description">Junior Developer in a 3 year bachelor in computer science</p>
<div class="links-container">
<a href="https://portfolio.josserand.ovh/" target="_blank" class="link-item">
<i class="fas fa-desktop icon-left"></i> Portfolio
</a>
<a href="https://github.com/Giovanni-Josserand" target="_blank" class="link-item">
<i class="fab fa-github icon-left"></i> GitHub
</a>
<a href="https://gitea.josserand.ovh/Giovanni-Josserand" target="_blank" class="link-item">
<i class="fas fa-code-branch icon-left"></i> Gitea
</a>
</div>
</div>
</body>
</html>

77
styles.css Normal file
View File

@ -0,0 +1,77 @@
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 20px;
}
.container {
width: 100%;
max-width: 450px;
text-align: center;
}
.profile-picture {
width: 120px;
height: 120px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 15px;
border: 4px solid #3498db;
}
.profile-name {
color: #333;
margin-bottom: 5px;
}
.description {
color: #666;
margin-bottom: 30px;
}
.links-container {
display: flex;
flex-direction: column;
gap: 15px;
}
.link-item {
display: flex;
align-items: center;
justify-content: center;
text-decoration: none;
color: white;
background-color: #3498db;
border: 2px solid #3498db;
padding: 15px 20px;
border-radius: 8px;
font-size: 1.1em;
font-weight: bold;
transition: background-color 0.3s, transform 0.1s;
}
.link-item:hover {
background-color: #2980b9;
transform: translateY(-2px);
}
.icon-left {
margin-right: 15px;
font-size: 1.2em;
}