123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330 |
- .page-index .MainMenu {
- text-align: center;
- li {
- margin: 0.3em 0;
- @media #{$screen-medium} {
- display: inline-block;
- position: relative;
- line-height: 40px;
- margin: 0;
- }
- &:last-child .nav-link {
- margin-right: 0;
- }
- }
- }
- .page-index .MainLogo {
- display: none;
- }
- .page-index .MainMenu-search {
- display: none;
- }
- .IndexHero {
- text-align: center;
- position: relative;
- max-width: 950px;
- margin: auto;
- padding: 0 20px;
- }
- .IndexHero-logo {
- display: inline-block;
- vertical-align: middle;
- max-width: 80px;
- @media #{$screen-medium} {
- max-width: 130px;
- }
- }
- .IndexHero-title {
- display: inline-block;
- vertical-align: middle;
- padding-left: 15px;
- padding-top: 10px;
- font-family: $fontFamily-logo;
- font-weight: 400;
- font-size: 2.5em;
- margin: 0;
- margin-bottom: 20px;
- @media #{$screen-medium} {
- padding-left: 20px;
- font-size: 3.5em;
- }
- }
- .IndexHero-tagline {
- font-size: $fontSize-m;
- line-height: 1.3;
- font-weight: normal;
- text-align: center;
- margin: 0 auto;
- margin-top: 10px;
- margin-bottom: 40px;
- color: $color-light;
- @media #{$screen-medium} {
- font-size: $fontSize-l;
- line-height: 1.4;
- }
- }
- .IndexHero-taglinePart {
- transition: all ease-in-out 0.6s;
- opacity: 0;
- &.is-visible { opacity: 1; }
- }
- .IndexHero-taglineList {
- display: none;
- }
- .IndexAbout {
- max-width: 760px;
- margin: 3em auto;
- padding: 0 20px;
- font-size: 17px;
- line-height: 1.3;
- text-align: center;
- @media #{$screen-medium} {
- text-align: left;
- font-size: 19px;
- line-height: 1.5;
- }
- a {
- font-weight: bold;
- color: rgba($color-black, 0.8);
- &:hover {
- color: $color-black;
- }
- }
- }
- .IndexAbout-item {
- position: relative;
- margin-bottom: 80px;
- }
- .IndexAbout-item:first-child {
- @media #{$screen-medium} {
- padding-left: 130px;
- .IndexAbout-icon {
- top: 20px;
- left: 0;
- }
- }
- }
- .IndexAbout-item:nth-child(2) {
- @media #{$screen-medium} {
- padding-right: 150px;
- .IndexAbout-icon {
- top: 20px;
- right: 0;
- }
- }
- }
- .IndexAbout-icon {
- max-width: 90px;
- @media #{$screen-medium} {
- position: absolute;
- }
- }
- .IndexAbout-item h2 {
- margin-bottom: 0.1em;
- }
- .IndexAbout-item p {
- margin-top: 0;
- }
- .GetStartedBtn {
- font-size: 1.2em;
- text-decoration: none;
- text-transform: uppercase;
- letter-spacing: 1px;
- display: inline-block;
- padding: 12px 40px;
- border-radius: 25px;
- transition: all .3s ease;
- background-color: $color-primary;
- color: $color-white;
- margin-top: 1.2em;
- margin-bottom: 2em;
- &:hover { @include zoom; }
- }
- .TryMe-line {
- font-size: 12px;
- font-weight: bold;
- text-transform: uppercase;
- letter-spacing: 1px;
- text-align: center;
- margin: 0;
- padding: 0;
- position: relative;
- top: -20px;
- }
- .TryMe-btn {
- @include reset-button();
- font-size: 12px;
- display: inline-block;
- padding: 6px 10px;
- border-radius: 25px;
- transition: all .3s ease;
- background-color: $color-primary;
- color: $color-white;
- cursor: pointer;
- margin-left: 5px;
- &:hover { background-color: darken($color-primary, 5%); }
- }
- .IndexExample {
- text-align: center;
- max-width: 1200px;
- margin: 0 1em 3em;
- @media #{$screen-medium} {
- margin: 0 auto 3em;
- }
- code, pre {
- padding: 0;
- margin: 0;
- background-color: transparent;
- white-space: pre;
- font-family: 'Roboto Mono', Monaco, courier, monospace;
- font-size: 12px;
- height: auto;
- line-height: 18px;
- }
- figure.highlight {
- margin: 0;
- box-shadow: none;
- background-color: transparent;
- }
- .sign {
- display: inline-block;
- vertical-align: middle;
- height: 10em;
- line-height: 9em;
- padding: 0 .5em;
- font-weight: 600;
- color: $color-light;
- }
- }
- .IndexSection-title {
- font-size: 25px;
- margin-bottom: 0.7em;
- }
- .IndexExample-block {
- // padding: 7px;
- text-align: left;
- // background-color: $color-codebg;
- // border-radius: $size-radius;
- overflow: hidden;
- max-width: 500px;
- margin: auto;
- font-size: 1em;
- @media #{$screen-medium} {
- max-width: 100%;
- width: 47%;
- display: inline-block;
- vertical-align: middle;
- // height: 250px;
- }
- }
- .IndexExample-video {
- max-width: 100%;
- }
- .IndexExample-block img {
- margin: auto;
- }
- .IndexActivity {
- max-width: 760px;
- margin: 3em auto;
- padding: 0 20px;
- h2 {
- text-align: center;
- }
- }
- .IndexDesignGoals {
- padding: 4em 1em;
- background-color: $color-primary;
- color: $color-white;
- overflow: hidden;
- @media #{$screen-medium} {
- padding: 4em 0;
- }
- h2 {
- margin-top: 0;
- color: $color-white;
- font-size: 1.5em;
- text-align: center;
- }
- ul {
- line-height: 1.8em;
- font-size: 1.15em;
- max-width: 640px;
- margin: 0 auto;
- padding: 0;
- list-style-type: none;
- }
- li {
- background: svg-load('check.svg', fill=#{$color-white}) left 5px no-repeat;
- background-size: 24px 24px;
- padding-left: 40px;
- margin-bottom: 0.5em;
- }
- }
- .IndexFooter {
- text-align: center;
- color: $color-white;
- padding: 4em 1em;
- background-color: darken($color-primary, 15%);
- @media #{$screen-medium} {
- padding: 4em 0;
- }
- a {
- color: $color-white;
- text-decoration: underline;
- }
- p { margin: .3em 0; }
- }
|