passion_retro/static/themes/00s-copy/profile.css
2025-09-12 11:11:44 +02:00

291 lines
4.5 KiB
CSS

.profile-header {
display: flex;
align-items: center;
gap: 2rem;
margin-bottom: 2rem;
}
.profile-avatar {
width: 150px;
height: 150px;
border-radius: 50%;
object-fit: cover;
border: 3px solid #6699cc;
transition: transform 0.3s ease;
}
.profile-avatar:hover {
transform: scale(1.05);
}
.profile-info {
flex: 1;
}
.profile-name {
font-size: 2rem;
margin-bottom: 0.5rem;
color: #003366;
}
.profile-username {
color: #336699;
font-size: 1.1rem;
margin-bottom: 1rem;
}
.profile-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1rem;
margin: 2rem 0;
padding: 1rem;
border-radius: 6px;
}
.stat-item {
text-align: center;
padding: 1rem;
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: #003366;
}
.stat-label {
color: #336699;
font-size: 0.9rem;
margin-top: 0.5rem;
}
.profile-bio {
line-height: 1.6;
color: #333333;
margin: 2rem 0;
padding: 1rem;
border-left: 4px solid #6699cc;
}
.profile-contact {
display: flex;
gap: 1rem;
margin-top: 2rem;
}
.contact-button {
padding: 0.8rem 1.5rem;
border: none;
border-radius: 4px;
background: #6699cc;
color: white;
cursor: pointer;
transition: background 0.3s ease;
}
.contact-button:hover {
background: #003366;
}
.profile-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
margin-top: 2rem;
}
.profile-main {
background: #f0f0f04d;
border-radius: 8px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
padding: 2rem;
}
.profile-header {
display: flex;
align-items: center;
gap: 2rem;
margin-bottom: 2rem;
}
.avatar-container {
position: relative;
width: 150px;
height: 150px;
}
.level-badge {
position: absolute;
background: #078356;
color: white;
padding: 0.5rem;
border-radius: 50%;
width: 60px;
height: 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: 0.8rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}
.level-number {
font-size: 1rem;
font-weight: bold;
z-index: 3;
}
.profile-info {
flex: 1;
}
.username {
font-size: 2rem;
margin-bottom: 0.5rem;
color: #003366;
}
.joined-date {
color: #336699;
font-size: 0.9rem;
}
.profile-bio {
margin-top: 2rem;
padding-top: 2rem;
border-top: 1px solid #eee;
}
.bio-content {
line-height: 1.6;
color: #333333;
}
/* Colonne de droite */
.profile-stats {
display: flex;
flex-direction: column;
gap: 2rem;
}
.stats-card, .achievements-card {
background: #f0f0f04d;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin-top: 1rem;
}
.stat-item {
text-align: center;
padding: 1rem;
background: #ffffff78;
border-radius: 6px;
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: #444;
display: block;
}
.stat-label {
font-size: 0.9rem;
color: #666;
margin-top: 0.5rem;
}
.achievements-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-top: 1rem;
}
.badge-item {
text-align: center;
padding: 0.5rem;
}
.badge-item img {
width: 50px;
height: 50px;
margin-bottom: 0.5rem;
}
.badge-name {
font-size: 0.8rem;
color: #336699;
}
.profile-actions {
margin-top: 2rem;
display: flex;
gap: 1rem;
}
.btn-primary {
background: #6699cc;
color: white;
}
.btn-secondary {
background: #99ccff;
color: #003366;
}
.inventory {
background: #f0f0f04d;
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
width: 98%;
margin: 10px auto;
}
.inventory-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 15px;
padding: 15px;
}
.inventory-item {
text-align: center;
margin: 15px;
padding: 15px;
background: #ffffff78;
border-radius: 6px;
}
.inventory-item a {
text-decoration: none;
color: #003366;
}
.item-quantity {
font-size: 1.5rem;
font-weight: bold;
color: #003366;
display: block;
}
/* Responsive */
@media (max-width: 768px) {
.profile-grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}