diff options
Diffstat (limited to 'js/inknswitch/index.html')
-rw-r--r-- | js/inknswitch/index.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/js/inknswitch/index.html b/js/inknswitch/index.html new file mode 100644 index 0000000..c6fa0b6 --- /dev/null +++ b/js/inknswitch/index.html @@ -0,0 +1,37 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <title>ink n switch</title> + <style> + @import url('https://fonts.googleapis.com/css2?family=Shantell+Sans&display=swap'); + body { + margin: 0; + padding: 0; + font-family: 'Shantell Sans', cursive; + } + textarea { + font-family: 'Shantell Sans', cursive; + font-size: 1.75em; + padding: 1em; + border: 0; + outline: 0; + width: 100%; + } + canvas { + padding: 0; + width: 100%; + } + #noteArea, #drawingArea { + margin: 0 auto; + display: block; + } + </style> +</head> +<body> + <textarea id="noteArea" rows="10" cols="30" placeholder="Start typing a note! When you wanna draw, toggle by hitting cmd, or ctrl + d then draw with the mouse, toggle back the same way. Tap the c key in draw mode to clear your drawing."></textarea> + <canvas id="drawingArea" width="500" height="500"></canvas> + <script src="ink.js"></script> +</body> +</html> \ No newline at end of file |