publish v1

This commit is contained in:
Mathias DUPEUX 2025-03-05 15:41:26 +01:00
commit 761e6d810a
21 changed files with 526 additions and 0 deletions

41
static/editor.css Normal file
View file

@ -0,0 +1,41 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
}
#code {
width: 50%;
height: 100%;
margin: 0;
padding: 10px;
background-color: #1F1F1F;
font-family: Consolas, Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New, monospace, serif;
color: #CCCCCC;
position: absolute;
border: none;
resize: none;
outline: none;
font-family: monospace;
font-size: 14px;
box-sizing: border-box;
}
#preview {
width: 50%;
margin: 0;
padding: 0;
position: absolute;
left: 50%;
height: 100%;
background-color: white;
border: none;
}
.switch-container {
position: absolute;
bottom: 10px;
right: 10px;
background-color: #1F1F1F;
color: #CCCCCC;
padding: 5px 10px;
border-radius: 5px;
}