Files: bdd674e048f8917357c9360017872a4d20836af0 / output / index.js
491 bytesRaw
1 | const insertCss = require('insert-css') |
2 | |
3 | const config = require('./config') |
4 | const Data = require('../data') |
5 | const Viz = require('../') |
6 | |
7 | insertCss(` |
8 | html, body, main { |
9 | width: 100%; |
10 | height: 100%; |
11 | position: absolute; |
12 | overflow: hidden; |
13 | padding: 0; |
14 | margin: 0; |
15 | } |
16 | |
17 | .avatar { |
18 | position: fixed; |
19 | left: 10px; |
20 | bottom: 10px; |
21 | color: #fff; |
22 | } |
23 | |
24 | .avatar .image { |
25 | max-height: 160px; |
26 | } |
27 | `) |
28 | |
29 | Data((err, data) => { |
30 | if (err) throw err |
31 | Viz(data, config) |
32 | }) |
33 |
Built with git-ssb-web