Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
104 lines (89 loc) · 1.78 KB
/
Copy pathstyle.css
File metadata and controls
104 lines (89 loc) · 1.78 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
96
97
98
99
100
101
102
103
104
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
font-family: "Arial", sans-serif;
min-height: 100vh;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
}
h1 {
text-align: center;
color: white;
font-size: 3em;
margin-bottom: 30px;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
padding: 20px;
}
.song-card {
background: white;
border-radius: 20px;
overflow: hidden;
cursor: pointer;
transition:
transform 0.3s ease,
box-shadow 0.3s ease;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.song-card:hover {
transform: translateY(-10px) scale(1.05);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.song-card:active {
transform: translateY(-5px) scale(1.02);
}
.song-card img {
width: 100%;
height: 250px;
object-fit: cover;
display: block;
}
.song-title {
padding: 20px;
text-align: center;
font-size: 1.5em;
font-weight: bold;
color: #333;
background: linear-gradient(to bottom, white, #f8f8f8);
}
.playing {
animation: pulse 1s infinite;
border: 5px solid #ffd700;
}
@keyframes pulse {
0%,
100% {
box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}
50% {
box-shadow: 0 0 40px rgba(255, 215, 0, 1);
}
}
@media (max-width: 768px) {
h1 {
font-size: 2em;
}
.grid {
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 15px;
padding: 10px;
}
.song-card img {
height: 150px;
}
.song-title {
font-size: 1.2em;
padding: 15px;
}
}