forked from t3dotgg/unduck
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (78 loc) · 1.75 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/gif" href="/goose.gif" />
<link
rel="search"
type="application/opensearchdescription+xml"
title="Unduck"
href="/opensearch.xml"
/>
<style>
:root {
/* Light mode colors */
--text-color: #1a1a1a;
--text-color-secondary: #666;
--text-color-hover: #333;
--bg-color: #fff;
--bg-color-secondary: #f5f5f5;
--bg-color-hover: #f0f0f0;
--bg-color-active: #e5e5e5;
--border-color: #ddd;
}
@media (prefers-color-scheme: dark) {
:root {
--text-color: #e0e0e0;
--text-color-secondary: #999;
--text-color-hover: #fff;
--bg-color: #121212;
--bg-color-secondary: #1e1e1e;
--bg-color-hover: #2a2a2a;
--bg-color-active: #333;
--border-color: #444;
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: system-ui, sans-serif;
line-height: 1.5;
color: var(--text-color);
background-color: var(--bg-color);
}
input {
padding: 8px 12px;
border: 1px solid var(--border-color);
border-radius: 4px;
width: 100%;
background: var(--bg-color-secondary);
color: var(--text-color);
font: inherit;
}
button {
font: inherit;
border: none;
background: none;
cursor: pointer;
color: var(--text-color-secondary);
}
button:hover {
background: var(--bg-color-hover);
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Unduck</title>
<meta
name="description"
content="A better default search engine (with bangs!)"
/>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>