-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
107 lines (93 loc) · 1.82 KB
/
style.css
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
105
106
107
@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700);
body {
font-family: "Droid Sans", sans-serif;
}
#list {
margin-bottom: 50px;
}
#list:after {
content: ' ';
display: block;
clear: both;
}
.album {
float: left;
width: 250px;
height: 250px;
background-position: center;
background-repeat: no-repeat;
background-size: 250px auto;
cursor: pointer;
margin: 20px;
position: relative;
padding: 5px;
border: solid 1px transparent;
text-align: center;
box-shadow: 0px 0px 5px #595959;
}
.album__playing {
border-color: rgba(255, 12, 66, 0.6);
box-shadow: 0px 0px 5px rgba(255, 12, 66, 0.6);
}
.album--artist {
display: block;
font-weight: bold;
background: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
}
.album--title {
display: block;
font-size: 1.2em;
background: rgba(255, 255, 255, 0.8);
text-transform: uppercase;
}
.album .overlay {
display: block;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.7);
opacity: 0;
transition: opacity .8s;
}
.album:hover .overlay {
opacity: 0.5;
}
#player {
position: fixed;
width: 100%;
box-shadow: -1px 1px 15px #000000;
background: #ffffff;
height: 50px;
bottom: 0;
left: 0;
text-align: center;
}
.player--play {
background: #000000;
color: #ffffff;
border-radius: 50px;
display: inline-block;
width: 65px;
height: 65px;
line-height: 75px;
position: relative;
top: -25px;
cursor: pointer;
}
.player--title {
position: absolute;
top: 10px;
left: 25px;
font-weight: bold;
}
.player--duration {
position: absolute;
top: 10px;
right: 25px;
}
.player--duration .total {
font-weight: bold;
}