use locally hosted font; update readme.md

Hunter
Thursday, August 8th, 2024 at 11:07 AM

medieval_sharp.ttf -> MedievalSharp-Regular.ttf  
index.html+3-7
readme.md+8-8

medieval_sharp.ttf -> MedievalSharp-Regular.ttf
Binary files differ.
index.html
 3  <head>
 4  	<meta charset="UTF-8">
 5  	<meta name="viewport" content="width=device-width, initial-scale=1.0">
   -	
 6 +
 7  	<!-- favicon -->
 8  	<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🪆</text></svg>">
 9  
   -	<!-- fonts -->
   -	<link rel="preconnect" href="https://fonts.googleapis.com">
   -	<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
   -	<link href="https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap" rel="stylesheet">
   -
10  	<title>todo</title>
11  	<style>
12  		:root {

73  			--highlight: var(--burl);
74  			--accent: var(--flame);
75  			& input[type="text"] {
   -				font-family: "MedievalSharp";
76 +				font-family: 'MedievalSharp';
77 +				src: url('MedievalSharp-Regular.ttf') format('truetype');
78  			}
79  		}
80  
readme.md
  9  - unlimited subtask depth
 10  - intuitive keyboard controls for rapid navigation
 11  - automatic saving using browser's local storage
    -- complete offline functionality
 12 +- works completely offline
 13  
 14  ### quickstart
 15  1. press the `Enter` key to add subtasks to the root "todo" task

 29  - `Enter` add a new task
 30  - `Arrow Down` (on last subtask) add a new task at the bottom of the list
 31  - `Backspace` (when selected task's text is empty) remove the task and its subtasks
    -- `Shift + Enter` toggle task completion status (status changes cascade to subtasks)
 32 +- `Shift + Enter` toggle selected task's completion status
 33  - `Shift + Arrow Up/Down` reposition the selected task within its current level
 34  
 35  ### text editing
 36  - `Left/Right` move text cursor within selected task
    -- `Command/Ctrl + C` copy the active task's text (or highlighted substring)
    -- `Command/Ctrl + X` cut the active task's text (or highlighted substring)
 37 +- `Command/Ctrl + C` copy the selected task's text (or highlighted substring)
 38 +- `Command/Ctrl + X` cut the selected task's text (or highlighted substring)
 39  - `Command/Ctrl + V` paste text content from the clipboard
 40  - `Command/Ctrl + Z` undo text edit
 41  - `Command/Ctrl + Shift + Z` redo text edit

 43  ## themes
 44  press `F2` to cycle through available themes.
 45  
    -to create a new theme, add a CSS rule set with the following form to index.html:
 46 +to create a new theme, add a CSS ruleset with the following structure to index.html:
 47  
 48  ```css
 49  :root[data-theme="sunflower"] {

 69  }
 70  ```
 71  
    -You can add named colors to the `:root` selector at the top of the `<style>` tag:
 72 +You can store named colors in the `:root` selector at the top of the `<style>` tag:
 73  
 74  ```css
 75  :root {

106  ## licenses
107  this project is licensed under the <a href="https://github.com/hunterirving/matryoshka/blob/main/LICENSE">GNU General Public License v3.0</a>.
108  
    -the Medieval Sharp font by <a href="http://www.identifont.com/show?3DQU">Wojciech Kalinowski</a> is licensed under the <a href="https://github.com/hunterirving/matryoshka/blob/main/OFL.txt">SIL Open Font License, version 1.1</a>.
109 +the MedievalSharp font by <a href="http://www.identifont.com/show?3DQU">Wojciech Kalinowski</a> is licensed under the <a href="https://github.com/hunterirving/matryoshka/blob/main/OFL.txt">SIL Open Font License, version 1.1</a>.