Files: 811ef64cd3120bacda2030709c8f86850a10fe6f / app / styles / css / global.js
770 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 | } |
37 | |
38 | input, textarea { |
39 | border: 1px solid gainsboro; |
40 | font-family: sans-serif; |
41 | } |
42 | |
43 | textarea { |
44 | padding: .5em; |
45 | font-size: 1em; |
46 | } |
47 | |
48 | textarea:focus { |
49 | outline: none; |
50 | border-color: none; |
51 | } |
52 | |
53 | |
54 | ` |
55 |
Built with git-ssb-web