-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
95 lines (84 loc) · 1.67 KB
/
Copy pathstyle.css
File metadata and controls
95 lines (84 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
/* CSS généré par IA */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
/* --- Body global --- */
body {
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
background: linear-gradient(135deg, #121212, #191919);
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
text-align: center;
padding: 20px;
}
/* --- Au desssus dee la bulle---*/
.intro {
font-size: 1.4rem;
margin-bottom: 20px;
font-weight: 500;
color: #1db954;
letter-spacing: 0.5px;
}
/* --- Conteneur principal --- */
#track {
background: #1f1f1f;
border-radius: 16px;
padding: 24px;
width: 100%;
max-width: 380px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#track:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}
/* --- Titre de la chanson --- */
#track h2 {
font-size: 1.3rem;
margin-bottom: 0.4em;
color: #1db954; /* vert Spotify */
}
/* --- Artiste et album --- */
#track p {
font-size: 0.95rem;
margin: 0.3em 0;
opacity: 0.9;
}
/* --- Image de l’album --- */
#track img {
width: 100%;
border-radius: 12px;
margin-top: 1em;
transition: opacity 0.3s ease;
}
#track img:hover {
opacity: 0.85;
}
/* --- Message d’erreur / vide --- */
#track.error,
#track.empty {
color: #aaa;
font-style: italic;
}
/* --- Texte de mise à jour --- */
#updated {
font-size: 0.8rem;
opacity: 0.6;
margin-top: 12px;
}
/* --- Animation de chargement --- */
@keyframes pulse {
0% { opacity: 0.4; }
50% { opacity: 1; }
100% { opacity: 0.4; }
}
.loading {
animation: pulse 1.5s infinite;
}