Files: 2b05be8ee023fdd9580d6a845ba074a425756685 / app / styles / css / global.js
985 bytesRaw
1 | const nest = require('depnest') |
2 | const { assign } = Object |
3 | |
4 | exports.gives = nest('styles.css') |
5 | |
6 | exports.create = function (api) { |
7 | return nest('styles.css', (sofar = {}) => { |
8 | return assign(sofar, { globalStyles }) |
9 | }) |
10 | } |
11 | |
12 | const globalStyles = ` |
13 | body { |
14 | font-family: helvetica, sans-serif; |
15 | font-size: 14px; |
16 | line-height: 1.4; |
17 | color: #222; |
18 | |
19 | margin: 0; |
20 | |
21 | position: fixed; |
22 | top: 0; |
23 | bottom: 0; |
24 | left: 0; |
25 | right: 0; |
26 | } |
27 | |
28 | body::before { |
29 | content: 'Loading...'; |
30 | font-size: 1.3rem; |
31 | letter-spacing: 1px; |
32 | |
33 | position: absolute; |
34 | top: 35%; |
35 | left: 48%; |
36 | } |
37 | |
38 | * { |
39 | word-break: break-word; |
40 | } |
41 | |
42 | a:link, a:visited, a:active { |
43 | color: #0088cc; |
44 | text-decoration: none; |
45 | } |
46 | |
47 | a:hover, a:focus { |
48 | color: #005580; |
49 | text-decoration: underline; |
50 | } |
51 | |
52 | input:focus, .compose:focus { |
53 | outline: none; |
54 | } |
55 | |
56 | input, textarea { |
57 | border: 1px solid gainsboro; |
58 | font-family: sans-serif; |
59 | } |
60 | |
61 | textarea { |
62 | padding: .5em; |
63 | font-size: 1em; |
64 | } |
65 | |
66 | textarea:focus { |
67 | outline: none; |
68 | border-color: none; |
69 | } |
70 | |
71 | |
72 | ` |
73 |
Built with git-ssb-web