-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
122 lines (104 loc) · 1.79 KB
/
main.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
th, td {
padding: 15px;
text-align: left;
}
.alpha-shape {
width: 300px;
height: 253px;
background: url('projects/img/camcos/alpha-sprite.jpg');
animation: run 2s steps(4) infinite;
}
@keyframes run {
100% {background-position: -1200px;}
}
// Youtube playlist on Music page
html {
background: #FFF;
padding-top: 30px;
}
body {
width: 940px;
margin: 0 auto;
}
#ypt_wrapper {
width: 100%;
background: #FFF;
//color: #000;
overflow: hidden;
max-width: 100%;
box-shadow: 0px 8px 13px rgba(0,0,0,0.5);
margin-bottom: 1em;
}
#ypt_thumbs {
overflow-y: scroll;
overflow-x: hidden;
width: 20%;
background: #000;
margin: 0;
padding: 0;
height: 0;
}
#ypt_thumbs li {
list-style: none;
margin: 0;
position: relative;
font-size: 0;
}
#ypt_thumbs li img{
width: 100%;
}
#ypt_thumbs li p {
font-family: arial;
font-size: 10px;
background: rgba(0, 0, 0, 0.7);
display: none;
position: absolute;
width: 100%;
height: 100%;
color: #fff;
padding: 5%;
margin: 0;
}
#ypt_thumbs li:hover p {
display: block;
cursor: pointer;
}
#ypt_thumbs .ypt-now-playing p {
display: block;
}
#ypt_thumbs .ypt-now-playing > span::after {
content: "\25b6 Now playing"; /* A traingle pointing right */
margin-top: -1em;
display: block;
width: 100%;
padding: 5%;
background: rgba(0, 0, 0, 0.6);
color: #fff;
position: absolute;
bottom: 0;
font-size: 10px;
}
#ypt_wrapper .video {
position: relative;
width: 80%;
/*height: 0;*/
padding-bottom: 48.4%;
float: left;
}
#ypt_wrapper .video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
float:left;
}
@media only screen and (max-width : 400px) {
#ypt_thumbs {
display: none;
}
#ypt_wrapper .video {
width: 100%;
padding-bottom: 56.25%;
}
}