123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625 |
- @import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
- * {
- box-sizing: border-box
- }
- html, body {
- height: 100%;
- width: 100%;
- }
- body {
- color: #4d4e53;
- background-color: white;
- margin: 0 auto;
- padding: 0 20px;
- font-family: 'Helvetica Neue', Helvetica, sans-serif;
- font-size: 16px;
- line-height: 160%;
- }
- a,
- a:active {
- color: #606;
- text-decoration: none;
- }
- a:hover {
- text-decoration: none;
- }
- article a {
- border-bottom: 1px solid #ddd;
- }
- article a:hover, article a:active {
- border-bottom-color: #222;
- }
- p, ul, ol, blockquote {
- margin-bottom: 1em;
- }
- h1, h2, h3, h4, h5, h6 {
- font-family: 'Montserrat', sans-serif;
- }
- h1, h2, h3, h4, h5, h6 {
- color: #000;
- font-weight: 400;
- margin: 0;
- }
- h1 {
- font-weight: 300;
- font-size: 48px;
- margin: 1em 0 .5em;
- }
- h1.page-title {
- font-size: 48px;
- margin: 1em 30px;
- }
- h2 {
- font-size: 24px;
- margin: 1.5em 0 .3em;
- }
- h3 {
- font-size: 24px;
- margin: 1.2em 0 .3em;
- }
- h4 {
- font-size: 18px;
- margin: 1em 0 .2em;
- color: #4d4e53;
- }
- h4.name {
- color: #fff;
- background: #6d426d;
- box-shadow: 0 .25em .5em #d3d3d3;
- border-top: 1px solid #d3d3d3;
- border-bottom: 1px solid #d3d3d3;
- margin: 1.5em 0 0.5em;
- padding: .75em 0 .75em 10px;
- }
- h5, .container-overview .subsection-title {
- font-size: 120%;
- letter-spacing: -0.01em;
- margin: 8px 0 3px 0;
- }
- h6 {
- font-size: 100%;
- letter-spacing: -0.01em;
- margin: 6px 0 3px 0;
- font-style: italic;
- }
- tt, code, kbd, samp {
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
- background: #f4f4f4;
- padding: 1px 5px;
- }
- .class-description {
- font-size: 130%;
- line-height: 140%;
- margin-bottom: 1em;
- margin-top: 1em;
- }
- .class-description:empty {
- margin: 0
- }
- #main {
- float: right;
- min-width: 360px;
- width: calc(100% - 240px);
- }
- header {
- display: block
- }
- section {
- display: block;
- background-color: #fff;
- padding: 0 0 0 30px;
- }
- .variation {
- display: none
- }
- .signature-attributes {
- font-size: 60%;
- color: #eee;
- font-style: italic;
- font-weight: lighter;
- }
- nav {
- float: left;
- display: block;
- width: 250px;
- background: #fff;
- overflow: auto;
- position: fixed;
- height: 100%;
- }
- nav h3 {
- margin-top: 12px;
- font-size: 13px;
- text-transform: uppercase;
- letter-spacing: 1px;
- font-weight: 700;
- line-height: 24px;
- margin: 15px 0 10px;
- padding: 0;
- color: #000;
- }
- 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:active {
- font-family: 'Montserrat', sans-serif;
- line-height: 18px;
- padding: 0;
- display: block;
- font-size: 12px;
- }
- nav a:hover,
- nav a:active {
- color: #606;
- }
- nav > ul {
- padding: 0 10px;
- }
- nav > ul > li > a {
- color: #606;
- }
- nav ul ul {
- margin-bottom: 10px
- }
- nav ul ul a {
- color: hsl(207, 1%, 60%);
- border-left: 1px solid hsl(207, 10%, 86%);
- }
- nav ul ul a,
- nav ul ul a:active {
- padding-left: 20px
- }
- nav h2 {
- font-size: 12px;
- margin: 0;
- padding: 0;
- }
- nav > h2 > a {
- display: block;
- margin: 10px 0 -10px;
- color: #606 !important;
- }
- footer {
- color: hsl(0, 0%, 28%);
- margin-left: 250px;
- display: block;
- padding: 15px;
- font-style: italic;
- font-size: 90%;
- }
- .ancestors {
- color: #999
- }
- .ancestors a {
- color: #999 !important;
- }
- .clear {
- clear: both
- }
- .important {
- font-weight: bold;
- color: #950B02;
- }
- .yes-def {
- text-indent: -1000px
- }
- .type-signature {
- color: #CA79CA
- }
- .type-signature:last-child {
- color: #eee;
- }
- .name, .signature {
- font-family: Consolas, Monaco, 'Andale Mono', monospace
- }
- .signature {
- color: #fc83ff;
- }
- .details {
- margin-top: 6px;
- border-left: 2px solid #DDD;
- line-height: 20px;
- font-size: 14px;
- }
- .details dt {
- width: 120px;
- 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 {
- font-size: 14px;
- overflow: auto;
- }
- .prettyprint.source {
- width: inherit;
- line-height: 18px;
- display: block;
- background-color: #0d152a;
- color: #aeaeae;
- }
- .prettyprint code {
- line-height: 18px;
- display: block;
- background-color: #0d152a;
- color: #4D4E53;
- }
- .prettyprint > code {
- padding: 15px;
- }
- .prettyprint .linenums code {
- padding: 0 15px
- }
- .prettyprint .linenums li:first-of-type code {
- padding-top: 15px
- }
- .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 #34446B solid;
- }
- .prettyprint.linenums li.selected, .prettyprint.linenums li.selected * {
- background-color: #34446B;
- }
- .prettyprint.linenums li * {
- -webkit-user-select: text;
- -moz-user-select: text;
- -ms-user-select: text;
- user-select: text;
- }
- .params, .props {
- border-spacing: 0;
- border: 1px solid #ddd;
- border-collapse: collapse;
- border-radius: 3px;
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
- width: 100%;
- font-size: 14px;
- margin: 1em 0;
- }
- .params .type {
- white-space: nowrap;
- }
- .params code {
- white-space: pre;
- }
- .params td, .params .name, .props .name, .name code {
- color: #4D4E53;
- font-family: Consolas, Monaco, 'Andale Mono', monospace;
- font-size: 100%;
- }
- .params td, .params th, .props td, .props th {
- margin: 0px;
- text-align: left;
- vertical-align: top;
- padding: 10px;
- display: table-cell;
- }
- .params td {
- border-top: 1px solid #eee
- }
- .params thead tr, .props thead tr {
- background-color: #fff;
- font-weight: bold;
- }
- .params .params thead tr, .props .props thead tr {
- background-color: #fff;
- font-weight: bold;
- }
- .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;
- }
- /* 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);
- }
- .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;
- }
- @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 h1.page-title {
- margin: 1em 0;
- }
- #main section {
- padding: 0;
- }
- footer {
- margin-left: 0;
- }
- }
|