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

329 lines
No EOL
6.5 KiB
CSS

:root {
--neon-pink: #ff71ce;
--neon-blue: #01cdfe;
--neon-green: #05ffa1;
--neon-purple: #b967ff;
--dark-bg: #1a1a1a;
}
.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 var(--neon-pink);
transition: transform 0.3s ease;
box-shadow: 0 0 15px var(--neon-pink);
}
.profile-avatar:hover {
transform: scale(1.05);
}
.profile-info {
flex: 1;
}
.profile-name {
font-size: 2rem;
margin-bottom: 0.5rem;
color: var(--neon-pink);
text-shadow: 0 0 5px var(--neon-pink);
animation: neonPulse 2s infinite;
}
.profile-username {
color: var(--neon-blue);
font-size: 1.1rem;
margin-bottom: 1rem;
text-shadow: 0 0 3px var(--neon-blue);
}
.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;
background: rgba(255, 255, 255, 0.1);
border: 1px solid var(--neon-green);
box-shadow: 0 0 10px var(--neon-green);
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: var(--neon-green);
display: block;
text-shadow: 0 0 5px var(--neon-green);
animation: neonPulse 2s infinite;
}
.stat-label {
color: var(--neon-blue);
font-size: 0.9rem;
margin-top: 0.5rem;
}
.profile-bio {
line-height: 1.6;
color: #ffffff;
margin: 2rem 0;
padding: 1rem;
border-left: 4px solid var(--neon-purple);
}
.profile-contact {
display: flex;
gap: 1rem;
margin-top: 2rem;
}
.contact-button {
padding: 0.8rem 1.5rem;
border: none;
border-radius: 4px;
background: var(--neon-pink);
color: white;
cursor: pointer;
transition: background 0.3s ease;
text-transform: uppercase;
letter-spacing: 2px;
box-shadow: 0 0 10px var(--neon-pink);
}
.contact-button:hover {
background: var(--neon-purple);
box-shadow: 0 0 15px var(--neon-purple);
}
.profile-grid {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 2rem;
margin-top: 2rem;
}
.profile-main {
background: linear-gradient(45deg, rgba(1, 205, 254, 0.1), rgba(255, 113, 206, 0.1));
border: 2px solid var(--neon-blue);
border-radius: 8px;
box-shadow: 0 0 15px var(--neon-blue);
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: var(--neon-green);
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 0 10px var(--neon-green);
animation: neonPulse 2s infinite;
}
.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: rgba(255, 255, 255, 0.05);
border-radius: 8px;
padding: 1.5rem;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
border: 2px solid var(--neon-blue);
box-shadow: 0 0 15px rgba(1, 205, 254, 0.3);
}
.stats-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
margin-top: 1rem;
}
.stat-item {
text-align: center;
padding: 1rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 6px;
border: 1px solid var(--neon-green);
box-shadow: 0 0 10px var(--neon-green);
}
.stat-value {
font-size: 1.5rem;
font-weight: bold;
color: var(--neon-green);
display: block;
text-shadow: 0 0 5px var(--neon-green);
animation: neonPulse 2s infinite;
}
.stat-label {
font-size: 0.9rem;
color: var(--neon-blue);
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: var(--neon-pink);
}
.profile-actions {
margin-top: 2rem;
display: flex;
gap: 1rem;
}
.btn-primary {
background: var(--neon-pink);
color: white;
box-shadow: 0 0 10px var(--neon-pink);
}
.btn-secondary {
background: var(--neon-blue);
color: #003366;
box-shadow: 0 0 10px var(--neon-blue);
}
/* Responsive */
@media (max-width: 768px) {
.profile-grid {
grid-template-columns: 1fr;
}
.stats-grid {
grid-template-columns: repeat(2, 1fr);
}
}
.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;
padding: 1rem;
background: #ffffff78;
border-radius: 6px;
}
.item-quantity {
font-size: 1.5rem;
font-weight: bold;
color: #003366;
display: block;
}
/* Ajout d'une animation de pulsation pour les éléments néon */
@keyframes neonPulse {
0% { opacity: 0.8; }
50% { opacity: 1; }
100% { opacity: 0.8; }
}
.profile-name, .stat-value, .level-badge {
animation: neonPulse 2s infinite;
}