merged changes from typehere master repo

This commit is contained in:
Brad Ganley 2023-11-24 15:50:36 -06:00
parent 3a86ad2248
commit 118803da5d

View File

@ -6,13 +6,16 @@ html, body {
} }
#typingCanvas { #typingCanvas {
width: 100%; --padding: 20px;
height: 100%;
width: calc(100% - 2 * var(--padding));
height: calc(100% - 2 * var(--padding));
border: none; border: none;
outline: none; /* Removes the default focus outline */ outline: none; /* Removes the default focus outline */
background: transparent; /* Makes the textarea background transparent */ background: transparent; /* Makes the textarea background transparent */
margin: 0; margin: 0;
padding: 20px; /* Adds some padding for better text positioning */ padding: var(--padding); /* Adds some padding for better text positioning */
resize: none; resize: none;
font-family: "Lucida Console", "Courier New", monospace; font-family: "Lucida Console", "Courier New", monospace;
font-size: 20px; font-size: 20px;