@import (less) "normalize.css"; @import (less) "animate.css"; @import (less) "jquery.stackbox.css"; @import (less) "prism.css"; @fontFamily: Droid Sans, sans-serif; *, *:after, *:before { box-sizing: border-box; } html { height: 100%; } body { margin: 0; height: 100%; top: 0; left: 0; right: 0; bottom: 0; position: absolute; overflow: auto; background: rgb(255,255,255); /* Old browsers */ background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%); /* FF3.6+ */ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(47%,rgba(246,246,246,1)), color-stop(100%,rgba(237,237,237,1))); /* Chrome,Safari4+ */ background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Chrome10+,Safari5.1+ */ background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* Opera 11.10+ */ background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* IE10+ */ background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(246,246,246,1) 47%,rgba(237,237,237,1) 100%); /* W3C */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */ background-attachment: fixed; background-size: cover; color: #666; font-family: @fontFamily; } form { .input-group { padding: 20px; label { width: 200px; display: inline-block; font-size: 0.9em; font-weight: 300; &:after { content: ":"; } } } } a { color: #161C30; text-decoration: none; transition: color .3s ease-in-out; background: transparent; text-shadow: 1px 1px 1px rgba(56, 56, 56, 0.34); display: inline-block; &:hover { color: #3D0787; text-decoration: underline; } &.show-me { font-size: 1.3em; } } .hidden { display: none; } .btn { display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; cursor: pointer; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background-image: none; border: 1px solid rgba(0, 0, 0, 0); border-radius: 4px; transition: all .3s ease-in-out; &:hover, &:focus { text-decoration: none; } } .btn-default { color: #333; background-color: #FFF; border-color: #CCC; &:hover { color: #333; background-color: #E6E6E6; border-color: #ADADAD; } } .btn-primary { color: #fff; background-color: #E88F0C; border-color: #995E06; &:hover, &.active { color: #fff; background-color: #A06814; border-color: #66420C; } } .stackboxes { .stackbox { .stackbox-header, .stackbox-footer { background: #f5f5f5; } .stackbox-header { border-top-left-radius: 6px; border-top-right-radius: 6px; } .stackbox-footer { border-bottom-left-radius: 6px; border-bottom-right-radius: 6px; } .stackbox-body { padding: 30px; } .stackbox-close .close { top: -2px; right: -1px; } } } .pull-right { float: right; } .center { text-align: center; } section.container { &:nth-of-type(2) { padding-top: 10px; } text-align: center; padding-left: 5px; section.content { text-align: left; padding-left: 20px; h4 { text-align: left; font-size: 1.1em; span.number { border: 1px solid rgba(0,0,0,0.32); border-radius: 100px; display: inline-block; font-size: 0.6em; background: #f5f2f0; color: #333; margin-right: 10px; float: left; vertical-align: text-top; } span.text { margin-top: 4px; display: inline-block; } } } ul { width: 80%; padding: 0; margin: 0 auto; margin-top: 100px; li { right: 0; left: 0; list-style-type: none; } } ul.examples-list { margin-top: 0; li { list-style-type: none; padding: 5px; a { text-decoration: underline; &:hover { text-decoration: none; } } } } ul.browser-list { margin-top: 10px; display: inline-block; display: flex; justify-content: space-between; li { float: left; } } h1, h2 { text-shadow: 1px 1px 2px rgba(56, 56, 56, 0.54); } h3 { background: rgba(161, 219, 247, 1); padding: 10px; border-radius: 5px; margin: 30px 10px 30px 10px; font-size: 1.5em; color: #575757; } h4 { font-family: @fontFamily; font-size: 1.3em; } @media (min-width: 200px) { h1, h2 { font-size: 1em; } h3 { font-size: 0.9em; } font-size: 0.8em; section.content h4 span.number{ padding: 6px 0 0 7px; width: 24px; height: 24px; } } @media (min-width: 500px) { h1, h2 { font-size: 2em; } h3 { font-size: 1.1em; } font-size: 0.9em; section.content h4 span.number{ padding: 6px 0 0 7px; width: 24px; height: 24px; } } @media (min-width: 800px) { h1, h2 { font-size: 3em; } h3 { font-size: 1.5em; } font-size: 1em; section.content h4 span.number{ padding: 8px 0 0 11px; width: 30px; height: 30px; } } .api-wrapper { padding: 10px; } table { width: 100%; border: 1px solid rgba(0, 0, 0, 0.21); table-layout: auto; tr { background-color: #fff; td, th { padding: 6px; text-align: left; font-family: Inconsolata; border: 1px solid rgba(0, 0, 0, 0.21); .btn { font-family: @fontFamily; } } th { font-family: inherit; font-weight: bold; font-size: 1.1em; background-color: #3d3d3e; color: #fff; } &:nth-child(4n+1) { background-color: #EBEBEB; } &.example, &.example-empty { display: none; } } } }