Files: 1378d45546366e65918f675f73abcb4a7f7ab2d2 / app / styles / css / global.js
827 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 | |
20 | * { |
21 | word-break: break-word; |
22 | } |
23 | |
24 | a:link, a:visited, a:active { |
25 | color: #0088cc; |
26 | text-decoration: none; |
27 | } |
28 | |
29 | a:hover, a:focus { |
30 | color: #005580; |
31 | text-decoration: underline; |
32 | } |
33 | |
34 | input:focus, .compose:focus { |
35 | outline: none; |
36 | border-color: #0088cc; |
37 | box-shadow: 0 0 4px #0088cc; |
38 | } |
39 | |
40 | input, textarea { |
41 | border: 1px solid gainsboro; |
42 | font-family: sans-serif; |
43 | } |
44 | |
45 | textarea { |
46 | padding: .5em; |
47 | font-size: 1em; |
48 | } |
49 | |
50 | textarea:focus { |
51 | outline: none; |
52 | border-color: none; |
53 | } |
54 | |
55 | |
56 | ` |
57 |
Built with git-ssb-web