-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
178 lines (151 loc) · 2.79 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@500&display=swap');
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: rgb(241, 241, 238);
margin: 0;
font-family: 'Roboto Mono', monospace;
}
@media (min-width: 700px) {
body {
display: grid;
place-items: center;
min-height: 92vh;
}
}
/* WHOLE ASS THING */
main {
display: block;
box-shadow: 1px 1px 4px rgba(0,0,0,0.5);
max-width: 540px;
margin: 0 auto;
}
@media (min-width: 700px) {
main {
max-width: none;
display: grid;
grid-template-columns: 1fr 1fr;
margin: 0 8vw;
}
}
@media screen and (max-width: 680px) {
main {
margin: 8vh 8vw;
}
}
/* img */
img {
display: block;
max-width: 100%;
}
@media (min-width: 700px) {
img {
grid-column: 2 / 3;
width: 100%;
height: 100%;
object-fit: cover;
object-position: 58% 50%;
}
}
/* LEFT CONTAINER */
.left-container {
max-width: 540px;
color: white;
/* margin: 0; */
padding: 5rem 4rem 4rem;
text-align: center;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
display: block;
margin-block-start: 1em;
margin-block-end: 1em;
margin-inline-start: 40px;
margin-inline-end: 40px;
}
.words {
color: rgb(66, 66, 66);
letter-spacing: 0.1em;
}
.artist-name {
margin: 1em 0 1em 0;
}
.material-icons {
color: rgb(66, 66, 66);
}
.material-icons:hover {
color:rgba(56, 46, 46, 0.5);
cursor: pointer;
}
@media (min-width: 700px) {
.left-container {
max-width: none;
grid-column: 1 / 2;
grid-row: 1 / 2;
}
}
@media screen and (max-width: 1100px) {
.left-container {
padding: 2.5rem 3rem 2.5rem;
margin-inline-start: 0;
margin-inline-end: 0;
}
}
.material-icons {
margin: .5rem;
}
.rewind {
font-size: 3em;
}
@media screen and (max-width: 1000px) {
.rewind {
font-size: 2.5em;
}
}
.play {
font-size: 4em;
}
@media screen and (max-width: 1000px) {
.play {
font-size: 3em;
}
}
.fast-forward {
font-size: 3em;
}
@media screen and (max-width: 1000px) {
.fast-forward {
font-size: 2.5em;
}
}
.buttons {
display: flex;
flex-direction: row;
justify-content: center;
margin: 2em 0 0 0;
}
.key {
border: 0;
cursor: pointer;
display: inline-block;
padding: 0.5em 0.5em;
border: 0.4em solid rgb(66, 66, 66);
margin: 0 1em 0 1em;
box-shadow: 7px 7px 0 0 rgba(19, 19, 19, 0.15);
}
.pressed {
animation: shadow-pulse 1s infinite;
}
@keyframes shadow-pulse
{
0% {
box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.2);
}
100% {
box-shadow: 0 0 0 35px rgba(0, 0, 0, 0);
}
}