@font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 300; src: local("Source Code Pro Light"), local("SourceCodePro-Light"), url(../fonts/SourceCodePro-Light.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 700; src: local("Source Code Pro Bold"), local("SourceCodePro-Bold"), url(../fonts/SourceCodePro-Bold.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 900; src: local("Source Code Pro Black Italic"), local("SourceCodePro-BlackIt"), url(../fonts/SourceCodePro-BlackIt.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 200; src: local("Source Code Pro ExtraLight"), local("SourceCodePro-ExtraLight"), url(../fonts/SourceCodePro-ExtraLight.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 400; src: local("Source Code Pro"), local("SourceCodePro-Regular"), url(../fonts/SourceCodePro-Regular.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 300; src: local("Source Code Pro Light Italic"), local("SourceCodePro-LightIt"), url(../fonts/SourceCodePro-LightIt.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 700; src: local("Source Code Pro Bold Italic"), local("SourceCodePro-BoldIt"), url(../fonts/SourceCodePro-BoldIt.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 600; src: local("Source Code Pro Semibold Italic"), local("SourceCodePro-SemiboldIt"), url(../fonts/SourceCodePro-SemiboldIt.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 200; src: local("Source Code Pro ExtraLight Italic"), local("SourceCodePro-ExtraLightIt"), url(../fonts/SourceCodePro-ExtraLightIt.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: italic; font-weight: 400; src: local("Source Code Pro Italic"), local("SourceCodePro-It"), url(../fonts/SourceCodePro-It.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 900; src: local("Source Code Pro Black"), local("SourceCodePro-Black"), url(../fonts/SourceCodePro-Black.otf) format("opentype"); } @font-face { font-family: "Source Code Pro"; font-style: normal; font-weight: 600; src: local("Source Code Pro Semibold"), local("SourceCodePro-Semibold"), url(../fonts/SourceCodePro-Semibold.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 300; src: local("Source Sans Pro Light"), local("SourceSansPro-Light"), url(../fonts/SourceSansPro-Light.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 700; src: local("Source Sans Pro Bold"), local("SourceSansPro-Bold"), url(../fonts/SourceSansPro-Bold.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 900; src: local("Source Sans Pro Black Italic"), local("SourceSansPro-BlackIt"), url(../fonts/SourceSansPro-BlackIt.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 200; src: local("Source Sans Pro ExtraLight"), local("SourceSansPro-ExtraLight"), url(../fonts/SourceSansPro-ExtraLight.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 400; src: local("Source Sans Pro"), local("SourceSansPro-Regular"), url(../fonts/SourceSansPro-Regular.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 300; src: local("Source Sans Pro Light Italic"), local("SourceSansPro-LightIt"), url(../fonts/SourceSansPro-LightIt.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 700; src: local("Source Sans Pro Bold Italic"), local("SourceSansPro-BoldIt"), url(../fonts/SourceSansPro-BoldIt.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 600; src: local("Source Sans Pro Semibold Italic"), local("SourceSansPro-SemiboldIt"), url(../fonts/SourceSansPro-SemiboldIt.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 200; src: local("Source Sans Pro ExtraLight Italic"), local("SourceSansPro-ExtraLightIt"), url(../fonts/SourceSansPro-ExtraLightIt.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: italic; font-weight: 400; src: local("Source Sans Pro Italic"), local("SourceSansPro-It"), url(../fonts/SourceSansPro-It.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 900; src: local("Source Sans Pro Black"), local("SourceSansPro-Black"), url(../fonts/SourceSansPro-Black.otf) format("opentype"); } @font-face { font-family: "Source Sans Pro"; font-style: normal; font-weight: 600; src: local("Source Sans Pro Semibold"), local("SourceSansPro-Semibold"), url(../fonts/SourceSansPro-Semibold.otf) format("opentype"); } body { font-family: 'Source Sans Pro', Helvetica, sans-serif; } h1, h2, h3, h4, h5 { font-weight: normal; } h1 small { font-weight: 300; } code, pre { font-family: 'Source Code Pro', monospace; } a { text-decoration: none; } a:hover { text-decoration: underline; } .hero { width: 500px; margin: 0 auto; text-align: center; } .hero.small img { display: inline-block; width: 60px; height: 60px; vertical-align: middle; } .hero.big { margin-bottom: 80px; } .tabs { display: flex; width: 800px; margin: 0 auto; box-sizing: border-box; } .tabs > div { position: relative; flex: 1; text-align: center; } .tabs > div:last-child { border: 0; } .tabs > div a { display: inline-block; font-weight: 300; color: #777; padding: 0.4em 1.2em ; text-decoration: none; } .tabs > div.current a { color: #444; } .tabs > div.current a:before { content: '\25b6 '; margin-right: 5px; } .tabs > div a:hover { color: #333; } .nav-content-unit { display: flex; width: 800px; margin: 0px auto; border: 1px solid #ddd; box-shadow: 0 2px 3px rgba(0,0,0,0.05); box-sizing: border-box; } .nav { background: #fafafa; flex: 0 0 210px; list-style: none; padding: 0; margin: 0; border-right: 1px solid #ccc; } .nav li { margin: 0.5em; border-bottom: 1px solid #ddd; } .nav li.current:before { content: '\2022'; padding-left: 0.5em; } .nav li:last-child { border-bottom: 0 } .nav li a { display: inline-block; color: #555; padding: 0.5em 0.5em 1em 0.5em; text-decoration: none; } .nav li a:hover { color: #999; } .content { flex: 1; padding: 2em 1em 2em 2em; } .content > :first-child { padding-top: 0; margin-top: 0; } .footer { display: flex; width: 800px; margin: 0px auto 80px; } .footer-section { list-style: none; padding: 1.5em 2em; margin: 0; } .footer-section li { line-height: 1.9; } .footer-section li:first-child { text-transform: uppercase; font-size: 0.8em; font-weight: bold; color: #555; } .footer-section p { color: gray; margin: 0; } .footer-section a { text-decoration: none; color: gray; font-weight: 300; } .footer-section a:hover { color: #555; } a.cta { display: inline-block; padding: 0.25em 0.75em; background: #4E9121; color: #fff; font-size: 1.5em; font-weight: 300; border-radius: 3px; margin: 1em 0; } a.cta:hover { text-decoration: none; background: #3E8111; } .next:before { content: 'Next: '; } .see-also { padding: 0; margin: 2em 0 0; list-style: none; } .see-also:before { content: 'See also'; font-size: 0.8em; font-weight: bold; color: #555; text-transform: uppercase; } .see-also li { margin-left: 1em; padding: 0.25em 0.25em 0; } .code-examples .head { display: flex; color: #333; } .code-examples .tab { cursor: pointer; padding: 0.1em 0.75em; border-top-left-radius: 2px; border-top-right-radius: 2px; } .code-examples .tab:hover { background: #F9F7F6; } .code-examples .tab.current { background: #F3EFEC; color: black; text-shadow: 0 1px white; } .code-examples .body { border: 1px solid #ccc; padding: 1em; background: #F5F2F0; box-shadow: 0 2px 3px rgba(0,0,0,0.05); } .code-examples pre { display: none; margin: 0 !important; padding: 0 !important; font-size: 14px; } .code-examples pre.current { display: block; }