Files: 857ffb47b775934f802dde6feb96b6f343fdf760 / app / styles / css / global.js
1205 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: none; |
42 | border-radius: .2em; |
43 | font-family: sans-serif; |
44 | } |
45 | |
46 | textarea { |
47 | padding: .5em; |
48 | font-size: 1em; |
49 | } |
50 | |
51 | textarea:focus { |
52 | outline: none; |
53 | border-color: none; |
54 | } |
55 | |
56 | button { |
57 | background: #fff; |
58 | color: #666; |
59 | border: 1px solid #bbb; |
60 | border-radius: .5em; |
61 | padding: .7em; |
62 | margin: .5em; |
63 | cursor: pointer; |
64 | text-transform: uppercase; |
65 | font-weight: bold; |
66 | font-size: .7em; |
67 | } |
68 | button:focus { |
69 | outline: none; |
70 | border-color: #0088cc; |
71 | box-shadow: 0 0 4px #0088cc; |
72 | } |
73 | button:hover { |
74 | background: #ccc; |
75 | border: 1px solid #bbb; |
76 | } |
77 | |
78 | ` |
79 |
Built with git-ssb-web