overte/tools/jsdoc/hifi-jsdoc-template/static/styles/jsdoc.css

731 lines
12 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*******************************************************************
****************************** Font styles *************************
********************************************************************/
@font-face{
font-family: 'Cairo';
src: url('../fonts/Cairo-Bold.ttf') format('truetype');
}
@font-face{
font-family: 'Proxima Nova';
src: url('../fonts/proximanova-regular.otf') format('opentype');
}
/*******************************************************************
**************************** General styles ************************
********************************************************************/
* {
box-sizing: border-box
}
html
{
overflow: auto;
background-color: #fff;
}
body
{
font-family: 'Proxima Nova', sans-serif;
font-size: 1rem;
line-height: 1.5;
letter-spacing: 0.5px;
margin: 1.5rem;
color: #555;
}
section
{
display: block;
background-color: #fff;
padding: 12px 24px;
margin-right: 30px;
}
/*******************************************************************
**************************** Heading styles ************************
********************************************************************/
h1, h2, h3, h4 {
font-family: "Cairo", Helvetica, sans-serif;
}
h1
{
font-size: 3.25rem;
text-align: center;
letter-spacing: 1.5px;
margin: 50px 25px 25px;
}
h2
{
font-size: 2.55rem;
margin-bottom: 12px;
}
h3
{
font-size: 1.5rem;
}
h4
{
font-size: 18px;
letter-spacing: -0.33px;
margin-bottom: 12px;
color: #4d4e53;
}
h6
{
font-size: 100%;
letter-spacing: -0.01em;
margin: 6px 0 3px 0;
font-style: italic;
}
.paramHeading, .typeDef h3.propsHeading, h3.subHeading
{
font-size: .9rem;
font-family: "Proxima Nova";
font-weight: bold;
border-bottom: solid 1px #ddd;
}
h4.name
{
margin-bottom: 0px;
padding-bottom: 0px;
}
h5, .container-overview .subsection-title
{
font-size: 13px;
font-weight: bold;
margin-bottom: 5px;
}
/*******************************************************************
**************************** Table styles **************************
********************************************************************/
table
{
width: 100%;
background-color: #fff;
border-collapse: collapse;
border-spacing: 0;
border: 1px solid #ccc;
text-align: left;
overflow: auto;
font-size: 0.9rem;
line-height: 1.5;
margin-bottom: 1.5rem;
}
table > thead {
background-color: #ddd;
border-bottom: 1px solid #ccc;
font-weight: 400;
}
table th, table td {
padding: 0.5rem;
border-left: 1px solid #ccc;
}
table tr {
border-bottom: 1px solid #ccc;
}
table tr:nth-child(even) {
background-color: #f8f8f8;
}
/*******************************************************************
****************************** Link styles *************************
********************************************************************/
a, a:visited, a:active {
color: #1694CA;
text-decoration: none;
}
article a:hover {
color: #0e6185;
text-decoration: none;
font-weight: bold;
}
/*******************************************************************
***************************** List styles **************************
********************************************************************/
article ul {
margin-bottom: 1.7em;
}
article li {
padding-bottom: 5px;
}
/*******************************************************************
********************** Navigation sidebar styles *******************
********************************************************************/
nav {
position: fixed;
top: 165px;
bottom: 0;
left: 0;
right: 0;
width: 305px;
border-right: 1px solid #ccc;
overflow-y: scroll;
padding-left: 20px;
padding-right: 20px;
box-sizing: border-box;
}
nav #nav-search {
width: 210px;
height: 30px;
padding: 5px 10px;
font-size: 12px;
line-height: 1.5;
border-radius: 3px;
margin-right: 20px;
margin-top: 20px;
}
.nav-header {
position: fixed;
top: 0;
left: 0;
height: 165px;
width: 305px;
background-color: #00B4EF;
vertical-align: middle;
text-align: center;
margin-top: 0px;
}
.nav-header p {
padding-top: 15px;
}
nav h3 {
font-family: "Proxima Nova", sans-serif;
font-size: 0.9rem;
text-transform: uppercase;
letter-spacing: 0.5px;
}
nav ul {
font-size: 0.9rem;
padding-left: 15px;
margin: 0;
list-style: none;
}
nav ul a, nav ul a:visited, nav ul a:active {
color: #a1a1a1;
}
nav ul ul {
padding-left: 15px;
margin: 0;
list-style: none;
}
nav ul ul li:first-child
{
padding-top: 0;
}
nav li
{
margin-top: 3px;
}
nav a:hover {
font-weight: bold;
text-decoration: none;
}
nav h2 {
margin: 0;
padding: 0;
}
nav > h2 > a {
display: block;
margin: 10px 0 -10px;
color: #606 !important;
}
/* open */
.nav-trigger:checked + label:not(.steps) .navicon:before,
.nav-trigger:checked + label:not(.steps) .navicon:after {
top: 0 !important;
}
.nav-trigger:checked + label .navicon:before,
.nav-trigger:checked + label .navicon:after {
transition: 0.5s;
}
/* Minus */
.nav-trigger:checked + label {
-webkit-transform: scale(0.75);
transform: scale(0.75);
}
/* × and + */
.nav-trigger:checked + label.plus .navicon,
.nav-trigger:checked + label.x .navicon {
background: transparent;
}
.nav-trigger:checked + label.plus .navicon:before,
.nav-trigger:checked + label.x .navicon:before {
-webkit-transform: rotate(-45deg);
transform: rotate(-45deg);
background: #FFF;
}
.nav-trigger:checked + label.plus .navicon:after,
.nav-trigger:checked + label.x .navicon:after {
-webkit-transform: rotate(45deg);
transform: rotate(45deg);
background: #FFF;
}
.nav-trigger:checked + label.plus {
-webkit-transform: scale(0.75) rotate(45deg);
transform: scale(0.75) rotate(45deg);
}
.nav-trigger:checked ~ nav {
left: 0 !important;
}
.nav-trigger:checked ~ .overlay {
display: block;
}
.nav-trigger {
position: fixed;
top: 0;
clip: rect(0, 0, 0, 0);
}
/********************************************************************
***************************** Search styles **************************
*********************************************************************/
.search-input
{
font-family: 'Proxima Nova', sans-serif;
font-size: 0.9rem;
border: 1px solid #ddd;
box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.06);
border-radius: 0.1875rem;
color: #3A3F3E;
width: 75%;
padding: 0.425rem;
}
/********************************************************************
***************************** Code styles ***************************
*********************************************************************/
tt, code, kbd, samp {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 0.8rem;
}
.name, .signature {
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 0.8rem;
}
img {
max-width: 100%;
}
p, ul, ol, blockquote {
margin-bottom: 1em;
}
.class-description {
font-size: 130%;
line-height: 140%;
margin-bottom: 1em;
margin-top: 1em;
}
.class-description:empty {
margin: 0
}
#main {
margin-left: 350px;
margin-right: 50px;
}
header {
display: block;
padding: 0px 4px;
}
.apiLinks
{
display: block;
text-align: center;
font-size: 90%;
margin-top: -20px;
}
.variation {
display: none
}
.signature-attributes {
font-size: 60%;
color: #808080;
font-style: italic;
font-weight: lighter;
}
.container-overview {
margin-top: 25px;
}
.ancestors {
color: #999
}
.ancestors a {
color: #999 !important;
}
.availableIn
{
font-size: 0.8rem;
}
.clear {
clear: both
}
.important {
font-weight: bold;
color: #950B02;
}
.yes-def {
text-indent: -1000px
}
.type-signature {
display: none;
}
.type-returns {
color: #aaa;
}
.member
{
font-family: Consolas, Monaco, 'Andale Mono', monospace;
font-size: 16px;
}
.details {
margin-top: 6px;
border-left: 2px solid #DDD;
line-height: 20px;
font-size: 14px;
}
.details dt {
width: auto;
float: left;
padding-left: 10px;
}
.details dd {
margin-left: 70px;
margin-top: 6px;
margin-bottom: 6px;
}
.details ul {
margin: 0
}
.details ul {
list-style-type: none
}
.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;
}
.prettyprint
{
border: 1px solid #ddd;
overflow: auto;
}
.prettyprint.source {
width: inherit;
}
.prettyprint code
{
font-size: 0.65rem;
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 code {
white-space: pre;
}
.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;
}
span.param-type, .params td .param-type, .param-type dd {
color: #606;
font-family: Consolas, Monaco, 'Andale Mono', monospace
}
.param-type dt, .param-type dd {
display: inline-block
}
.param-type {
margin: 14px 0;
}
.disabled {
color: #454545
}
/* navicon button */
.navicon-button {
display: none;
position: relative;
padding: 2.0625rem 1.5rem;
transition: 0.25s;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
opacity: .8;
}
.navicon-button .navicon:before, .navicon-button .navicon:after {
transition: 0.25s;
}
.navicon-button:hover {
transition: 0.5s;
opacity: 1;
}
.navicon-button:hover .navicon:before, .navicon-button:hover .navicon:after {
transition: 0.25s;
}
.navicon-button:hover .navicon:before {
top: .825rem;
}
.navicon-button:hover .navicon:after {
top: -.825rem;
}
/* navicon */
.navicon {
position: relative;
width: 2.5em;
height: .3125rem;
background: #000;
transition: 0.3s;
border-radius: 2.5rem;
}
.navicon:before, .navicon:after {
display: block;
content: "";
height: .3125rem;
width: 2.5rem;
background: #000;
position: absolute;
z-index: -1;
transition: 0.3s 0.25s;
border-radius: 1rem;
}
.navicon:before {
top: .625rem;
}
.navicon:after {
top: -.625rem;
}
.overlay {
display: none;
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
width: 100%;
height: 100%;
background: hsla(0, 0%, 0%, 0.5);
z-index: 1;
}
/********************************************************************
**************************** Mobile styles **************************
*********************************************************************/
@media only screen and (min-width: 320px) and (max-width: 680px) {
body {
overflow-x: hidden;
}
nav {
background: #FFF;
width: 250px;
height: 100%;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: -250px;
z-index: 3;
padding: 0 10px;
transition: left 0.2s;
}
.navicon-button {
display: inline-block;
position: fixed;
top: 1.5em;
right: 0;
z-index: 2;
}
#main {
width: 100%;
min-width: 360px;
}
#main section {
padding: 0;
}
footer {
margin-left: 0;
}
}
/** Add a '#' to static members */
[data-type="member"] a::before {
content: '#';
display: inline-block;
margin-left: -14px;
margin-right: 5px;
}
#disqus_thread{
margin-left: 30px;
}