/
Task02MediaProfile.css
73 lines (63 loc) · 1.36 KB
/
Task02MediaProfile.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
html, body, img, h1, h2, meter, p, figure, audio, video {
margin: 0;
padding: 0;
}
body {
font-family: Tahoma;
font-size: 20px;
padding: 10px 12px;
}
body > section {
padding: 25px;
background-color: #FFC0CB;
display: inline-block;
border-radius: 10px;
}
body > section h1 {
text-align: center;
margin-bottom: 10px;
}
/*INNER SECTIONS*/
.inner-section {
display: inline-block;
vertical-align: top;
margin-left: 4px;
}
.inner-section:first-of-type {
margin-left: 0;
}
.inner-section:last-of-type {
margin-left: 5px;
}
.inner-section h2 {
font-size: 1em;
font-weight: normal;
margin-bottom: 5px;
}
/*USER SECTION*/
.user img {
display: block;
margin-bottom: 7px;
}
.user figcaption {
margin-bottom: 4px;
}
.user meter {
width: 200px;
height: 25px;
}
/*AUDIO SECTION*/
.audio audio {
display: block;
margin-bottom: 5px;
}
.audio audio:first-of-type {
background-color: #000;
height: 150px;
position: relative;
}
.audio audio:first-of-type::-webkit-media-controls-panel {
width: 260px;
position: absolute;
top: 40px;
}