/*--------------------- Layout and Typography ----------------------------*/ html { font-size: 1rem; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-font-variant-ligatures: none; font-variant-ligatures: none; } * { box-sizing: border-box; } body { font-family: Lato, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Tahoma, sans-serif; margin: 0; padding: 0; color: #333; background-color: #fff; } h1 { font-size: 2.5rem; } h2 { font-size: 2rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; } h6 { font-size: 1rem; } h1, h2, h3, h4, h5, h6 { margin: 1.5rem 0 1rem; text-rendering: optimizeLegibility; font-weight: 700; position: relative; } pre, tt, code, .pre, span.type, a.type { font-family: SFMono-Regular, Menlo, Consolas, "Liberation Mono", "Courier New", monospace; font-size: .9em; } #content { position: relative; } a, a:link, a:active { color: #43853d; text-decoration: none; border-radius: 2px; padding: 1px 3px; } a:hover, a:focus { color: #fff; background-color: #43853d; outline: none; } strong { font-weight: 700; } code a:hover { background-color: transparent; } em code { font-style: normal; } #changelog #gtoc { display: none; } #gtoc { margin-top: .5rem; margin-bottom: 1rem; } #gtoc ul { list-style: none; margin-left: 0; line-height: 1.5rem; } #gtoc > ul > li { display: inline; border-right: 1px #000 solid; margin-right: .4rem; padding-right: .4rem; } #gtoc > ul > li:last-child { border-right: none; margin-right: 0; padding-right: 0; } li.version-picker { position: relative; } li.version-picker:hover > a { border-radius: 2px 2px 0 0; } li.version-picker:hover > ol { display: block; z-index: 1; } li.version-picker a span { font-size: .7rem; } ol.version-picker { background-color: #fff; border: 1px solid #43853d; border-radius: 0 0 2px 2px; display: none; list-style: none; position: absolute; right: 0; top: 1.25rem; width: 100%; } #gtoc ol.version-picker li { display: block; border-right: 0; margin-right: 0; } ol.version-picker li a { border-radius: 0; display: block; margin: 0; padding: .1rem; padding-left: 1rem; } ol.version-picker li:last-child a { border-bottom-right-radius: 1px; border-bottom-left-radius: 1px; } .line { width: calc(100% - 1rem); display: block; padding-bottom: 1px; } .api_stability { color: #fff !important; margin: 0 0 1rem; padding: 1rem; line-height: 1.5; } .api_stability * { color: #fff !important; } .api_stability a { text-decoration: underline; } .api_stability a:hover, .api_stability a:active, .api_stability a:focus { background-color: rgba(255, 255, 255, .4); } .api_stability a code { background-color: transparent; } .api_stability_0 { background-color: #d60027; } .api_stability_1 { background-color: #ec5315; } .api_stability_2 { background-color: #4eba0f; } .api_metadata { font-size: .85rem; margin-bottom: 1rem; } .api_metadata span { margin-right: 1rem; } .api_metadata span:last-child { margin-right: 0; } ul.plain { list-style: none; } abbr { border-bottom: 1px dotted #454545; } p { text-rendering: optimizeLegibility; margin: 0 0 1.125rem; line-height: 1.5; } #apicontent > *:last-child { margin-bottom: 0; padding-bottom: 2rem; } table { border-collapse: collapse; margin: 0 0 1.5rem; } th, td { border: 1px solid #aaa; padding: .75rem 1rem; vertical-align: top; } th { text-align: left; } ol, ul, dl { margin: 0 0 .6rem; padding: 0; } ol ul, ol ol, ol dl, ul ul, ul ol, ul dl, dl ul, dl ol, dl dl { margin-bottom: 0; } ul, ol { margin-left: 2rem; } dl dt { position: relative; margin: 1.5rem 0 0; } dl dd { position: relative; margin: 0 1rem; } dd + dt.pre { margin-top: 1.6rem; } #apicontent { padding-top: 1rem; } #apicontent .line { width: calc(50% - 1rem); margin: 1rem 1rem .95rem; background-color: #ccc; } h2 + h2 { margin: 0 0 .5rem; } h3 + h3 { margin: 0 0 .5rem; } h2, h3, h4, h5 { position: relative; padding-right: 40px; } .srclink { float: right; font-size: smaller; } h1 span, h2 span, h3 span, h4 span { position: absolute; display: block; top: 0; right: 0; } h1 span:hover, h2 span:hover, h3 span:hover, h4 span:hover { opacity: 1; } h1 span a, h2 span a, h3 span a, h4 span a { color: #000; text-decoration: none; font-weight: 700; } pre, tt, code { line-height: 1.5rem; margin: 0; padding: 0; } .pre { line-height: 1.5rem; } pre { padding: 1rem; vertical-align: top; background-color: #f2f2f2; margin: 1rem; overflow-x: auto; } pre > code { padding: 0; } pre + h3 { margin-top: 2.225rem; } code.pre { white-space: pre; } #intro { margin-top: 1.25rem; margin-left: 1rem; } #intro a { color: #ddd; font-weight: 700; } hr { background-color: transparent; border: medium none; border-bottom: 1px solid #7a7a7a; margin: 0 0 1rem; } #toc h2 { margin: 1.5rem 0; } #toc p { margin: 0; } #toc ul a { text-decoration: none; } #toc ul li { margin-bottom: .666rem; list-style: square outside; } #toc li > ul { margin-top: .666rem; } #toc .stability_0::after { background-color: #d50027; color: #fff; content: "deprecated"; margin-left: .25rem; padding: 1px 3px; border-radius: 3px; } #apicontent li { margin-bottom: .5rem; } #apicontent li:last-child { margin-bottom: 0; } tt, code { color: #040404; background-color: #f2f2f2; border-radius: 2px; padding: 1px 3px; } .api_stability code { background-color: rgba(0, 0, 0, .1); } a code { color: inherit; background-color: inherit; padding: 0; } .type { line-height: 1.5rem; } #column1.interior { margin-left: 234px; padding: 0 2rem; -webkit-padding-start: 1.5rem; } #column2.interior { width: 234px; background-color: #333; position: fixed; left: 0; top: 0; bottom: 0; overflow-x: hidden; overflow-y: scroll; } #column2 ul { list-style: none; margin: .9rem 0 .5rem; background-color: #333; } #column2 > :first-child { margin: 1.25rem; font-size: 1.5rem; } #column2 > ul:nth-child(2) { margin: 1.25rem 0 .5rem; } #column2 > ul:last-child { margin: .9rem 0 1.25rem; } #column2 ul li { padding-left: 1.25rem; margin-bottom: .5rem; padding-bottom: .5rem; } #column2 .line { margin: 0 .5rem; background-color: #707070; } #column2 ul li:last-child { margin-bottom: 0; } #column2 ul li a { color: #ccc; border-radius: 0; } #column2 ul li a.active, #column2 ul li a.active:hover, #column2 ul li a.active:focus { color: #43853d; border-radius: 0; border-bottom: 1px solid #43853d; background-color: transparent; } #intro a:hover, #intro a:focus, #column2 ul li a:hover, #column2 ul li a:focus { color: #fff; background-color: transparent; } span > .mark, span > .mark:visited { color: #707070; position: absolute; top: 0; right: 0; } span > .mark:hover, span > .mark:focus, span > .mark:active { color: #43853d; background-color: transparent; } th > *:last-child, td > *:last-child { margin-bottom: 0; } .changelog > summary { margin: .5rem 0; padding: .5rem 0; cursor: pointer; } /* simpler clearfix */ .clearfix::after { content: "."; display: block; height: 0; clear: both; visibility: hidden; } .github_icon { vertical-align: middle; margin: -2px 3px 0 0; } @media only screen and (max-width: 1024px) { #content { overflow: visible; } #column1.interior { margin-left: 0; padding-left: .5rem; padding-right: .5rem; width: auto; overflow-y: visible; } #column2 { display: none; } } @media print { html { height: auto; font-size: .75em; } #column2.interior { display: none; } #column1.interior { margin-left: 0; padding: 0; overflow-y: auto; } .api_metadata, #toc, .srclink, #gtoc, .mark { display: none; } h1 { font-size: 2rem; } h2 { font-size: 1.75rem; } h3 { font-size: 1.5rem; } h4 { font-size: 1.3rem; } h5 { font-size: 1.2rem; } h6 { font-size: 1.1rem; } .api_stability { display: inline-block; } .api_stability a { text-decoration: none; } a { color: inherit; } #apicontent { overflow: hidden; } }