--- --- @import "minima"; @import "vars"; body { font-size: 14px; } a:hover { text-decoration: none; } h1, h2, h3, h4, h5, h6 { font-family: Avenir; font-weight: 900; } h1 { font-size: 32px; line-height: 0.81; margin-top: 50px; } h2 { font-size: 24px; line-height: 1.08; margin-top: 50px; } h3 { font-size: 18px; line-height: 1.44; margin-top: 30px; } select { border-radius: 5px; height: 40px; -webkit-box-sizing: border-box; box-sizing: border-box; border: 1px solid #dcdcde; -webkit-appearance: none; -moz-appearance: none; appearance: none; color: #505a72; font-family: Avenir-Roman; font-size: 14px; background-image: url(/images/arrow-down.svg); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px 6px; padding: 0 30px 0 15px; &::-ms-expand { display: none; /* hide the default arrow in ie10 and ie11 */ } &:-moz-focusring { color: transparent; text-shadow: 0 0 0 #000; } } a { color: #3bbdc4; &:visited { color: #3bbdc4; } } p { font-family: Avenir-Roman; font-size: 14px; line-height: 1.79; } code { font-family: monospace; font-size: 14px; color: #3bbdc4; background-color: #f3f5fa; border-radius: 10px; } .highlighter-rouge .highlight { background-color: #f3f5fa; font-size: 14px; border: none; } pre > code { background-color: #f3f5fa; } .page { max-width: $page-width; margin-left: auto; margin-right: auto; padding: 0 $page-padding 30px; min-height: calc(100% - 374px); color: #505a72; -webkit-box-sizing: border-box; box-sizing: border-box; @media (min-width: $md-width) { display: -webkit-box; display: -ms-flexbox; display: flex; } @media (max-width: $sm-width) { padding-left: $page-padding-small; padding-right: $page-padding-small; } .menu-open & { display: none; } } #docs-header { background-color: #f3f5fa; color: #505a72; .menu-open & { display: none; } & > div { max-width: $page-width; margin: 0 auto; padding: 37px $page-padding 38px; -webkit-box-sizing: border-box; box-sizing: border-box; @media (max-width: $sm-width) { padding-left: $page-padding-small; padding-right: $page-padding-small; } } h1 { font-size: 24px; line-height: 40px; margin: 0; display: inline-block; } .versions { float: right; position: relative; @media (max-width: $sm-width) { float: none; margin-top: 20px; } &.latest > div { display: inline-block; position: relative; & > div::after { content: "Latest"; font-family: Avenir-Roman; font-size: 14px; line-height: 1.79; color: #505a72; border-radius: 12px; background-color: #3bbdc4; color: white; display: inline-block; padding: 0 15px; height: 24px; right: 37px; top: 8px; position: absolute; pointer-events: none; } } &.latest select { padding-right: 95px; } } } .docs-menu { min-width: 260px; padding-right: 30px; @media (max-width: $md-width) { padding-right: 0; } & > ul { top: 0; position: -webkit-sticky; position: sticky; padding-top: 30px; margin-bottom: 20px; } ul { margin-left: 0; list-style: none; min-width: 0; li { padding-left: 0px; font-family: Avenir-Roman; font-size: 18px; line-height: 3.22; color: #505a72; border-bottom: 1px solid #d8d8d8; &.current { color: #3bbdc4; } &.childCurrent > a { color: #3bbdc4; } a { color: #505a72; display: block; } &.children > a { background-image: url(/images/arrow-up.svg); background-repeat: no-repeat; background-position: right 15px center; } ul { margin-bottom: 16px; } li { font-size: 14px; line-height: 2.5; border: none; } } } } #edit { float: right; font-family: Avenir-Roman; font-size: 14px; line-height: 1.79; color: #3bbdc4; margin-top: 55px; @media (max-width: $md-width) { float: none; } img { vertical-align: middle; margin-right: 5px; position: relative; top: -2px; } } .docs-content { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; min-width: 0; } .alert { padding: 20px; color: white; margin-bottom: 15px; margin-top: 100px; &.master { background-color: #f44336; } &.old { background-color: #2196f3; } }