partirdezero/static/css/profile.css
2025-09-12 11:07:53 +02:00

95 lines
No EOL
1.8 KiB
CSS

/* PROFILE */
.profile-section {
max-width: 800px;
margin: 0 auto;
padding: 20px;
border-radius: 8px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.profile-header {
text-align: center;
margin-bottom: 20px;
}
.profile-header h2 {
font-size: 2em;
margin-bottom: 10px;
}
.profile-picture {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 20px;
}
.profile-picture-mini {
width: 30px;
height: 30px;
border-radius: 50%;
object-fit: cover;
margin: 10px;
}
.profile-details p {
font-size: 1.1em;
margin: 10px 0;
}
.profile-actions {
text-align: center;
margin-top: 20px;
}
.profile-actions .btn {
margin: 0 10px;
padding: 10px 20px;
font-size: 1em;
border-radius: 5px;
text-decoration: none;
}
.profile-actions .btn-primary {
background-color: #007bff;
color: white;
}
.profile-actions .btn-secondary {
background-color: #6c757d;
color: white;
}
.profile-nav {
display: flex;
border-bottom: 1px solid #ddd; /* Bordure légère */
margin: 20px auto; /* Centrer la navigation */
}
.profile-nav ul {
list-style: none; /* Supprimer les puces */
display: flex;
flex-direction: row;
padding: 0;
margin: 0;
}
.profile-nav li {
margin-bottom: 10px; /* Espacement entre les éléments */
}
.profile-nav a {
text-decoration: none; /* Supprimer la décoration de texte */
color: #007bff; /* Couleur du texte */
font-weight: bold; /* Texte en gras */
display: block; /* Afficher les liens comme des blocs */
padding: 10px; /* Espacement interne */
border-radius: 5px; /* Bordure arrondie */
transition: background-color 0.3s ease; /* Transition pour le survol */
}
.profile-nav a:hover {
background-color: #31363b; /* Couleur de fond au survol */
}