git ssb

16+

Dominic / patchbay



Tree: 857ffb47b775934f802dde6feb96b6f343fdf760

Files: 857ffb47b775934f802dde6feb96b6f343fdf760 / app / styles / css / global.js

1205 bytesRaw
1const nest = require('depnest')
2const { assign } = Object
3
4exports.gives = nest('styles.css')
5
6exports.create = function (api) {
7 return nest('styles.css', (sofar = {}) => {
8 return assign(sofar, { globalStyles })
9 })
10}
11
12const globalStyles = `
13body {
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
24a:link, a:visited, a:active {
25 color: #0088cc;
26 text-decoration: none;
27}
28
29a:hover, a:focus {
30 color: #005580;
31 text-decoration: underline;
32}
33
34input:focus, .compose:focus {
35 outline: none;
36 border-color: #0088cc;
37 box-shadow: 0 0 4px #0088cc;
38}
39
40input, textarea {
41 border: none;
42 border-radius: .2em;
43 font-family: sans-serif;
44}
45
46textarea {
47 padding: .5em;
48 font-size: 1em;
49}
50
51textarea:focus {
52 outline: none;
53 border-color: none;
54}
55
56button {
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}
68button:focus {
69 outline: none;
70 border-color: #0088cc;
71 box-shadow: 0 0 4px #0088cc;
72}
73button:hover {
74 background: #ccc;
75 border: 1px solid #bbb;
76}
77
78`
79

Built with git-ssb-web