add settings form to codemirror example

This commit is contained in:
Felix Roos 2023-12-14 11:29:33 +01:00
parent 9474ed7d85
commit 72d1f129cf
4 changed files with 160 additions and 24 deletions

View file

@ -2,6 +2,13 @@
--foreground: white;
}
body,
input {
font-family: monospace;
background: black;
color: white;
}
html,
body,
#code,
@ -11,3 +18,16 @@ body,
margin: 0;
height: 100%;
}
.settings {
position: fixed;
right: 0;
top: 0;
z-index: 1000;
display: flex-col;
padding: 10px;
}
.settings > form > * + * {
margin-top: 10px;
}