-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
101 lines (85 loc) · 1.27 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
@media screen and (min-width: 47rem) {
#play {
background: #edc900;
width: 4rem;
height: 4rem;
font-size: 0;
text-align: center;
clear: left;
float: left;
cursor: pointer;
}
#title {
background: #28e400;
width: 43rem;
height: 4rem;
float: left;
color: white;
font-weight: bold;
}
#cover {
width: 17rem;
height: 17rem;
float: left;
}
#cover img {
width: 100%;
height: 100%;
}
#logo {
height: 17rem;
width: 30rem;
float: left;
}
#logo img {
width: 100%;
height: auto;
margin-top: 1.2rem;
}
}
@media screen and (max-width: 47rem) {
#cover, #play, #title, #logo {
width: 100%;
display: block;
text-align: center;
}
body {
display: flex;
flex-flow: column;
}
#logo {
order: 1;
}
#logo img {
height: auto;
width: auto;
max-width: 100%;
max-height: 8rem;
}
#cover img {
height: auto;
width: auto;
max-width: 100%;
max-height: 17rem;
}
#cover {
background: #edc900;
order: 2;
}
#title {
background: #28e400;
height: 3rem;
order: 3;
}
#play {
height: 4rem;
order: 4;
background: #999;
}
}
#logo, #cover {
background: darkgrey;
}
#cover img[src=""] {
display: none;
}