-
-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,867 additions
and
5,324 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,175 @@ | ||
/* Custom stylesheet for API documentation by Aras Pranckevičius, http://aras-p.info/ | ||
and tweaked by Morgan McGuire. | ||
Licensed as public domain or BSD 2-clause, whichever is more convenient for you. | ||
Originally from https://github.com/aras-p/markdeep-docs-style */ | ||
body#md { | ||
max-width: 50em; | ||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; | ||
text-align: left; | ||
margin: 1.5em; | ||
padding: 0 1em; | ||
} | ||
|
||
/* if screen is wide enough, put table of contents on the right side */ | ||
@media screen and (min-width: 64em) { | ||
.md .longTOC, .md .mediumTOC, .md .shortTOC { | ||
max-width: 20em; | ||
left: 54em; | ||
display:block; | ||
position: fixed; | ||
top:0; | ||
bottom:0; | ||
overflow-y:scroll; | ||
margin-top:0; | ||
margin-bottom:0; | ||
padding-top:1em; | ||
} | ||
} | ||
|
||
/* for narrow screens or print, hide table of contents */ | ||
@media screen and (max-width: 64em) { | ||
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; } | ||
} | ||
|
||
@media print { | ||
.md .longTOC, .md .mediumTOC, .md .shortTOC { display: none; } | ||
body { max-width: 100%; } | ||
} | ||
|
||
/* reset heading/link fonts to that of body */ | ||
.md a, | ||
.md div.title, contents, .md .tocHeader, | ||
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6, | ||
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6, | ||
.md .shortTOC, .md .mediumTOC, .md .longTOC { | ||
font-family: inherit; | ||
} | ||
|
||
@media screen {.md .tocTop { | ||
display: inline; | ||
}} | ||
|
||
.md div.title { | ||
margin: 0.4em 0 0 0; | ||
padding: 0; | ||
text-align: inherit; | ||
} | ||
|
||
.md div.subtitle { | ||
text-align: inherit; | ||
} | ||
|
||
/* faint border below headings */ | ||
.md h1, .md h2, .md h3, .md h4, | ||
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4 { | ||
border-bottom: 1px solid rgba(0,0,0,.1); | ||
} | ||
/* heading font styles */ | ||
.md h1, .md .nonumberh1, .md div.title { | ||
font-size: 150%; | ||
font-weight: 600; | ||
color: rgba(0,0,0,.7); | ||
} | ||
.md h2, .md .nonumberh2 { | ||
font-size: 120%; | ||
font-weight: 400; | ||
color: rgba(0,0,0,.9); | ||
} | ||
.md h3, .md .nonumberh3 { | ||
font-size: 110%; | ||
font-weight: 400; | ||
color: rgba(0,0,0,.7); | ||
} | ||
/* no numbering of headings */ | ||
.md h1:before, .md h2:before, .md h3:before, .md h4:before { content: none; } | ||
|
||
/* link styling */ | ||
.md a:link, .md a:visited { | ||
color: #3f51b5; | ||
} | ||
|
||
/* inline and block code */ | ||
.md code, .md pre.listing { | ||
background-color: rgba(0,0,0,.05); | ||
padding: 0.1em 0.2em; | ||
border-radius: 0.15em; | ||
} | ||
.md pre.listing code { | ||
background-color: transparent; | ||
padding: 0; | ||
border: none; | ||
} | ||
|
||
/* table of contents styling; make all 3 forms of it look the same */ | ||
.md .longTOC, .md .mediumTOC, .md .shortTOC { | ||
font-size: inherit; | ||
line-height: 120%; | ||
margin: 1em 0; | ||
padding: .4rem; | ||
border-left: .1rem solid #3f51b5; | ||
} | ||
|
||
.md .tocHeader { | ||
margin: 0; | ||
padding: 0; | ||
border: none; | ||
font-size: inherit; | ||
} | ||
|
||
.md .tocNumber { | ||
display: none; | ||
} | ||
|
||
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1 { | ||
font-weight: inherit; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.md .longTOC p, .md .mediumTOC p, .md .shortTOC p { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
.md .longTOC center, .md .mediumTOC center, .md .shortTOC center, .md .tocHeader { | ||
text-align: left; | ||
} | ||
|
||
.md .longTOC b, .md .mediumTOC b, .md .shortTOC b { | ||
font-weight: 400; | ||
} | ||
|
||
.md .longTOC center b, .md .mediumTOC center b, .md .shortTOC center b { | ||
font-weight: bold; | ||
} | ||
|
||
.md .longTOC a, .md .mediumTOC a, .md .shortTOC a { | ||
color: black; | ||
} | ||
|
||
.md .longTOC .level1, .md .mediumTOC .level1, .md .shortTOC .level1, | ||
.md .longTOC .level2, .md .mediumTOC .level2, .md .shortTOC .level2, | ||
.md .longTOC .level3, .md .mediumTOC .level3, .md .shortTOC .level3 { | ||
white-space: nowrap; | ||
margin: 0; | ||
padding: 0; | ||
font-size: 90%; | ||
} | ||
|
||
/* tables; use fainter colors than regular markdeep style */ | ||
.md table.table { | ||
font-size: 90%; | ||
} | ||
|
||
.md table.table th { | ||
border: none; | ||
background-color: #ccc; | ||
color: rgba(0,0,0,.6); | ||
} | ||
.md table.table tr, .md table.table td { | ||
border-color: #eee; | ||
} | ||
.md table.table tr:nth-child(even) { | ||
background-color: #f4f4f4; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,213 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); | ||
|
||
body { | ||
font-weight: 400; | ||
font-size: 14px; | ||
font-family: Roboto,Arial,sans-serif; | ||
text-align: left; | ||
line-height: 170%; | ||
-webkit-font-smoothing: unset; | ||
} | ||
|
||
|
||
/* reset heading/link fonts to that of body */ | ||
.md a, | ||
.md div.title, contents, .md .tocHeader, | ||
.md h1, .md h2, .md h3, .md h4, .md h5, .md h6, | ||
.md .nonumberh1, .md .nonumberh2, .md .nonumberh3, .md .nonumberh4, .md .nonumberh5, .md .nonumberh6, | ||
.md .shortTOC, .md .mediumTOC, .md .longTOC { | ||
font-family: inherit; | ||
} | ||
|
||
.md div.title, .md div.subtitle { | ||
position: absolute; | ||
right: 0px; | ||
text-align: right; | ||
color: white; | ||
z-index: 10; | ||
margin: 0px; | ||
padding-right: 30px; | ||
font-weight: 900; | ||
} | ||
|
||
.md div.title { | ||
text-align: right; | ||
position: absolute; | ||
left: -230px; | ||
top: 0px; | ||
height: 85px; | ||
padding-top: 20px; | ||
font-size: 21px; | ||
border-bottom: 8px solid #555; | ||
box-shadow: 0px 0px 5px rgba(0,0,0,0.75); | ||
background-color: #202124; | ||
background-image: url('company-logo-512.png'); | ||
background-repeat: no-repeat; | ||
background-position: top left; | ||
background-size: contain; | ||
} | ||
|
||
.md .imagecaption, .md div.listingcaption { | ||
display: inline; | ||
} | ||
|
||
.md div.subtitle { | ||
top: 60px; | ||
} | ||
|
||
.md .tocHeader { | ||
display:none; | ||
} | ||
|
||
.md .longTOC .level1 { | ||
font-weight: 300; | ||
margin-bottom: -30px; | ||
} | ||
|
||
|
||
.md h1 { | ||
font-weight: bold; | ||
font-size: 150%; | ||
font-family: Roboto,sans-serif; | ||
padding-bottom: 25px; | ||
border-bottom: 1px solid #000; | ||
margin-bottom: 25px; | ||
margin-left:-20px; | ||
margin-right:-20px; | ||
padding-left:20px; | ||
padding-top:25px; | ||
} | ||
|
||
.md h2 { | ||
color: rgb(0, 72, 49); | ||
font-size: 120%; | ||
border-bottom: 1px solid #cf8313; | ||
} | ||
|
||
.md h3, .md h4, .md h5, .md h6 { | ||
font-size: 120%; | ||
} | ||
|
||
.md table.table th { | ||
background: #f7d7a8; | ||
color: black; | ||
} | ||
|
||
|
||
.md code { | ||
background: unset; | ||
} | ||
|
||
.md .tocTop { | ||
display: inline; | ||
} | ||
|
||
body { | ||
position: absolute; | ||
left: 230px; | ||
right:0px; | ||
margin: 0px; | ||
padding: 0px; | ||
max-width: unset; | ||
padding-right: 15px; | ||
} | ||
|
||
|
||
.md div.afterTitles { | ||
height: 115px; | ||
} | ||
|
||
|
||
.md .admonition { | ||
border-radius: unset; | ||
position: relative; | ||
margin-left: -10px; | ||
border-left: 4px solid rgb(118, 185, 0); | ||
padding-left: 48px; | ||
background: unset !important; | ||
} | ||
|
||
.md .admonition-title { | ||
border: unset !important; | ||
margin-left: -55px; | ||
margin-bottom: -15px; | ||
} | ||
|
||
.md .admonition.warn, .md .admonition.warning { | ||
border-left: 4px solid rgb(255, 165, 0); | ||
} | ||
|
||
.md .admonition.warn::before, .md .admonition.warning::before { | ||
display: none; | ||
} | ||
|
||
.md .admonition.warn .admonition-title, .md .admonition.warning .admonition-title { | ||
border-bottom: 1px solid rgba(68,138,255,1); | ||
} | ||
|
||
.md .admonition.tip { | ||
border: 1px solid rgba(68,138,255,1); | ||
border-left: 2.5rem solid rgba(68,138,255,1); | ||
background: #202020; | ||
} | ||
.md .admonition.tip .admonition-title { | ||
border-bottom: 1px solid rgba(68,138,255,1); | ||
} | ||
|
||
.md .admonition.error { | ||
border: 1px solid rgba(255,23,68,1); | ||
border-left: 2.5rem solid rgba(255,23,68,1); | ||
background: #202020; | ||
} | ||
|
||
.md .admonition.error .admonition-title { | ||
border-bottom: 1px solid rgba(255,23,68,1); | ||
} | ||
|
||
.md a:link, .md a:visited, .md a:link code, .md a:visited code { | ||
color: #cf8313; | ||
text-decoration: underline; | ||
} | ||
|
||
.md a:hover, .md a:hover code { | ||
color: #cf8313; | ||
} | ||
|
||
@media screen { | ||
.md .longTOC { | ||
display: block; | ||
white-space: nowrap; | ||
width: 200px; | ||
border-right: 1px solid #777; | ||
overflow-y: auto; | ||
font-family: inherit; | ||
position: fixed; | ||
left: 0px; | ||
top: 115px; | ||
bottom:0px; | ||
margin: 0px; | ||
padding: 0px; | ||
padding-left:10px; | ||
padding-top: -120px; | ||
} | ||
|
||
.scrolled .md .longTOC { | ||
position: fixed; | ||
top: 0px; | ||
} | ||
|
||
|
||
|
||
/* no numbering of headings */ | ||
.md h1:before, .md h2:before, .md h3:before, .md h4:before, .md h5:before, .md h6:before { content: none; } | ||
.md .tocNumber { display: none; } | ||
|
||
.md .longTOC a, .md .longTOC a:hover, .md .longTOC code { | ||
text-decoration: none; | ||
color: #000; | ||
font-size: 12px; | ||
font-family: sans-serif; | ||
} | ||
|
||
} | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.