Compare commits
2 Commits
a197d21e67
...
e9719acb59
| Author | SHA1 | Date | |
|---|---|---|---|
| e9719acb59 | |||
| e8881b4a50 |
@ -84,7 +84,7 @@ saveHtmlButton.onclick = async (ev) => {
|
|||||||
const js = editor.getValue()
|
const js = editor.getValue()
|
||||||
.split("\n")
|
.split("\n")
|
||||||
.map((line) => " ".repeat(12) + line).join("\n");
|
.map((line) => " ".repeat(12) + line).join("\n");
|
||||||
let lib = await (await fetch("./lib.js")).text();
|
let lib = await (await fetch("./js/lib.js")).text();
|
||||||
lib = minifyJs(lib);
|
lib = minifyJs(lib);
|
||||||
|
|
||||||
const html = `
|
const html = `
|
||||||
|
|||||||
@ -16,18 +16,19 @@ main {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
padding: 32px;
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-header {
|
.section-header {
|
||||||
background-color: white;
|
background-color: #BDBDBD;
|
||||||
border-top-left-radius: 8px;
|
border-top-left-radius: 8px;
|
||||||
border-top-right-radius: 8px;
|
border-top-right-radius: 8px;
|
||||||
border: 1px solid light-dark(#bdbdbd, #222);
|
border: 1px solid light-dark(#bdbdbd, #222);
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
font-family: sans-serif;
|
font-family: sans-serif;
|
||||||
color: #747474;
|
color: #424242;
|
||||||
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
|
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -75,9 +76,7 @@ div#buttons > * > button {
|
|||||||
gap: 5px;
|
gap: 5px;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
padding: 32px;
|
|
||||||
gap: 32px;
|
gap: 32px;
|
||||||
height: 100vh;
|
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user