-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
99 lines (93 loc) · 1.82 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
body {
background-color: #222;
background-image: linear-gradient(to top, #A91F9F, #CE2F7A);
display: flex;
flex-flow: column nowrap;
align-items: center;
min-height: 100vh;
/*min-height: 40em;*/
/*justify-content: flex-end;*/
overflow-x: hidden;
overflow-y: scroll;
}
#app {
width: 100%;
display: flex;
flex-flow: row nowrap;
justify-content: space-around;
align-items: center;
font-family: Arial, Helvetica, sans-serif;
text-align: center;
color: #eee;
}
img#logo {
width: 80%;
margin-top: 5vh;
}
button {
font-size: 2em;
border: none;
background: transparent;
outline: none;
cursor: pointer;
transition: transform .1s;
transform-origin: center;
color: #eee;
}
button:active {
transform: translateY(1px) scale(.95);
}
.tracklist {
width: 45vw;
}
.tracklist > div {
position: relative;
width: 100%;
background-size: cover;
background-color: rgba(23, 23, 68, 0.9);
border-radius: 2px;
margin: 2px;
}
.tracklist img {
width: 4em;
}
.crossfader {
width: 100%;
margin-top: 2em;
}
i {
font-size: 2em !important;
}
.record {
width: 20vw;
max-width: 250px;
height: 20vw;
max-height: 250px;
border-radius: 50%;
background: #333 repeating-radial-gradient(circle, #333, #333 5px, #555 6px, #555 7px, #333 8px);
transform-origin: center;
transition: transform 2s ease-in-out;
transform: rotate(0deg);
}
.record-label {
background: #171744;
background-repeat: no-repeat;
background-size: contain;
background-position: center;
width: 50%;
height: 50%;
border-radius: 50%;
position: relative;
top: 25%;
left: 25%;
}
.spinning {
animation-name: spinning;
animation-duration: 3s;
animation-iteration-count: infinite;
animation-timing-function: linear;
}
@keyframes spinning {
from {transform: rotate(0deg);}
to {transform: rotate(360deg);}
}