Compare commits
No commits in common. "e9719acb5928f20d8054e124c498dcff58cf49be" and "a197d21e67b43c328d0fdab2068ce9bde13236f6" have entirely different histories.
e9719acb59
...
a197d21e67
@ -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("./js/lib.js")).text();
|
let lib = await (await fetch("./lib.js")).text();
|
||||||
lib = minifyJs(lib);
|
lib = minifyJs(lib);
|
||||||
|
|
||||||
const html = `
|
const html = `
|
||||||
|
|||||||
@ -16,19 +16,18 @@ 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: #BDBDBD;
|
background-color: white;
|
||||||
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: #424242;
|
color: #747474;
|
||||||
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
|
box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -76,7 +75,9 @@ 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