website/_sass/_desktop.sass

312 lines
4.2 KiB
Sass
Raw Normal View History

2016-03-02 20:42:09 +00:00
$main-max-width: 1200px
2016-03-08 08:31:56 +00:00
$vendor-strip-height: 44px
2016-03-02 20:42:09 +00:00
$video-section-height: 550px
@media screen and (min-width: 1025px)
#hamburger
display: none
ul.global-nav
display: inline-block
#docs #vendorStrip #searchBox:before
top: 15px
2016-03-08 06:27:22 +00:00
#vendorStrip
2016-03-08 08:31:56 +00:00
height: $vendor-strip-height
line-height: $vendor-strip-height
2016-03-08 06:27:22 +00:00
2016-03-14 18:49:45 +00:00
li
a.YAH
&:after
content: ""
display: block
position: absolute
left: 0
bottom: 0
width: 100%
height: 4px
background-color: $blue
2016-03-08 08:31:56 +00:00
#searchBox
2016-03-08 06:27:22 +00:00
float: right
2016-03-08 08:31:56 +00:00
#home
#hero
#vendorStrip
display: block
#docs
#hero
h1, h5
text-align: left
2016-03-08 08:31:56 +00:00
#vendorStrip
ul
float: left
#searchBox
float: right
width: 320px
2016-03-08 06:27:22 +00:00
#search
vertical-align: middle
.flyout-button
display: none
.logo
position: relative
float: left
display: block
width: 180px
height: 88px
top: 0
left: 0
transform: none
background-image: url(../images/nav_logo.svg)
&.flip-nav, &.open-nav
.logo
background-image: url(../images/nav_logo2.svg)
2016-03-09 18:59:50 +00:00
#encyclopedia
padding: 50px 50px 100px 100px
2016-03-29 18:52:04 +00:00
clear: both
2016-03-08 06:27:22 +00:00
2016-03-02 20:42:09 +00:00
#docsToc
position: relative
float: left
padding: 0 20px
2016-03-02 20:42:09 +00:00
left: 0
width: 350px
z-index: auto
.push-menu-close-button
display: none
2016-03-02 20:42:09 +00:00
#docsContent
width: calc(100% - 400px)
2016-03-09 18:59:50 +00:00
#editPageButton
right: -25px
2016-03-03 22:23:48 +00:00
section, header, footer
main
max-width: $main-max-width
header, #vendorStrip, #encyclopedia, #hero h1, #hero h5, #docs #hero h1, #docs #hero h5,
#community #hero h1, .gridPage #hero h1, #community #hero h5, .gridPage #hero h5
padding-left: 100px
padding-right: 100px
2016-03-02 20:42:09 +00:00
2016-03-28 19:49:21 +00:00
#home
section, header, footer
main
max-width: 1000px
2016-03-02 20:42:09 +00:00
#oceanNodes
main
position: relative
2016-03-18 00:16:55 +00:00
max-width: 830px
2016-03-02 20:42:09 +00:00
&:nth-child(1)
2016-03-18 00:16:55 +00:00
max-width: 1000px
2016-03-28 19:49:21 +00:00
padding-right: 475px
2016-03-18 00:16:55 +00:00
h3, p
text-align: left
2016-03-02 20:42:09 +00:00
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
2016-03-28 19:49:21 +00:00
img
max-width: 425px
2016-03-18 00:16:55 +00:00
//.content
// width: 50%
2016-03-02 20:42:09 +00:00
#video
height: $video-section-height
position: relative
background-image: url(../images/kub_video_banner.jpg)
2016-03-02 20:42:09 +00:00
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
2016-09-26 21:24:41 +00:00
width: calc(25% - 18px)
2016-03-02 20:42:09 +00:00
div + div
margin-left: 20px
2016-09-26 23:51:53 +00:00
//
//div:nth-child(3), div:nth-child(4)
// margin-top: 0
2016-03-07 20:45:19 +00:00
2016-09-26 21:24:41 +00:00
//#home #bigSocial
// div
// width: calc(33% - 15px)
//
// div:nth-child(3)
// margin-top: inherit
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
overflow: hidden
margin-bottom: 20px
2016-03-07 20:45:19 +00:00
a
2016-10-21 16:17:28 +00:00
width: 16.65%
float: left
2016-03-07 20:45:19 +00:00
font-size: 24px
font-weight: 300
2016-10-21 16:17:28 +00:00
white-space: nowrap
2016-03-07 20:45:19 +00:00
.social
padding: 0 30px
max-width: 1200px
2016-03-07 20:45:19 +00:00
div
2016-03-07 20:45:19 +00:00
float: left
div:last-child
2016-03-07 20:45:19 +00:00
float: right
2016-03-07 20:45:19 +00:00
#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%
2016-09-30 17:21:03 +00:00
#community, .gridPage
#hero
text-align: left
h1
padding: 20px 100px
#tryKubernetes
width: auto
background-color: $blue
2016-09-26 19:55:13 +00:00
padding: 0 20px
#bigSocial
div
2016-09-26 21:24:41 +00:00
width: calc(25% - 18px)
2016-09-26 23:51:53 +00:00
#home #caseStudiesWrapper
div
width: 24%
min-height: 260px