forked from dimdenGD/html-comment-finder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
90 lines (79 loc) · 2.41 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML Comment Finder</title>
<style>
* {
box-sizing: border-box;
}
body {
max-width: 460px;
font-size: 1rem;
font-family: Verdana, Geneva, Tahoma, sans-serif;
margin: 0 auto;
background-color: #f9f9f9;
color: #333333;
display: flex;
flex-direction: column;
align-items: center;
padding: 16px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
border-radius: 8px;
}
h1 {
max-width: 420px;
font-size: 2rem;
margin-bottom: 16px;
color: #0078d4;
text-align: center;
border-bottom: 3px solid #0078d4;
padding-bottom: 8px;
}
#comments {
width: 380px;
margin-top: 20px;
}
#no-comments {
font-size: 1rem;
color: #888;
text-align: center;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #1e1e1e;
color: #ffffff;
}
h1 {
color: #1a73e8;
border-bottom: 3px solid #1a73e8;
}
#no-comments {
color: #aaa;
}
}
@media (prefers-color-scheme: light) {
body {
background-color: #f9f9f9;
color: #333;
}
h1 {
color: #0078d4;
border-bottom: 3px solid #0078d4;
}
#no-comments {
color: #888;
}
}
</style>
</head>
<body>
<h1>HTML Comment Finder</h1>
<span id="no-comments" hidden>There were no comments found on this page!</span>
<ol id="comments">
</ol>
<script src="popup.js"></script>
</body>
</html>