123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412 |
- @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700,300); // Open Sans font
- @import url(http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700); // Condensed
- @mixin retina-background($url, $type:png) {
- background-image: url("#{$url}.#{$type}");
- background-image: -webkit-image-set(url("#{$url}.#{$type}") 1x,
- url("#{$url}@2x.#{$type}") 2x);
- }
- body {
- background-color: #f2f4f6;
- font-family: 'Open Sans', sans-serif;
- text-align: center;
- }
- h1 {
- @include retina-background("images/logo_big");
- width: 385px;
- height: 81px;
- text-indent: -9999px;
- white-space: nowrap;
- margin: 50px auto;
- @media all and (max-width: 420px) {
- width: 300px;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center;
- }
- @media all and (max-width: 330px) {
- width: 250px;
- }
- }
- h2 {
- font-size: 20px;
- color: #A9B2BC;
- line-height: 25px;
- text-transform: uppercase;
- font-weight: 300;
- text-align: center;
- display: block;
- }
- h3 {
- font-size: 28px;
- color: #C7CCD1;
- text-transform: uppercase;
- font-family: 'Open Sans Condensed', sans-serif;
- margin-top: 100px;
- text-align: center;
- position: relative;
- &#download-section {
- margin-top: 50px;
- padding-top: 40px;
- }
- &::after {
- content: "";
- background-color: #e2e5e8;
- height: 4px;
- width: 700px;
- left: 50%;
- margin-left: -350px;
- position: absolute;
- margin-top: -50px;
- border-radius: 2px;
- @media all and (max-width: 740px) {
- width: auto;
- left: 20px;
- right: 20px;
- margin-left: 0;
- }
- }
- }
- a {
- text-decoration: none;
- }
- p {
- max-width: 826px;
- margin: 30px auto;
- font-size: 17px;
- font-weight: 300;
- color: #848D94;
- line-height: 25px;
- text-align: left;
- &.center {
- text-align: center;
- }
- strong {
- color: #8A8F94;
- font-weight: 600;
- }
- a {
- color: #9ECADF;
- font-weight: 600;
- &:hover {
- text-decoration: underline;
- }
- &.twitter {
- color: #5eaade;
- }
- &.dribbble {
- color: #f26798;
- }
- &.github {
- color: #323131;
- }
- }
- }
- button, .button {
- $btnBlue: #AEDEF4;
- $btnGray: #D0D0D0;
- background-color: $btnBlue;
- color: white;
- border: none;
- box-shadow: none;
- font-size: 17px;
- font-weight: 500;
- font-weight: 600;
- border-radius: 3px;
- padding: 15px 35px;
- margin: 26px 5px 0 5px;
- cursor: pointer;
- &:focus {
- outline: none;
- }
- &:hover {
- background-color: darken($btnBlue, 3%);
- }
- &:active {
- background-color: darken($btnBlue, 10%);
- }
- &.cancel {
- background-color: $btnGray;
- &:hover {
- background-color: darken($btnGray, 3%);
- }
- &:active {
- background-color: darken($btnGray, 10%);
- }
- }
- &.download {
- position: fixed;
- right: 30px;
- top: 0;
- background-color: rgba(white, 0.9);
- color: #ABCADA;
- font-weight: 500;
- text-transform: uppercase;
- z-index: 3;
- @media all and (max-width: 1278px) {
- display: none;
- }
- }
- }
- .center-container {
- max-width: 700px;
- margin: 70px auto;
- }
- pre {
- background-color: #49483e;
- color: #f8f8f2;
- padding: 10px;
- border-radius: 5px;
- white-space: pre-line;
- text-align: left;
- font-size: 14px;
- max-width: 600px;
- .str {
- color: #e6db74;
- }
- .func {
- color: #66d9ef;
- }
- .val {
- color: #a381ff;
- }
- .tag {
- color: #e92772;
- }
- .attr {
- color: #a6e22d;
- }
- }
- .showcase {
- background-color: #eceef0;
- padding: 20px;
- display: inline-block;
- width: 383px;
- vertical-align: top;
- position: relative;
- @media all and (max-width: 865px) {
- margin: 5px auto;
- padding: 46px 20px;
- }
- @media all and (max-width: 440px) {
- width: auto;
- }
- h4 {
- font-size: 16px;
- color: #BCBCBC;
- line-height: 22px;
- margin: 0 auto;
- font-weight: 400;
- }
- &.sweet h4 {
- width: 117px;
- height: 25px;
- margin-top: -3px;
- text-indent: -9999px;
- @include retina-background("images/logo_small");
- }
- h5 {
- margin-bottom: -7px;
- text-align: left;
- font-weight: 500;
- text-transform: uppercase;
- color: rgb(194, 194, 194);
- }
- button {
- margin-bottom: 10px;
- }
- .vs-icon {
- @include retina-background("images/vs_icon");
- width: 69px;
- height: 69px;
- position: absolute;
- right: -34px;
- top: 60px;
- z-index: 2;
- @media all and (max-width: 865px) {
- margin: 5px auto;
- right: auto;
- left: 50%;
- margin-left: -35px;
- top: auto;
- bottom: -35px;
- }
- }
- }
- ul.examples {
- list-style-type: none;
- width: 700px;
- margin: 0 auto;
- text-align: left;
- padding-left: 0;
- @media all and (max-width: 758px) {
- width: auto;
- }
- li {
- padding-left: 0;
- }
- .ui, pre {
- display: inline-block;
- vertical-align: top;
- @media all and (max-width: 758px) {
- display: block;
- max-width: none;
- margin: 0 auto;
- }
- }
- .ui {
- width: 300px;
- text-align: center;
- button {
- margin-top: 12px;
- }
- p {
- text-align: center;
- margin-bottom: 0;
- }
- }
- pre {
- max-width: 370px;
- margin-top: 67px;
- @media all and (max-width: 758px) {
- margin-top: 16px !important;
- margin-bottom: 60px;
- }
- }
- .warning pre {
- margin-top: 93px;
- }
- }
- ol {
- max-width: 700px;
- margin: 70px auto;
- list-style-position: inside;
- padding-left: 0;
- li {
- color: #A7ADB2;
- p {
- margin-bottom: 10px;
- }
- }
- }
- table {
- width: 700px;
- font-size: 14px;
- color: #8a8f94;
- margin: 10px auto;
- text-align: left;
- border-collapse: collapse;
- @media all and (max-width: 750px) {
- width: auto;
- margin: 10px 20px;
- }
- th {
- background-color: white;
- padding: 9px;
- color: rgb(172, 185, 190);
- font-weight: 400;
- text-align: center;
- position: relative;
- .border-left, .border-right {
- position: absolute;
- background-color: white;
- border-radius: 50%;
- top: 0;
- left: -17px;
- width: 37px;
- height: 37px;
- }
- .border-right {
- left: auto;
- right: -17px;
- }
- @media all and (max-width: 750px) {
- &:nth-child(2) {
- display: none;
- }
- }
- }
- td {
- padding: 10px 20px;
- vertical-align: top;
- &:first-child {
- padding-left: 0px;
- }
- &:last-child {
- padding-right: 0px;
- }
- @media all and (max-width: 750px) {
- &:nth-child(2) {
- display: none;
- }
- }
- @media all and (max-width: 360px) {
- padding: 10px 4px;
- b {
- font-size: 13px;
- }
- }
- }
- }
- footer {
- margin-top: 100px;
- padding-bottom: 30px;
- color: #9A999F;
- display: inline-block;
- position: relative;
- color: gray;
- font-weight: 400;
- color: rgb(147, 161, 170);
- font-weight: 300;
- .te-logo {
- text-indent: -99999px;
- background-size: contain;
- background-repeat: no-repeat;
- background-position: center center;
- height: 16px;
- width: 16px;
- display: inline-block;
- margin-right: 5px;
- background-image: url("images/te-logo-small.svg");
- position: absolute;
- left: -22px;
- top: 3px;
- }
- }
|