-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (51 loc) · 949 Bytes
/
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
body {
font-family: 'Epilogue', sans-serif;
color: #000;
background: #ffffee;
background: linear-gradient(213deg, #ffffee 0%, #ffffee 45%, rgb(255 255 255) 100%);
}
a {
color: rgb(224, 224, 224);
}
h1 {
margin: 1.6rem 0 1rem 10px;
font-size: 1.2rem;
}
/* LAYOUT */
body {
display: flex;
flex-direction: column;
height: calc(100vh - 3rem);
padding: 1rem;
}
#playlist,
#shownotes {
flex-grow: 1;
flex-basis: auto;
height: auto;
}
#shownotes {
overflow: scroll;
}
/* flip layout on horizontal screen */
@media (min-aspect-ratio: 10/8) {
body {
display: grid;
grid-template-columns: 1fr 1fr;
grid-template-rows: auto 1fr;
column-gap: 2rem;
background: #ffffee;
}
h1 {
margin-top: 0;
}
#playlist {
grid-row-start: 1;
grid-row-end: 3;
}
#playlist,
#shownotes {
width: 100%;
height: 100%;
}
}