-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate existing web interface to Svelte
- Loading branch information
Showing
29 changed files
with
256 additions
and
246 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<style> | ||
:global(*), | ||
:global(html) { | ||
margin: 0; | ||
padding: 0; | ||
border: 0; | ||
} | ||
:global(html) { | ||
width: 100%; | ||
height: 100%; | ||
} | ||
:global(body) { | ||
width: 100%; | ||
height: 100%; | ||
position: relative; | ||
} | ||
:global(h1), | ||
:global(h2), | ||
:global(p), | ||
:global(table) { | ||
margin-bottom: 1em; | ||
} | ||
:global(table) { | ||
width: 100%; | ||
} | ||
:global(th), | ||
:global(td) { | ||
text-align: left; | ||
padding: 0 0.4em 0.4em 0; | ||
} | ||
:global(th) { | ||
border-bottom: 1px solid #000; | ||
} | ||
.container { | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
clear: both; | ||
} | ||
:global(.cell-right-align) { | ||
text-align: right; | ||
} | ||
</style> | ||
<svelte:head> | ||
<title>EachWatt</title> | ||
</svelte:head> | ||
<div class="container"> | ||
<slot /> | ||
</div> |
Oops, something went wrong.