Skip to content

Commit c7ec089

Browse files
committed
clean house
1 parent 59badbe commit c7ec089

8 files changed

Lines changed: 4689 additions & 5 deletions

File tree

docs/css/point.css

Lines changed: 4229 additions & 0 deletions
Large diffs are not rendered by default.

docs/css/prism.css

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
/* PrismJS 1.19.0
2+
https://prismjs.com/download.html#themes=prism-okaidia&languages=markup+css+clike+javascript+bash+scss */
3+
/**
4+
* okaidia theme for JavaScript, CSS and HTML
5+
* Loosely based on Monokai textmate theme by http://www.monokai.nl/
6+
* @author ocodia
7+
*/
8+
9+
code[class*="language-"],
10+
pre[class*="language-"] {
11+
color: #f8f8f2;
12+
background: none;
13+
text-shadow: 0 1px rgba(0, 0, 0, 0.3);
14+
font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
15+
font-size: 1em;
16+
text-align: left;
17+
white-space: pre;
18+
word-spacing: normal;
19+
word-break: normal;
20+
word-wrap: normal;
21+
line-height: 1.5;
22+
23+
-moz-tab-size: 4;
24+
-o-tab-size: 4;
25+
tab-size: 4;
26+
27+
-webkit-hyphens: none;
28+
-moz-hyphens: none;
29+
-ms-hyphens: none;
30+
hyphens: none;
31+
}
32+
33+
/* Code blocks */
34+
pre[class*="language-"] {
35+
padding: 1em;
36+
margin: .5em 0;
37+
overflow: auto;
38+
border-radius: 0.3em;
39+
}
40+
41+
:not(pre) > code[class*="language-"],
42+
pre[class*="language-"] {
43+
background: #272822;
44+
}
45+
46+
/* Inline code */
47+
:not(pre) > code[class*="language-"] {
48+
padding: .1em;
49+
border-radius: .3em;
50+
white-space: normal;
51+
}
52+
53+
.token.comment,
54+
.token.prolog,
55+
.token.doctype,
56+
.token.cdata {
57+
color: slategray;
58+
}
59+
60+
.token.punctuation {
61+
color: #f8f8f2;
62+
}
63+
64+
.token.namespace {
65+
opacity: .7;
66+
}
67+
68+
.token.property,
69+
.token.tag,
70+
.token.constant,
71+
.token.symbol,
72+
.token.deleted {
73+
color: #f92672;
74+
}
75+
76+
.token.boolean,
77+
.token.number {
78+
color: #ae81ff;
79+
}
80+
81+
.token.selector,
82+
.token.attr-name,
83+
.token.string,
84+
.token.char,
85+
.token.builtin,
86+
.token.inserted {
87+
color: #a6e22e;
88+
}
89+
90+
.token.operator,
91+
.token.entity,
92+
.token.url,
93+
.language-css .token.string,
94+
.style .token.string,
95+
.token.variable {
96+
color: #f8f8f2;
97+
}
98+
99+
.token.atrule,
100+
.token.attr-value,
101+
.token.function,
102+
.token.class-name {
103+
color: #e6db74;
104+
}
105+
106+
.token.keyword {
107+
color: #66d9ef;
108+
}
109+
110+
.token.regex,
111+
.token.important {
112+
color: #fd971f;
113+
}
114+
115+
.token.important,
116+
.token.bold {
117+
font-weight: bold;
118+
}
119+
.token.italic {
120+
font-style: italic;
121+
}
122+
123+
.token.entity {
124+
cursor: help;
125+
}
126+

docs/css/style.css

