123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- .intro-content
- margin-left: auto
- margin-right: auto
- max-width: 640px
- .intro-title
- font-weight: $weight-normal
- line-height: 1.375
- strong
- font-weight: $weight-semibold
- .intro-ghbtns
- height: 30px
- // margin-bottom: 24px
- margin-bottom: 46px
- .intro-npm
- background: $black-ter
- border-radius: $radius-large
- color: $white
- display: flex
- font-size: 15px
- justify-content: space-between
- line-height: 20px
- padding: 15px 25px
- position: relative
- code
- font-size: inherit
- -moz-osx-font-smoothing: grayscale
- -webkit-font-smoothing: antialiased
- .intro-npm-copy
- border-radius: $radius
- color: $yellow
- cursor: pointer
- margin: -2px -7px -3px
- padding: 2px 7px 3px
- &:hover
- background-color: $yellow
- color: $black-ter
- &.is-success,
- &.is-error
- color: $white
- pointer-events: none
- text-decoration: none
- &.is-success
- background-color: $green
- &.is-error
- background-color: $red
- \::-moz-selection
- background: $yellow
- color: $black-ter
- \::selection
- background: $yellow
- color: $black-ter
- .intro-buttons
- margin-top: 1.5rem
- .button
- padding-left: 1.375em
- padding-right: 1.375em
- .intro-video
- background-color: $white
- margin-left: auto
- margin-right: auto
- max-width: 640px
- position: relative
- &.has-loaded
- .intro-spinner
- display: none
- .intro-iframe
- opacity: 1
- @keyframes introSpinner
- from
- opacity: 0
- transform: scale(1.14)
- to
- opacity: 1
- transform: scale(1)
- .intro-spinner,
- .intro-shadow
- animation-duration: 500ms
- animation-easing-function: ease-out
- animation-fill-mode: both
- transform-origin: center
- .intro-spinner
- +overlay
- animation-name: introSpinner
- &::before
- +loader
- border-bottom-color: $primary
- border-left-color: $primary
- height: 1.5em
- left: calc(50% - 0.75em)
- position: absolute
- top: calc(50% - 0.75em)
- width: 1.5em
- @keyframes introShadow
- from
- opacity: 0
- transform: scale(0.86)
- to
- opacity: 1
- transform: scale(1)
- .intro-shadow
- +overlay
- background-color: #776e70
- background-position: center center
- background-repeat: no-repeat
- background-size: cover
- box-shadow: 0 1.5rem 3rem rgba(#000, 0.2)
- animation-name: introShadow
- .intro-iframe
- opacity: 0
- // padding-top: 52.8125%
- padding-top: 56.25%
- position: relative
- transition-duration: 500ms
- transition-property: opacity
- iframe
- height: 100%
- left: 0
- position: absolute
- top: 0
- width: 100%
- .intro-author
- color: $text-light
- font-size: $size-small
- margin-top: 1rem
- text-align: center
- a
- color: $text-strong
- &:hover
- text-decoration: underline
- span
- opacity: 0.5
- transition: 100ms opacity
- &:hover
- opacity: 1
- +mobile
- .intro-buttons
- .button
- display: flex
- width: 100%
- &.is-light
- margin-top: 0.5rem
- +tablet
- .intro-title
- font-size: 2.25rem
- .intro-buttons
- align-items: center
- display: flex
- justify-content: space-between
- +touch
- .intro-column.is-video,
- .intro-carbon
- margin-top: 3rem
- +desktop
- .intro-columns
- display: flex
- justify-content: center
- .intro-column
- width: calc(50% - 1.5rem)
- &.is-content
- margin-right: 1.5rem
- &.is-video
- margin-left: 1.5rem
- .intro-content
- max-width: 440px
- .intro-title
- margin-top: -11px
- &:not(:last-child)
- margin-bottom: 20px
- .intro-carbon
- margin-top: 3rem
- #grid
- .notification
- padding-left: 0
- padding-right: 0
- #message
- display: none
- #markup
- .highlight pre
- max-height: none
|