Skip to content

Commit 6912df6

Browse files
committedDec 23, 2024
archive
1 parent 939a340 commit 6912df6

20 files changed

+8590
-6
lines changed
 

‎1.18/apidoc.css

+175
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,175 @@
1+
/* Custom stylesheet for API documentation by Aras Pranckevičius, http://aras-p.info/
2+
and tweaked by Morgan McGuire.
3+
Licensed as public domain or BSD 2-clause, whichever is more convenient for you.
4+
Originally from https://github.com/aras-p/markdeep-docs-style */
5+
body#md {
6+
max-width: 50em;
7+
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
8+
text-align: left;
9+
margin: 1.5em;
10+
padding: 0 1em;
11+
}
12+
13+
/* if screen is wide enough, put table of contents on the right side */
14+
@media screen and (min-width: 64em) {
15+
.md .longTOC, .md .mediumTOC, .md .shortTOC {
16+
max-width: 20em;
17+
left: 54em;
18+
display:block;
19+
position: fixed;
20+
top:0;
21+
bottom:0;
22+
overflow-y:scroll;
23+
margin-top:0;
24+
margin-bottom:0;
25+
padding-top:1em;
26+
}
27+
}
28+
29+
/* for narrow screens or print, hide table of contents */
30+
@media screen and (max-width: 64em) {
31+
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; }
32+
}
33+
34+
@media print {
35+
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; }
36+
body { max-width: 100%; }
37+
}
38+
39+
/* reset heading/link fonts to that of body */
40+
.md a,
41+
.md div.title, contents, .md .tocHeader,
42+
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6,
43+
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6,
44+
.md .shortTOC, .md .mediumTOC, .md .longTOC {
45+
font-family: inherit;
46+
}
47+
48+
@media screen {.md .tocTop {
49+
display: inline;
50+
}}
51+
52+
.md div.title {
53+
margin: 0.4em 0 0 0;
54+
padding: 0;
55+
text-align: inherit;
56+
}
57+
58+
.md div.subtitle {
59+
text-align: inherit;
60+
}
61+
62+
/* faint border below headings */
63+
.md h1, .md h2, .md h3, .md h4,
64+
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4 {
65+
border-bottom: 1px solid rgba(0,0,0,.1);
66+
}
67+
/* heading font styles */
68+
.md h1, .md .nonumberh1, .md div.title {
69+
font-size: 150%;
70+
font-weight: 600;
71+
color: rgba(0,0,0,.7);
72+
}
73+
.md h2, .md .nonumberh2 {
74+
font-size: 120%;
75+
font-weight: 400;
76+
color: rgba(0,0,0,.9);
77+
}
78+
.md h3, .md .nonumberh3 {
79+
font-size: 110%;
80+
font-weight: 400;
81+
color: rgba(0,0,0,.7);
82+
}
83+
/* no numbering of headings */
84+
.md h1:before, .md h2:before, .md h3:before, .md h4:before { content: none; }
85+
86+
/* link styling */
87+
.md a:link, .md a:visited {
88+
color: #3f51b5;
89+
}
90+
91+
/* inline and block code */
92+
.md code, .md pre.listing {
93+
background-color: rgba(0,0,0,.05);
94+
padding: 0.1em 0.2em;
95+
border-radius: 0.15em;
96+
}
97+
.md pre.listing code {
98+
background-color: transparent;
99+
padding: 0;
100+
border: none;
101+
}
102+
103+
/* table of contents styling; make all 3 forms of it look the same */
104+
.md .longTOC, .md .mediumTOC, .md .shortTOC {
105+
font-size: inherit;
106+
line-height: 120%;
107+
margin: 1em 0;
108+
padding: .4rem;
109+
border-left: .1rem solid #3f51b5;
110+
}
111+
112+
.md .tocHeader {
113+
margin: 0;
114+
padding: 0;
115+
border: none;
116+
font-size: inherit;
117+
}
118+
119+
.md .tocNumber {
120+
display: none;
121+
}
122+
123+
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1 {
124+
font-weight: inherit;
125+
padding: 0;
126+
margin: 0;
127+
}
128+
129+
.md .longTOC p, .md .mediumTOC p, .md .shortTOC p {
130+
overflow: hidden;
131+
text-overflow: ellipsis;
132+
}
133+
134+
.md .longTOC center, .md .mediumTOC center, .md .shortTOC center, .md .tocHeader {
135+
text-align: left;
136+
}
137+
138+
.md .longTOC b, .md .mediumTOC b, .md .shortTOC b {
139+
font-weight: 400;
140+
}
141+
142+
.md .longTOC center b, .md .mediumTOC center b, .md .shortTOC center b {
143+
font-weight: bold;
144+
}
145+
146+
.md .longTOC a, .md .mediumTOC a, .md .shortTOC a {
147+
color: black;
148+
}
149+
150+
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1,
151+
.md .longTOC .level2, .md .mediumTOC .level2, .md .shortTOC .level2,
152+
.md .longTOC .level3, .md .mediumTOC .level3, .md .shortTOC .level3 {
153+
white-space: nowrap;
154+
margin: 0;
155+
padding: 0;
156+
font-size: 90%;
157+
}
158+
159+
/* tables; use fainter colors than regular markdeep style */
160+
.md table.table {
161+
font-size: 90%;
162+
}
163+
164+
.md table.table th {
165+
border: none;
166+
background-color: #ccc;
167+
color: rgba(0,0,0,.6);
168+
}
169+
.md table.table tr, .md table.table td {
170+
border-color: #eee;
171+
}
172+
.md table.table tr:nth-child(even) {
173+
background-color: #f4f4f4;
174+
}
175+

