git ssb

2+

cel / scuttlebot.io



Tree: 07de6e0bf8f8051cfea29058496ca70ae04e5c99

Files: 07de6e0bf8f8051cfea29058496ca70ae04e5c99 / tmpl / css / com.part.js

1869 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 {
47 max-width: 540px;
48}
49.code-examples .head {
50 display: flex;
51 color: #333;
52}
53.code-examples .tab {
54 cursor: pointer;
55 padding: 0.1em 0.75em;
56 border-top-left-radius: 2px;
57 border-top-right-radius: 2px;
58}
59.code-examples .tab:hover {
60 background: #F9F7F6;
61}
62.code-examples .tab.current {
63 background: #F3EFEC;
64 color: black;
65 text-shadow: 0 1px white;
66}
67.code-examples .body {
68 border: 1px solid #ccc;
69 padding: 1em;
70 background: #F5F2F0;
71 box-shadow: 0 2px 3px rgba(0,0,0,0.05);
72}
73.code-examples pre {
74 display: none;
75 margin: 0 !important;
76 padding: 0 !important;
77}
78.code-examples pre.current {
79 display: block;
80}
81
82.table-of-contents ul {
83 display: none;
84 list-style: none;
85}
86.table-of-contents.expanded ul {
87 display: block;
88 padding: 0;
89 margin: 0;
90}
91.table-of-contents ul li:nth-child(even) {
92 background: #fafafa;
93}
94.table-of-contents ul li:hover {
95 background: #eee;
96}
97.table-of-contents ul li a {
98 display: block;
99 padding: 0.5em;
100 color: #555;
101 text-decoration: none;
102}
103`

Built with git-ssb-web