-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyles.css
111 lines (103 loc) · 2.43 KB
/
styles.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
108
109
body {
font-family: 'Roboto', sans-serif;
}
.container {
height: 100vh;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
}
#card {
position: relative;
overflow: hidden;
font-family: sans-serif;
/* background-blend-mode: luminosity; */
/* box-shadow: 0px 8px 20px rgba(black, 0); */
box-shadow: 0px 0px 0px black;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
width: 650px;
height: 315px;
}
#card .meta {
/* margin-top: 215px; */
/* margin-left: 40px; */
position: absolute;
bottom: 20px;
left: 45px;
-webkit-transform: translateY(60%);
transform: translateY(60%);
opacity: 0;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
#card .artist {
font-weight: 700;
text-transform: uppercase;
letter-spacing: 5px;
margin-bottom: 0;
}
#card .song {
font-weight: 300;
margin-top: 0;
letter-spacing: 1px;
}
#card:hover {
/* box-shadow: 0px 8px 20px rgba(black, 0.3); */
}
#card:hover .meta {
-webkit-transform: translateY(0%);
transform: translateY(0%);
opacity: 1;
}
#card:hover .button {
-webkit-transform: translateY(0%);
transform: translateY(0%);
opacity: 1;
}
.drake {
color: white;
background: #513D93 url("https://dl.dropbox.com/s/bhyk47vntgqbw9q/drake.png") no-repeat center;
background-size: cover;
}
.button {
position: absolute;
right: 40px;
bottom: 45px;
padding: 15px 30px;
font-size: 0.9em;
font-weight: 700;
color: white;
text-transform: uppercase;
letter-spacing: 1px;
text-decoration: none;
background: -webkit-linear-gradient(45deg, #00CDEA, #50E5A0);
background: linear-gradient(45deg, #00CDEA, #50E5A0);
border-radius: 50px;
box-shadow: 0px 2px 5px transparent;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
-webkit-transform: translateY(80%);
transform: translateY(80%);
opacity: 0;
}
.button:hover {
box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
}
#music-player {
width: 650px;
height: 0px;
background: #00CDEA;
-webkit-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}