Lines changed: 248 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,248 @@
1+
body {
2+
width: 100%;
3+
overflow-x: hidden;
4+
-webkit-overflow-scrolling: touch;
5+
}
6+
7+
/* ## Site
8+
---------------------------------*/
9+
.site {
10+
display: flex;
11+
align-items: flex-start;
12+
max-width: 1280px;
13+
padding-left: 10px;
14+
padding-right: 10px;
15+
margin-left: auto;
16+
margin-right: auto;
17+
}
18+
19+
.site__sidebar {
20+
position: -webkit-sticky;
21+
position: sticky;
22+
top: 0;
23+
width: 220px;
24+
flex: 0 0 220px;
25+
height: 100vh;
26+
padding-right: 20px;
27+
margin-right: 40px;
28+
overflow: visible;
29+
}
30+
31+
.site__sidebar::before {
32+
content: '';
33+
display: block;
34+
position: absolute;
35+
right: 0;
36+
top: 0;
37+
bottom: 0;
38+
width: 999px;
39+
background-color: #fafbfc;
40+
z-index: -1;
41+
}
42+
43+
.site__header {
44+
padding-top: 16px;
45+
margin-bottom: 24px;
46+
}
47+
48+
.site__brand {
49+
display: block;
50+
}
51+
52+
.site__metadata {
53+
display: flex;
54+
align-items: center;
55+
color: #616161;
56+
font-size: 14px;
57+
}
58+
59+
.site__metadata > * {
60+
display: inline-flex;
61+
color: inherit;
62+
flex-shrink: 0;
63+
margin-right: 8px;
64+
}
65+
66+
.site__footer {
67+
color: #616161;
68+
font-size: 12px;
69+
line-height: 1.5;
70+
}
71+
72+
.site__footer a {
73+
color: #212121;
74+
}
75+
76+
.site__main {
77+
flex: 1 1 820px;
78+
max-width: 820px;
79+
min-height: 1px;
80+
padding-top: 48px;
81+
padding-bottom: 48px;
82+
}
83+
84+
.site__catalogue {
85+
position: -webkit-sticky;
86+
position: sticky;
87+
top: 64px;
88+
width: 140px;
89+
flex: 0 0 140px;
90+
min-height: 1px;
91+
margin-left: 40px;
92+
padding-left: 20px;
93+
border-left: 1px solid #e5e5e5;
94+
color: #616161;
95+
font-size: 12px;
96+
line-height: 1.5;
97+
}
98+
99+
.site__catalogue a {
100+
display: block;
101+
color: inherit;
102+
}
103+
104+
.site__catalogue a:hover {
105+
color: #212121;
106+
}
107+
108+
/* ## Navigation
109+
---------------------------------*/
110+
.navigation {
111+
font-size: 14px;
112+
line-height: 1.5;
113+
}
114+
115+
.navigation__group {
116+
margin: 0 0 16px 0;
117+
padding: 0;
118+
list-style: none;
119+
}
120+
121+
.navigation__group.is-open .navigation__content {
122+
display: block;
123+
}
124+
125+
.navigation__label {
126+
cursor: pointer;
127+
color: #212121;
128+
font-weight: 500;
129+
margin-bottom: 4px;
130+
}
131+
132+
.navigation__label::-webkit-details-marker {
133+
display: none;
134+
}
135+
136+
.navigation__content {
137+
display: none;
138+
border-left: 1px solid #e5e5e5;
139+
margin-left: 4px;
140+
padding-left: 8px;
141+
}
142+
143+
.navigation__link {
144+
display: block;
145+
color: #616161;
146+
transition: transform ease 300ms, color ease 200ms;
147+
padding: 4px 8px;
148+
border-radius: 2px;
149+
}
150+
151+
.navigation__link:hover {
152+
color: #212121;
153+
transform: translateX(4px);
154+
}
155+
156+
.navigation__link.is-active {
157+
color: #5359d6;
158+
background-color: #ecedff;
159+
}
160+
161+
/* ## Article
162+
---------------------------------*/
163+
.article > h1 {
164+
position: relative;
165+
margin-top: 0;
166+
}
167+
168+
.article > h1 span {
169+
position: relative;
170+
}
171+
172+
.article > h1 span::after {
173+
content: '';
174+
display: block;
175+
position: absolute;
176+
bottom: 4px;
177+
left: 0;
178+
right: 0;
179+
height: 8px;
180+
background-color: #ecedff;
181+
z-index: -1;
182+
}
183+
184+
.article > h2 {
185+
position: relative;
186+
}
187+
188+
.article > h2:hover .anchor {
189+
display: block;
190+
}
191+
192+
.article > h2 .anchor {
193+
position: absolute;
194+
display: none;
195+
color: #636AFF;
196+
right: 100%;
197+
padding-right: 4px;
198+
}
199+
200+
.article > h2 .anchor::after {
201+
content: '#';
202+
}
203+
204+
.article > h2 {
205+
font-size: 24px;
206+
margin-top: 48px;
207+
margin-bottom: 24px;
208+
}
209+
210+
.article > h3, .article > h4, .article > h5, .article > h6 {
211+
font-size: 16px;
212+
margin-top: 24px;
213+
margin-bottom: 8px;
214+
}
215+
216+
.article > p {
217+
margin-bottom: 24px;
218+
}
219+
220+
/* ## Elements
221+
---------------------------------*/
222+
.rect {
223+
display: inline-block;
224+
height: 30px;
225+
min-width: 48px;
226+
background-color: #f7f7f7;
227+
}
228+
229+
.rect-box {
230+
min-height: 42px;
231+
padding: 10px;
232+
margin-bottom: 20px;
233+
border: 1px solid #e5e5e5;
234+
background-color: #f7f7f7;
235+
display: flex;
236+
justify-content: center;
237+
align-items: center;
238+
word-wrap: break-word;
239+
white-space: normal;
240+
}
241+
242+
.rect-box.is-3 {
243+
min-height: 126px;
244+
}
245+
246+
.rect-box.is-2 {
247+
min-height: 84px;
248+
}

docs/images/favicon.ico

8.15 KB
Binary file not shown.

docs/images/logo.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)