aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorIndrajith K L2018-02-15 14:24:00 +0530
committerIndrajith K L2018-02-15 14:24:00 +0530
commit506c63b251aaf537015aa7c05e1cab80d435e35d (patch)
treebfb1b9af9f3596c445dc256d7858696c571b0590 /public
downloadsvelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.tar.gz
svelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.tar.bz2
svelte-app-506c63b251aaf537015aa7c05e1cab80d435e35d.zip
Initial Commit - Fixed the 'npm run dev' command issue. Original script doesn't build files when changed.
Diffstat (limited to 'public')
-rw-r--r--public/global.css61
-rw-r--r--public/index.html16
2 files changed, 77 insertions, 0 deletions
diff --git a/public/global.css b/public/global.css
new file mode 100644
index 0000000..9d682a3
--- /dev/null
+++ b/public/global.css
@@ -0,0 +1,61 @@
+html, body {
+ position: relative;
+ width: 100%;
+ height: 100%;
+}
+
+body {
+ color: #333;
+ margin: 0;
+ padding: 8px;
+ box-sizing: border-box;
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
+}
+
+a {
+ color: rgb(0,100,200);
+ text-decoration: none;
+}
+
+a:hover {
+ text-decoration: underline;
+}
+
+a:visited {
+ color: rgb(0,80,160);
+}
+
+label {
+ display: block;
+}
+
+input, button, select, textarea {
+ font-family: inherit;
+ font-size: inherit;
+ padding: 0.4em;
+ margin: 0 0 0.5em 0;
+ box-sizing: border-box;
+ border: 1px solid #ccc;
+ border-radius: 2px;
+}
+
+input:disabled {
+ color: #ccc;
+}
+
+input[type="range"] {
+ height: 0;
+}
+
+button {
+ background-color: #f4f4f4;
+ outline: none;
+}
+
+button:active {
+ background-color: #ddd;
+}
+
+button:focus {
+ border-color: #666;
+} \ No newline at end of file
diff --git a/public/index.html b/public/index.html
new file mode 100644
index 0000000..6bb5adc
--- /dev/null
+++ b/public/index.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html>
+<head>
+ <meta charset='utf8'>
+ <meta name='viewport' content='width=device-width'>
+
+ <title>Svelte app</title>
+
+ <link rel='stylesheet' href='global.css'>
+ <link rel='stylesheet' href='bundle.css'>
+</head>
+
+<body>
+ <script src='bundle.js'></script>
+</body>
+</html> \ No newline at end of file