mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
377 lines
5.5 KiB
CSS
377 lines
5.5 KiB
CSS
/*
|
|
Copyright 2011 the JSDoc Authors.
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
https://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
*/
|
|
@import url('./open-sans.css');
|
|
@import url('./open-sans-italic.css');
|
|
|
|
html {
|
|
overflow: auto;
|
|
background-color: #fff;
|
|
font-size: 14px;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Open Sans Variable', sans-serif;
|
|
line-height: 1.5;
|
|
color: #4d4e53;
|
|
background-color: white;
|
|
}
|
|
|
|
a,
|
|
a:visited,
|
|
a:active {
|
|
color: #0095dd;
|
|
text-decoration: none;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
header {
|
|
display: block;
|
|
padding: 0px 4px;
|
|
}
|
|
|
|
tt,
|
|
code,
|
|
kbd,
|
|
samp {
|
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
}
|
|
|
|
.class-description {
|
|
font-size: 130%;
|
|
line-height: 140%;
|
|
margin-bottom: 1em;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.class-description:empty {
|
|
margin: 0;
|
|
}
|
|
|
|
#main {
|
|
float: left;
|
|
width: 70%;
|
|
}
|
|
|
|
article dl {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
article img {
|
|
max-width: 100%;
|
|
}
|
|
|
|
section {
|
|
display: block;
|
|
background-color: #fff;
|
|
padding: 12px 24px;
|
|
border-bottom: 1px solid #ccc;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.variation {
|
|
display: none;
|
|
}
|
|
|
|
.signature-attributes {
|
|
font-size: 60%;
|
|
color: #aaa;
|
|
font-style: italic;
|
|
font-weight: lighter;
|
|
}
|
|
|
|
nav {
|
|
display: block;
|
|
float: right;
|
|
margin-top: 28px;
|
|
width: 30%;
|
|
box-sizing: border-box;
|
|
border-left: 1px solid #ccc;
|
|
padding-left: 16px;
|
|
}
|
|
|
|
nav ul {
|
|
font-family: 'Lucida Grande', 'Lucida Sans Unicode', arial, sans-serif;
|
|
font-size: 100%;
|
|
line-height: 17px;
|
|
padding: 0;
|
|
margin: 0;
|
|
list-style-type: none;
|
|
}
|
|
|
|
nav ul a,
|
|
nav ul a:visited,
|
|
nav ul a:active {
|
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
line-height: 18px;
|
|
color: #4d4e53;
|
|
}
|
|
|
|
nav h3 {
|
|
margin-top: 12px;
|
|
}
|
|
|
|
nav li {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
footer {
|
|
display: block;
|
|
padding: 6px;
|
|
margin-top: 12px;
|
|
font-style: italic;
|
|
font-size: 90%;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4 {
|
|
margin: 0;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'Open Sans Variable', sans-serif;
|
|
font-size: 48px;
|
|
font-weight: 300;
|
|
letter-spacing: -2px;
|
|
margin: 12px 24px 20px;
|
|
}
|
|
|
|
h2,
|
|
h3.subsection-title {
|
|
font-size: 30px;
|
|
font-weight: 500;
|
|
letter-spacing: -1px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
h3 {
|
|
font-size: 24px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.5px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
h4,
|
|
h4.name {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
letter-spacing: -0.33px;
|
|
margin-bottom: 12px;
|
|
color: #4d4e53;
|
|
}
|
|
|
|
h5,
|
|
.container-overview .subsection-title {
|
|
font-size: 120%;
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
margin: 8px 0 3px 0;
|
|
}
|
|
|
|
h6 {
|
|
font-size: 100%;
|
|
font-weight: 500;
|
|
letter-spacing: -0.01em;
|
|
margin: 6px 0 3px 0;
|
|
font-style: italic;
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
border: 0;
|
|
border-collapse: collapse;
|
|
}
|
|
|
|
td,
|
|
th {
|
|
border: 1px solid #ddd;
|
|
margin: 0px;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
padding: 4px 6px;
|
|
display: table-cell;
|
|
}
|
|
|
|
thead tr {
|
|
background-color: #ddd;
|
|
font-weight: bold;
|
|
}
|
|
|
|
th {
|
|
border-right: 1px solid #aaa;
|
|
}
|
|
tr > th:last-child {
|
|
border-right: 1px solid #ddd;
|
|
}
|
|
|
|
.ancestors,
|
|
.attribs {
|
|
color: #999;
|
|
}
|
|
.ancestors a,
|
|
.attribs a {
|
|
color: #999 !important;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.clear {
|
|
clear: both;
|
|
}
|
|
|
|
.important {
|
|
font-weight: bold;
|
|
color: #950b02;
|
|
}
|
|
|
|
.yes-def {
|
|
text-indent: -1000px;
|
|
}
|
|
|
|
.type-signature {
|
|
color: #aaa;
|
|
}
|
|
|
|
.name,
|
|
.signature {
|
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
}
|
|
|
|
header .signature {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.details {
|
|
margin-top: 14px;
|
|
border-left: 2px solid #ddd;
|
|
}
|
|
.details dt {
|
|
width: 120px;
|
|
float: left;
|
|
padding-left: 10px;
|
|
padding-top: 6px;
|
|
}
|
|
.details dd {
|
|
margin-left: 70px;
|
|
}
|
|
.details ul {
|
|
margin: 0;
|
|
}
|
|
.details ul {
|
|
list-style-type: none;
|
|
}
|
|
.details li {
|
|
margin-left: 30px;
|
|
padding-top: 6px;
|
|
}
|
|
.details pre.prettyprint {
|
|
margin: 0;
|
|
}
|
|
.details .object-value {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.description {
|
|
margin-bottom: 1em;
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.code-caption {
|
|
font-style: italic;
|
|
font-size: 107%;
|
|
margin: 0;
|
|
}
|
|
|
|
.source {
|
|
border: 1px solid #ddd;
|
|
width: 80%;
|
|
overflow: auto;
|
|
}
|
|
|
|
.prettyprint.source {
|
|
width: inherit;
|
|
}
|
|
|
|
.source code {
|
|
font-size: 100%;
|
|
font-weight: 300;
|
|
line-height: 18px;
|
|
display: block;
|
|
padding: 4px 12px;
|
|
margin: 0;
|
|
background-color: #fff;
|
|
color: #4d4e53;
|
|
}
|
|
|
|
.prettyprint code span.line {
|
|
display: inline-block;
|
|
}
|
|
|
|
.prettyprint.linenums {
|
|
padding-left: 70px;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.prettyprint.linenums ol {
|
|
padding-left: 0;
|
|
}
|
|
|
|
.prettyprint.linenums li {
|
|
border-left: 3px #ddd solid;
|
|
}
|
|
|
|
.prettyprint.linenums li.selected,
|
|
.prettyprint.linenums li.selected * {
|
|
background-color: lightyellow;
|
|
}
|
|
|
|
.prettyprint.linenums li * {
|
|
-webkit-user-select: text;
|
|
-moz-user-select: text;
|
|
-ms-user-select: text;
|
|
user-select: text;
|
|
}
|
|
|
|
.params .name,
|
|
.props .name,
|
|
.name code {
|
|
color: #4d4e53;
|
|
font-family: Consolas, Monaco, 'Andale Mono', monospace;
|
|
font-size: 100%;
|
|
}
|
|
|
|
.params td.description > p:first-child,
|
|
.props td.description > p:first-child {
|
|
margin-top: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.params td.description > p:last-child,
|
|
.props td.description > p:last-child {
|
|
margin-bottom: 0;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.disabled {
|
|
color: #454545;
|
|
}
|