diff --git a/home.css b/home.css index 2f7ef36..9e70468 100644 --- a/home.css +++ b/home.css @@ -7,6 +7,7 @@ /* define variables */ :root { --background-color: #fff; + --tui-div-line-height: 20px; } /* remove body padding and color background */ @@ -15,7 +16,16 @@ body { background-color: var(--background-color); } -#test { - background-color: lightblue; +#tui { + overflow: hidden; +} + +#tui span { + font-size: 20px; + background-color: var(--background-color); font-family: monospace; +} + +#tui div { + line-height: var(--tui-div-line-height); } \ No newline at end of file diff --git a/home.js b/home.js index 3503de4..6268d7c 100644 --- a/home.js +++ b/home.js @@ -1,5 +1 @@ -import './nim'; // Holds UI logic and communicates with nim.js -function coolio() { - document.getElementById('test').textContent = 'heyo'; -} diff --git a/index.html b/index.html index 080c108..38b06de 100644 --- a/index.html +++ b/index.html @@ -11,9 +11,12 @@
- Simple text and button