-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
87 lines (70 loc) · 3.17 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
85
86
87
<!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">
<!-- Primary Meta Tags -->
<title>LocalNotes - Offline Notes</title>
<meta name="title" content="LocalNotes - Offline Notes">
<meta name="description"
content="LocalNotes is an offline note taking site that stores notes in the browser's local storage. Your notes will never leave your browser.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="LocalNotes - Offline Notes">
<meta property="og:description"
content="LocalNotes is an offline note taking site that stores notes in the browser's local storage. Your notes will never leave your browser.">
<meta property="og:image" content="/assets/favicon.png">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:title" content="LocalNotes - Offline Notes">
<meta property="twitter:description"
content="LocalNotes is an offline note taking site that stores notes in the browser's local storage. Your notes will never leave your browser.">
<meta property="twitter:image" content="/assets/favicon.png">
<link rel="stylesheet" href="index.css">
<title>LocalNotes</title>
<link rel="shortcut icon" href="assets/favicon.png" type="image/x-icon">
<script src="index.js" defer></script>
<link rel="manifest" href="manifest.json">
<meta name="theme-color">
</head>
<body id="body" class="body-light">
<h1>Local Notes</h1>
<img src="assets/menu.png" alt="menu" id="menu-icon" onclick="toggle()">
<div id="menu">
<table>
<!-- Themes -->
<tr>
<td>Theme :</td>
<td>
<select onchange="themeChange()" name="theme" id="theme-select">
<option value="light">Light</option>
<option value="dark">Dark</option>
</select>
</td>
</tr>
<!-- Font size -->
<tr>
<td>Font size :</td>
<td>
<select onchange="fontSizeChange()" name="font" id="font-size-select">
<option value="small">Small</option>
<option value="large">Medium</option>
<option value="x-large">Large</option>
</select>
</td>
</tr>
<tr>
<td>Font style :</td>
<td><select onchange="fontFamilyChange()" name="font-style" id="font-style-select">
<option value="system-ui">System</option>
<option value="monospace">Monospace</option>
<option value="serif">Serif</option>
<option value="sans-serif">Sans-Serif</option>
</select></td>
</tr>
</table>
</div>
<textarea class="textarea-light" onkeyup="syncNotes()" id="notes">Hello world</textarea>
</body>
</html>