-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
117 lines (90 loc) · 2.05 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
#wrapper {
/* Create CSS grid container. All elements inside the wrapper div become its children. */
display: grid;
/* create three rows. The first is used to position the header, the second is used to position the main content, the third is for the footer */
grid-template-rows: 1000px 500px 30px;
/* create four columns.
The first and fourth column divide the space around the image to center it.
The third and second columns split the image vertically to allow for layering of the header in the appropriate place. */
grid-template-columns: 116.5px 550px 550px 116.5px;
}
#img {
grid-column: 2;
/* size the image appropriately to its original width and height */
height: 1500px;
width: 1100px;
}
header {
grid-row: 1;
grid-column: 3;
color: #f5a700;
font-family: 'Caveat Brush', cursive;
text-transform: uppercase;
text-align: center;
/* vertically aligns the text at the bottom of grid row one. */
align-self: flex-end;
}
a {
color: #f5a700;
text-decoration: none;
font-size: 73px;
}
#producer {
font-size: 53px;
}
h1 {
margin: 0px;
}
p {
color: #a59de9;
font-family: 'PT Serif', serif;
margin: 5px;
}
strong {
text-transform: uppercase;
}
main {
grid-row: 2;
/* place in column two and have it span two columns */
grid-column: 2 / span 2;
/* vertically aligns the text at the end of grid row two */
align-self: flex-end;
text-align: center;
}
#soundtrack {
margin: auto;
max-width: 150px;
border: solid #a59de9 1px;
font-size: 10px;
}
#rating {
border: solid #a59de9 1px;
font-size: 10px;
max-width: 300px;
float: left;
}
#audio {
border: solid #a59de9 1px;
font-size: 10px;
max-width: 150px;
float: right;
}
#mainFooter {
grid-row: 2;
grid-column: 2;
align-self: flex-end;
float: left;
}
#mainFooter p {
color: #a59de9;
}
footer {
grid-row: 3;
/* place in column two and have it span two columns */
grid-column: 2 / span 2;
text-align: center;
}
footer p {
margin: 10px;
color: #000000;
}