‎1.18/company/api/company-api.css

+213
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,213 @@
1+
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');
2+
3+
body {
4+
font-weight: 400;
5+
font-size: 14px;
6+
font-family: Roboto,Arial,sans-serif;
7+
text-align: left;
8+
line-height: 170%;
9+
-webkit-font-smoothing: unset;
10+
}
11+
12+
13+
/* reset heading/link fonts to that of body */
14+
.md a,
15+
.md div.title, contents, .md .tocHeader,
16+
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6,
17+
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6,
18+
.md .shortTOC, .md .mediumTOC, .md .longTOC {
19+
font-family: inherit;
20+
}
21+
22+
.md div.title, .md div.subtitle {
23+
position: absolute;
24+
right: 0px;
25+
text-align: right;
26+
color: white;
27+
z-index: 10;
28+
margin: 0px;
29+
padding-right: 30px;
30+
font-weight: 900;
31+
}
32+
33+
.md div.title {
34+
text-align: right;
35+
position: absolute;
36+
left: -230px;
37+
top: 0px;
38+
height: 85px;
39+
padding-top: 20px;
40+
font-size: 21px;
41+
border-bottom: 8px solid #555;
42+
box-shadow: 0px 0px 5px rgba(0,0,0,0.75);
43+
background-color: #202124;
44+
background-image: url('company-logo-512.png');
45+
background-repeat: no-repeat;
46+
background-position: top left;
47+
background-size: contain;
48+
}
49+
50+
.md .imagecaption, .md div.listingcaption {
51+
display: inline;
52+
}
53+
54+
.md div.subtitle {
55+
top: 60px;
56+
}
57+
58+
.md .tocHeader {
59+
display:none;
60+
}
61+
62+
.md .longTOC .level1 {
63+
font-weight: 300;
64+
margin-bottom: -30px;
65+
}
66+
67+
68+
.md h1 {
69+
font-weight: bold;
70+
font-size: 150%;
71+
font-family: Roboto,sans-serif;
72+
padding-bottom: 25px;
73+
border-bottom: 1px solid #000;
74+
margin-bottom: 25px;
75+
margin-left:-20px;
76+
margin-right:-20px;
77+
padding-left:20px;
78+
padding-top:25px;
79+
}
80+
81+
.md h2 {
82+
color: rgb(0, 72, 49);
83+
font-size: 120%;
84+
border-bottom: 1px solid #cf8313;
85+
}
86+
87+
.md h3, .md h4, .md h5, .md h6 {
88+
font-size: 120%;
89+
}
90+
91+
.md table.table th {
92+
background: #f7d7a8;
93+
color: black;
94+
}
95+
96+
97+
.md code {
98+
background: unset;
99+
}
100+
101+
.md .tocTop {
102+
display: inline;
103+
}
104+
105+
body {
106+
position: absolute;
107+
left: 230px;
108+
right:0px;
109+
margin: 0px;
110+
padding: 0px;
111+
max-width: unset;
112+
padding-right: 15px;
113+
}
114+
115+
116+
.md div.afterTitles {
117+
height: 115px;
118+
}
119+
120+
121+
.md .admonition {
122+
border-radius: unset;
123+
position: relative;
124+
margin-left: -10px;
125+
border-left: 4px solid rgb(118, 185, 0);
126+
padding-left: 48px;
127+
background: unset !important;
128+
}
129+
130+
.md .admonition-title {
131+
border: unset !important;
132+
margin-left: -55px;
133+
margin-bottom: -15px;
134+
}
135+
136+
.md .admonition.warn, .md .admonition.warning {
137+
border-left: 4px solid rgb(255, 165, 0);
138+
}
139+
140+
.md .admonition.warn::before, .md .admonition.warning::before {
141+
display: none;
142+
}
143+
144+
.md .admonition.warn .admonition-title, .md .admonition.warning .admonition-title {
145+
border-bottom: 1px solid rgba(68,138,255,1);
146+
}
147+
148+
.md .admonition.tip {
149+
border: 1px solid rgba(68,138,255,1);
150+
border-left: 2.5rem solid rgba(68,138,255,1);
151+
background: #202020;
152+
}
153+
.md .admonition.tip .admonition-title {
154+
border-bottom: 1px solid rgba(68,138,255,1);
155+
}
156+
157+
.md .admonition.error {
158+
border: 1px solid rgba(255,23,68,1);
159+
border-left: 2.5rem solid rgba(255,23,68,1);
160+
background: #202020;
161+
}
162+
163+
.md .admonition.error .admonition-title {
164+
border-bottom: 1px solid rgba(255,23,68,1);
165+
}
166+
167+
.md a:link, .md a:visited, .md a:link code, .md a:visited code {
168+
color: #cf8313;
169+
text-decoration: underline;
170+
}
171+
172+
.md a:hover, .md a:hover code {
173+
color: #cf8313;
174+
}
175+
176+
@media screen {
177+
.md .longTOC {
178+
display: block;
179+
white-space: nowrap;
180+
width: 200px;
181+
border-right: 1px solid #777;
182+
overflow-y: auto;
183+
font-family: inherit;
184+
position: fixed;
185+
left: 0px;
186+
top: 115px;
187+
bottom:0px;
188+
margin: 0px;
189+
padding: 0px;
190+
padding-left:10px;
191+
padding-top: -120px;
192+
}
193+
194+
.scrolled .md .longTOC {
195+
position: fixed;
196+
top: 0px;
197+
}
198+
199+
200+
201+
/* no numbering of headings */
202+
.md h1:before, .md h2:before, .md h3:before, .md h4:before, .md h5:before, .md h6:before { content: none; }
203+
.md .tocNumber { display: none; }
204+
205+
.md .longTOC a, .md .longTOC a:hover, .md .longTOC code {
206+
text-decoration: none;
207+
color: #000;
208+
font-size: 12px;
209+
font-family: sans-serif;
210+
}
211+
212+
}
213+

‎1.18/company/api/company-logo-512.png

5.53 KB
Loading

0 commit comments

Comments
 (0)