website/_sass/_desktop.sass

225 lines
3.0 KiB
Sass
Raw Normal View History

2016-03-02 20:42:09 +00:00
$main-max-width: 1200px
$video-section-height: 550px
@media screen and (min-width: 1025px)
2016-03-08 06:27:22 +00:00
#vendorStrip
white-space: nowrap
li + li, #search
margin-left: 60px
#search
display: inline-block
position: relative
float: right
width: 24%
min-width: 250px
padding: 0 10px
margin: 8px 30px 0 0
height: 30px
line-height: 30px
border: 1px solid $light-grey
font-size: 16px
2016-03-02 20:42:09 +00:00
#docsToc
position: relative
float: left
left: 0
#docsContent
width: calc(100% - 400px)
2016-03-03 22:23:48 +00:00
section, header, footer
main
max-width: $main-max-width
2016-03-02 20:42:09 +00:00
#oceanNodes
main
position: relative
max-width: $main-max-width
&:nth-child(1)
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
.content
width: 50%
#video
height: $video-section-height
position: relative
background-image: url(../../images/kub_video_thm.jpg)
background-position: center center
background-size: cover
2016-03-07 21:24:07 +00:00
2016-03-02 20:42:09 +00:00
#talkToUs
2016-03-07 20:45:19 +00:00
h4
br
display: block
2016-03-02 20:42:09 +00:00
#bigSocial
div
width: calc(25% - 15px)
div + div
margin-left: 20px
div:nth-child(3), div:nth-child(4)
margin-top: 0
2016-03-07 20:45:19 +00:00
// FOOTER
footer
width: 100%
background-image: url(../images/texture.png)
background-color: $dark-grey
main
padding: 20px 0
nav
a
//width: 100%
text-align: center
display: inline-block
margin: 10px 0
font-size: 24px
font-weight: 300
color: white
text-decoration: none
.social
position: relative
margin: 20px 0
a
float: left
a + a
margin-left: 10px
label
float: right
width: auto
display: inline-block
height: 50px
line-height: 50px
font-weight: 100
white-space: nowrap
input
margin-left: 8px
max-width: none
#search, #wishField
background-color: transparent
padding: 10px
font-size: 16px
font-weight: 100
color: white
border: 1px solid white
transition: 0.3s
&:focus
background-color: $light-grey
color: $dark-grey
.social a
display: inline-block
background-image: url(../images/social_sprite.png)
background-repeat: no-repeat
background-size: auto
width: 50px
height: 50px
border-radius: 5px
margin-right: 10px
&:hover
background-color: #fff
span
position: absolute
display: block
height: 0
overflow: hidden
a.twitter
background-position: 0 0
&:hover
background-position: 0 100%
a.stack-overflow
background-position: -50px 0
&:hover
background-position: -50px 100%
a.slack
background-position: -100px 0
&:hover
background-position: -100px 100%
a.github
background-position: -150px 0
&:hover
background-position: -150px 100%
a.mailing-list
background-position: -200px 0
&:hover
background-position: -200px 100%
a.calendar
background-position: -250px 0
&:hover
background-position: -250px 100%
#community
#hero
text-align: left
h1
padding: 20px
#tryKubernetes
width: auto
background-color: $blue
padding: 0 20px