-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
101 lines (94 loc) · 2.67 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
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Code Highlighter and APA Styles</title>
<link rel="stylesheet" href="./content-style.css">
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: auto;
width: 30rem;
color: #333;
}
header {
background-color: #4CAF50;
width: 100%;
padding: 1em 0;
text-align: center;
color: white;
}
main {
text-align: left;
padding: 2em;
background: white;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
max-width: 400px;
margin: 0 auto;
}
footer {
margin-top: auto;
padding: 1em 0;
background-color: #4CAF50;
width: 100%;
text-align: center;
color: white;
}
button {
background-color: #4CAF50;
color: white;
border: none;
padding: 1em 2em;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 1em;
margin: 1em 0.5em;
cursor: pointer;
border-radius: 4px;
transition: background-color 0.3s;
}
button:hover {
background-color: #45a049;
}
label {
display: block;
margin: 1em 0.5em;
}
input[type="checkbox"] {
margin-right: 0.5em;
}
</style>
</head>
<body>
<header>
<h1>Code Highlighter</h1>
<p>Enhance your coding discussions with style</p>
</header>
<main>
<h2>Welcome!</h2>
<p>Use the tools below to format your code snippets and apply APA styles:</p>
<button id="btnHighlight">Highlight Code</button>
<button id="btnStyle">Apply APA Style</button>
<label>
<input type="checkbox" id="chkIsActivated"> Enable context menu in editable content elements
</label>
<label>
<input type="checkbox" id="chkUseCtrl"> Use Ctrl + Right Mouse Button to activate menu
</label>
</main>
<footer>
<p>© 2024 Code Highlighter. All rights reserved.</p>
</footer>
<script src="./popup.js"></script>
</body>
</html>