git ssb

2+

cel / scuttlebot.io



Tree: a738ecf91d844ee886e94857a82177ab446113f1

Files: a738ecf91d844ee886e94857a82177ab446113f1 / tmpl / css / com.part.js

1456 bytesRaw
1module.exports = () => `
2a.cta {
3 display: inline-block;
4 padding: 0.25em 0.75em;
5 background: #4E9121;
6 background: linear-gradient(to bottom, #4E9121, #43801A);
7 color: #fff;
8 font-size: 1.5em;
9 font-weight: 300;
10 border-radius: 1px;
11 margin: 0.5em 0;
12 box-shadow: 1px 2px 3px rgba(0,0,0,0.2);
13 transition: opacity 0.2s, box-shadow 0.2s;
14}
15a.cta:hover {
16 text-decoration: none;
17 opacity: 0.95;
18 box-shadow: 2px 4px 6px rgba(0,0,0,0.4);
19}
20a.cta.dark {
21 background: #666;
22 background: linear-gradient(to bottom, #666, #555);
23}
24
25.next:before {
26 content: 'Next: ';
27}
28
29.see-also {
30 padding: 0;
31 margin: 2em 0 0;
32 list-style: none;
33}
34.see-also:before {
35 content: 'See also';
36 font-size: 0.8em;
37 font-weight: bold;
38 color: #555;
39 text-transform: uppercase;
40}
41.see-also li {
42 margin-left: 1em;
43 padding: 0.25em 0.25em 0;
44}
45
46.code-examples .head {
47 display: flex;
48 color: #333;
49}
50.code-examples .tab {
51 cursor: pointer;
52 padding: 0.1em 0.75em;
53 border-top-left-radius: 2px;
54 border-top-right-radius: 2px;
55}
56.code-examples .tab:hover {
57 background: #F9F7F6;
58}
59.code-examples .tab.current {
60 background: #F3EFEC;
61 color: black;
62 text-shadow: 0 1px white;
63}
64.code-examples .body {
65 border: 1px solid #ccc;
66 padding: 1em;
67 background: #F5F2F0;
68 box-shadow: 0 2px 3px rgba(0,0,0,0.05);
69}
70.code-examples pre {
71 display: none;
72 margin: 0 !important;
73 padding: 0 !important;
74}
75.code-examples pre.current {
76 display: block;
77}
78`

Built with git-ssb-web