-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
93 lines (77 loc) · 2.21 KB
/
popup.html
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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="popup.css">
</head>
<body class="youtube-better-timestamps">
<div class="container">
<div class="nav">
<h1>BETTER TIMESTAMPS</h1>
</div>
<div class="help-gif">
<p><b>How to use?</b> Just click on the timestamp ;)</p>
<img src="./youtube-time-remaining.gif">
</div>
<div class="defaultText">
<p>Default Shortcuts:</p>
</div>
<div class="chapterNavigation">
<p><b id="previousChapterShortCut">Previous Chapter</b>: Ctrl + Shift + 1</p>
<p><b id="nextChapterShortCut">Next Chapter</b>: Ctrl + S hift + 3</p>
</div>
<div class="support">
<p><b>Do you like the extension?</b></p>
<a href="https://ko-fi.com/siddhart" target="_blank" rel="noreferrer"><img src="./BuyMeACoffee_blue@2x.png"></a>
</div>
<div class="credits">
<p><b>Made by <a href="https://siddhart.dev" target="_blank" rel="noreferrer">Siddhart</a></b></p>
<p class="bug"><b><a href="https://siddhart.dev/contact" target="_blank" rel="noreferrer">Report A Bug</a></b></p>
</div>
</div>
</body>
</html>
<style>
@import url(https://fonts.googleapis.com/css?family=Poppins:400,500,80);
.youtube-better-timestamps *{
font-family: 'Poppins';
text-decoration: none;
}
.youtube-better-timestamps p{
font-size: 16px;
}
.youtube-better-timestamps {
overflow: hidden;
width: 350px;
height: 250px;
}
.youtube-better-timestamps .container .support{
margin-top: 25px;
}
.youtube-better-timestamps .container .chapterNavigation{
display: block;
margin-top: 25px;
}
.youtube-better-timestamps .container .chapterNavigation p{
width: 100%;
margin-top: -20px;
}
.youtube-better-timestamps .container .credits{
display: flex;
}
.youtube-better-timestamps .container .credits p b a{
color: rgb(0, 217, 255);
}
.youtube-better-timestamps .container .credits .bug{
margin-left: auto;
}
.youtube-better-timestamps .container .help-gif img {
border-radius: 5px;
margin-top: -10px;
height: 150px;
width: 100%;
}
.youtube-better-timestamps .container .support a img {
margin-top: -10px;
width: 200px;
}
</style>