git ssb

16+

Dominic / patchbay



Tree: 2b05be8ee023fdd9580d6a845ba074a425756685

Files: 2b05be8ee023fdd9580d6a845ba074a425756685 / app / styles / css / global.js

985 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 margin: 0;
20
21 position: fixed;
22 top: 0;
23 bottom: 0;
24 left: 0;
25 right: 0;
26}
27
28body::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
42a:link, a:visited, a:active {
43 color: #0088cc;
44 text-decoration: none;
45}
46
47a:hover, a:focus {
48 color: #005580;
49 text-decoration: underline;
50}
51
52input:focus, .compose:focus {
53 outline: none;
54}
55
56input, textarea {
57 border: 1px solid gainsboro;
58 font-family: sans-serif;
59}
60
61textarea {
62 padding: .5em;
63 font-size: 1em;
64}
65
66textarea:focus {
67 outline: none;
68 border-color: none;
69}
70
71
72`
73

Built with git-ssb-web