-
Notifications
You must be signed in to change notification settings - Fork 0
/
customize.html
63 lines (63 loc) · 1.86 KB
/
customize.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
<!DOCTYPE html>
<html>
<head>
<title>Customize your new tab page</title>
<style>
* {
box-sizing: border-box;
}
body {
font-size: 20px;
}
main {
margin: auto;
padding: 10px 25px 0 25px;
max-width: 1200px;
}
textarea {
font-family: monospace;
font-size: 16px;
line-height: 1.1em;
width: 100%;
height: 70vh;
min-height: 600px;
padding: 20px;
}
button {
font-size: 20px;
margin-top: 20px;
margin-right: 15px;
border: none;
outline: none;
padding: 10px 40px;
border-radius: 5px;
background-color: rgb(169 209 168);
cursor: pointer;
box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
transition: background-color 0.3s ease-in-out;
}
button:hover, button:focus {
background-color: rgb(142 195 141);
}
button:active {
box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.2);
}
#save-status {
display: inline-block;
}
.save-status-error {
color: rgb(255, 50, 50);
}
</style>
</head>
<body>
<main>
<p>This page lets your customize your new tab page.</p>
<textarea id="new-tab-config"></textarea>
<button id="save">Save</button>
<p id="save-status"></p>
</main>
<script src="new-tab-config.js"></script>
<script src="customize.js"></script>
</body>
</html>