Showing
4 changed files
with
81 additions
and
7 deletions
public/favicon.png
0 → 100644
3.05 KB
public/global.css
0 → 100644
1 | +html, body { | ||
2 | + position: relative; | ||
3 | + width: 100%; | ||
4 | + height: 100%; | ||
5 | +} | ||
6 | + | ||
7 | +body { | ||
8 | + color: #333; | ||
9 | + margin: 0; | ||
10 | + padding: 8px; | ||
11 | + box-sizing: border-box; | ||
12 | + font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | ||
13 | +} | ||
14 | + | ||
15 | +a { | ||
16 | + color: rgb(0,100,200); | ||
17 | + text-decoration: none; | ||
18 | +} | ||
19 | + | ||
20 | +a:hover { | ||
21 | + text-decoration: underline; | ||
22 | +} | ||
23 | + | ||
24 | +a:visited { | ||
25 | + color: rgb(0,80,160); | ||
26 | +} | ||
27 | + | ||
28 | +label { | ||
29 | + display: block; | ||
30 | +} | ||
31 | + | ||
32 | +input, button, select, textarea { | ||
33 | + font-family: inherit; | ||
34 | + font-size: inherit; | ||
35 | + -webkit-padding: 0.4em 0; | ||
36 | + padding: 0.4em; | ||
37 | + margin: 0 0 0.5em 0; | ||
38 | + box-sizing: border-box; | ||
39 | + border: 1px solid #ccc; | ||
40 | + border-radius: 2px; | ||
41 | +} | ||
42 | + | ||
43 | +input:disabled { | ||
44 | + color: #ccc; | ||
45 | +} | ||
46 | + | ||
47 | +button { | ||
48 | + color: #333; | ||
49 | + background-color: #f4f4f4; | ||
50 | + outline: none; | ||
51 | +} | ||
52 | + | ||
53 | +button:disabled { | ||
54 | + color: #999; | ||
55 | +} | ||
56 | + | ||
57 | +button:not(:disabled):active { | ||
58 | + background-color: #ddd; | ||
59 | +} | ||
60 | + | ||
61 | +button:focus { | ||
62 | + border-color: #666; | ||
63 | +} |
public/index.html
0 → 100644
1 | +<!DOCTYPE html> | ||
2 | +<html lang="en"> | ||
3 | +<head> | ||
4 | + <meta charset='utf-8'> | ||
5 | + <meta name='viewport' content='width=device-width,initial-scale=1'> | ||
6 | + | ||
7 | + <title>Svelte app</title> | ||
8 | + | ||
9 | + <link rel='icon' type='image/png' href='/favicon.png'> | ||
10 | + <link rel='stylesheet' href='/global.css'> | ||
11 | + <link rel='stylesheet' href='/build/bundle.css'> | ||
12 | + | ||
13 | + <script defer src='/build/bundle.js'></script> | ||
14 | +</head> | ||
15 | + | ||
16 | +<body> | ||
17 | +</body> | ||
18 | +</html> |
-
Please register or login to post a comment