Convert all Sass to line spacing (#11463)

This commit is contained in:
Luc Perkins
2019-01-16 10:13:05 -08:00
committed by Kubernetes Prow Robot
parent 52daf4d171
commit 49dfdd8c0a
11 changed files with 1739 additions and 1754 deletions
+1271 -1286
View File
File diff suppressed because it is too large Load Diff
+247 -247
View File
@@ -3,294 +3,294 @@ $vendor-strip-height: 44px
$video-section-height: 550px
@media screen and (min-width: 1025px)
#hamburger
display: none
#hamburger
display: none
ul.global-nav
display: inline-block
#docs #vendorStrip #searchBox:before
top: 15px
#vendorStrip
height: $vendor-strip-height
line-height: $vendor-strip-height
li
a.YAH
&:after
content: ""
display: block
position: absolute
left: 0
bottom: 0
width: 100%
height: 4px
background-color: $blue
#searchBox
float: right
#home
#hero
#vendorStrip
display: block
ul.global-nav
display: inline-block
#docs #vendorStrip #searchBox:before
top: 15px
#vendorStrip
height: $vendor-strip-height
line-height: $vendor-strip-height
li
a.YAH
&:after
content: ""
display: block
position: absolute
left: 0
bottom: 0
width: 100%
height: 4px
background-color: $blue
#searchBox
float: right
#home
#hero
#vendorStrip
display: block
#docs
#hero
h1, h5
text-align: left
#docs
#hero
h1, h5
text-align: left
#vendorStrip
ul
float: left
#vendorStrip
ul
float: left
#searchBox
float: right
width: 250px
#searchBox
float: right
width: 250px
#search
vertical-align: middle
#search
vertical-align: middle
.flyout-button
display: none
.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)
.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)
&.flip-nav, &.open-nav
.logo
background-image: url(../images/nav_logo2.svg)
#encyclopedia
padding: 50px 50px 100px 100px
clear: both
#encyclopedia
padding: 50px 50px 100px 100px
clear: both
#docsToc
position: relative
float: left
padding: 0 20px
left: 0
width: 350px
z-index: auto
.push-menu-close-button
display: none
#docsContent
width: calc(100% - 400px)
#editPageButton
right: -25px
#docsToc
position: relative
float: left
padding: 0 20px
left: 0
width: 350px
z-index: auto
.push-menu-close-button
display: none
#docsContent
width: calc(100% - 400px)
#editPageButton
right: -25px
section, header, footer
main
max-width: $main-max-width
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
#vendorStrip
padding-right: 10px
#home
section, header, footer
main
max-width: 1000px
#oceanNodes
main
position: relative
max-width: 830px
&:nth-child(1)
max-width: 1000px
padding-right: 475px
h3, p
text-align: left
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
img
max-width: 425px
//.content
// width: 50%
#video
height: $video-section-height
position: relative
background-position: center center
background-size: cover
#talkToUs
h4
br
display: block
#bigSocial
div
width: calc(25% - 18px)
div + div
margin-left: 20px
//
//div:nth-child(3), div:nth-child(4)
// margin-top: 0
//#home #bigSocial
// div
// width: calc(33% - 15px)
//
// div:nth-child(3)
// margin-top: inherit
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
#vendorStrip
padding-right: 10px
#home
section, header, footer
main
max-width: 1000px
#oceanNodes
main
position: relative
max-width: 830px
&:nth-child(1)
max-width: 1000px
padding-right: 475px
h3, p
text-align: left
.image-wrapper
position: absolute
max-width: 48%
transform: translateY(-50%)
img
max-width: 425px
//.content
// width: 50%
#video
height: $video-section-height
position: relative
background-position: center center
background-size: cover
#talkToUs
h4
br
display: block
#bigSocial
div
width: calc(25% - 18px)
div + div
margin-left: 20px
//
//div:nth-child(3), div:nth-child(4)
// margin-top: 0
//#home #bigSocial
// div
// width: calc(33% - 15px)
//
// div:nth-child(3)
// margin-top: inherit
// FOOTER
footer
width: 100%
background-image: url(../images/texture.png)
background-color: $dark-grey
// FOOTER
footer
width: 100%
background-image: url(../images/texture.png)
background-color: $dark-grey
main
padding: 20px 0
main
padding: 20px 0
nav
overflow: hidden
margin-bottom: 20px
nav
overflow: hidden
margin-bottom: 20px
a
width: 16.65%
float: left
font-size: 24px
font-weight: 300
white-space: nowrap
a
width: 16.65%
float: left
font-size: 24px
font-weight: 300
white-space: nowrap
.social
padding: 0 30px
max-width: 1200px
.social
padding: 0 30px
max-width: 1200px
div
float: left
div
float: left
div:last-child
float: right
div:last-child
float: right
#search, #wishField
background-color: transparent
padding: 10px
font-size: 16px
font-weight: 100
color: white
border: 1px solid white
transition: 0.3s
#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
&: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
.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
&:hover
background-color: #fff
span
position: absolute
display: block
height: 0
overflow: hidden
span
position: absolute
display: block
height: 0
overflow: hidden
a.twitter
background-position: 0 0
a.twitter
background-position: 0 0
&:hover
background-position: 0 100%
&:hover
background-position: 0 100%
a.stack-overflow
background-position: -50px 0
a.stack-overflow
background-position: -50px 0
&:hover
background-position: -50px 100%
&:hover
background-position: -50px 100%
a.slack
background-position: -100px 0
a.slack
background-position: -100px 0
&:hover
background-position: -100px 100%
a.github
background-position: -150px 0
&:hover
background-position: -150px 100%
&:hover
background-position: -100px 100%
a.github
background-position: -150px 0
&:hover
background-position: -150px 100%
a.mailing-list
background-position: -200px 0
a.mailing-list
background-position: -200px 0
&:hover
background-position: -200px 100%
&:hover
background-position: -200px 100%
a.calendar
background-position: -250px 0
&:hover
background-position: -250px 100%
a.calendar
background-position: -250px 0
&:hover
background-position: -250px 100%
#community, .gridPage
#hero
text-align: left
#community, .gridPage
#hero
text-align: left
h1
padding: 20px 100px
h1
padding: 20px 100px
#tryKubernetes
width: auto
background-color: $blue
padding: 0 20px
#tryKubernetes
width: auto
background-color: $blue
padding: 0 20px
#bigSocial
div
width: calc(25% - 18px)
#bigSocial
div
width: calc(25% - 18px)
#home #caseStudiesWrapper
div
width: 24%
min-height: 260px
#home #caseStudiesWrapper
div
width: 24%
min-height: 260px
@media screen and (min-width: 1300px)
#vendorStrip
padding-right: 100px
#vendorStrip
padding-right: 100px
@media screen and (min-width: 456px)
#vendorStrip
li + li
margin-left: 20px
#vendorStrip
li + li
margin-left: 20px
+27 -27
View File
@@ -1,61 +1,61 @@
html, body
margin: 0
padding: 0
margin: 0
padding: 0
input, button
outline: none
outline: none
button
cursor: pointer
cursor: pointer
ul, li
list-style: none
list-style: none
ul
margin: 0
padding: 0
margin: 0
padding: 0
a
text-decoration: none
text-decoration: none
// CONVENIENCE
.clear
display: block
clear: both
display: block
clear: both
.light-text
color: white
color: white
.right
float: right
float: right
.left
float: left
float: left
.center
text-align: center
text-align: center
//mixins
@mixin fullScreen
position: fixed
top: 0
left: 0
width: 100vw
height: 100vh
position: fixed
top: 0
left: 0
width: 100vw
height: 100vh
@mixin pureCenter($left: 50%, $top: 50%)
position: absolute
top: $top
left: $left
transform: translate(-50%, -50%)
position: absolute
top: $top
left: $left
transform: translate(-50%, -50%)
@mixin maintain-aspect-ratio ($width-factor: 16, $height-factor: 9, $target-width: 80vw, $target-height: 80vh)
width: $target-width
height: $target-width * ($height-factor / $width-factor)
max-width: $target-height * ($width-factor / $height-factor)
max-height: $target-height
width: $target-width
height: $target-width * ($height-factor / $width-factor)
max-width: $target-height * ($width-factor / $height-factor)
max-height: $target-height
+49 -49
View File
@@ -1,86 +1,86 @@
h1
font-size: $h1-font-size
line-height: $h1-line-height
font-size: $h1-font-size
line-height: $h1-line-height
h2
font-size: $h2-font-size
line-height: $h2-line-height
font-size: $h2-font-size
line-height: $h2-line-height
h3
font-size: $h3-font-size
line-height: $h3-line-height
font-size: $h3-font-size
line-height: $h3-line-height
h4
font-size: $h4-font-size
line-height: $h4-line-height
font-size: $h4-font-size
line-height: $h4-line-height
h5
font-size: $h5-font-size
line-height: $h5-line-height
font-size: $h5-font-size
line-height: $h5-line-height
p
font-size: $p-font-size
line-height: $p-line-height
font-size: $p-font-size
line-height: $p-line-height
section, header, #vendorStrip
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
main
width: $main-width
max-width: $main-max-width
main
width: $main-width
max-width: $main-max-width
header
height: $header-height
height: $header-height
.nav-buttons
height: $header-height
line-height: $header-height
height: $header-height
line-height: $header-height
.button + *
margin-left: $nav-buttons-margin-left
.button + *
margin-left: $nav-buttons-margin-left
#hamburger
width: $hamburger-size
height: $hamburger-size
width: $hamburger-size
height: $hamburger-size
#mainNav
padding: $main-nav-padding
padding: $main-nav-padding
h5
margin-bottom: $main-nav-h5-margin-bottom
h5
margin-bottom: $main-nav-h5-margin-bottom
h3
margin-bottom: $main-nav-h3-margin-bottom
h3
margin-bottom: $main-nav-h3-margin-bottom
.nav-box
width: $nav-box-width
.nav-box
width: $nav-box-width
.nav-box + .nav-box
margin-left: $nav-box-sibling-margin-left
.nav-box + .nav-box
margin-left: $nav-box-sibling-margin-left
main + main
margin-top: $main-nav-main-sibling-margin-top
main + main
margin-top: $main-nav-main-sibling-margin-top
.left .button
height: $main-nav-left-button-size
line-height: $main-nav-left-button-size
font-size: $main-nav-left-button-font-size
.left .button
height: $main-nav-left-button-size
line-height: $main-nav-left-button-size
font-size: $main-nav-left-button-font-size
.open-nav, .y-enough
#tryKubernetes
margin-left: $nav-buttons-margin-left
#tryKubernetes
margin-left: $nav-buttons-margin-left
#hero
padding-top: $hero-padding-top
padding-top: $hero-padding-top
#docs
#hero
h1, h5
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
#hero
h1, h5
padding-left: $full-width-paddingX
padding-right: $full-width-paddingX
#vendorStrip
height: $vendor-strip-height
line-height: $vendor-strip-height
font-size: $vendor-strip-font-size
height: $vendor-strip-height
line-height: $vendor-strip-height
font-size: $vendor-strip-font-size
+8 -8
View File
@@ -9,17 +9,17 @@ $mono-font: 'Roboto Mono', monospace
*, .button
box-sizing: border-box
font-family: $base-font
background: none
margin: 0
border: 0
box-sizing: border-box
font-family: $base-font
background: none
margin: 0
border: 0
body
font-family: $base-font
font-family: $base-font
h1, h2, h5, p
font-weight: 300
font-weight: 300
h3, h4
font-weight: 400
font-weight: 400
+132 -132
View File
@@ -66,185 +66,185 @@ $feature-box-div-width: 45%
////////////////////////////////////////////////////////////////////////////////////////////////////
@media screen and (min-width: 750px)
@import "size"
@import "size"
p
font-size: 16px
line-height: 24px
letter-spacing: 0.1px
p
font-size: 16px
line-height: 24px
letter-spacing: 0.1px
h1
font-size: 36px
line-height: 44px
h1
font-size: 36px
line-height: 44px
h3
font-size: 28px
line-height: 36px
h3
font-size: 28px
line-height: 36px
h4
font-size: 24px
line-height: 40px
h4
font-size: 24px
line-height: 40px
#home
#viewDocs, #tryKubernetes
display: inline-block
#home
#viewDocs, #tryKubernetes
display: inline-block
#vendorStrip
display: block
text-align: center
#vendorStrip
display: block
text-align: center
img
max-height: 24px
vertical-align: middle
margin: 0 30px
img
max-height: 24px
vertical-align: middle
margin: 0 30px
#docs
#vendorStrip
li
a
font-size: 1em
font-weight: normal
#docs
#vendorStrip
li
a
font-size: 1em
font-weight: normal
li + li
margin-left: 60px
li + li
margin-left: 60px
#oceanNodes
h3
text-align: left
margin-bottom: 18px
#oceanNodes
h3
text-align: left
margin-bottom: 18px
main
position: relative
clear: both
display: table
height: 160px
main
position: relative
clear: both
display: table
height: 160px
.content
display: table-cell
position: relative
vertical-align: middle
.content
display: table-cell
position: relative
vertical-align: middle
.image-wrapper
position: absolute
top: 50%
max-width: 25%
max-height: 100%
transform: translateY(-50%)
.image-wrapper
position: absolute
top: 50%
max-width: 25%
max-height: 100%
transform: translateY(-50%)
&:nth-child(odd)
padding-right: 210px
&:nth-child(odd)
padding-right: 210px
.image-wrapper
right: 0
.image-wrapper
right: 0
&:nth-child(even)
padding-left: 210px
&:nth-child(even)
padding-left: 210px
.image-wrapper
left: 0
.image-wrapper
left: 0
&:nth-child(1)
padding-right: 0
&:nth-child(1)
padding-right: 0
h3, p
text-align: center
h3, p
text-align: center
.image-wrapper
position: relative
display: block
float: none
max-width: 100%
transform: none
.image-wrapper
position: relative
display: block
float: none
max-width: 100%
transform: none
.content
display: block
.content
display: block
img
width: 100%
img
width: 100%
#video
height: $video-section-height
display: block
#video
height: $video-section-height
display: block
& > .light-text
display: block
& > .light-text
display: block
#mobileShowVideoButton
display: none
#mobileShowVideoButton
display: none
#features
padding-bottom: 60px
#features
padding-bottom: 60px
.feature-box
margin-bottom: 30px
.feature-box
margin-bottom: 30px
&:last-child
margin-bottom: 0
&:last-child
margin-bottom: 0
h3
margin-bottom: $features-h3-margin-bottom
h3
margin-bottom: $features-h3-margin-bottom
.feature-box
& > div
width: $feature-box-div-width
margin-bottom: $feature-box-div-margin-bottom
.feature-box
& > div
width: $feature-box-div-width
margin-bottom: $feature-box-div-margin-bottom
#talkToUs
#bigSocial
div
width: calc(50% - 15px)
#talkToUs
#bigSocial
div
width: calc(50% - 15px)
div + div
margin-top: 0
div + div
margin-top: 0
div:nth-child(2)
margin-left: 20px
div:nth-child(2)
margin-left: 20px
div:nth-child(3)
margin-top: 20px
div:nth-child(3)
margin-top: 20px
div:nth-child(4)
margin-top: 20px
margin-left: 20px
div:nth-child(4)
margin-top: 20px
margin-left: 20px
a
display: inline-block
color: $blue
font-weight: 400
text-decoration: none
a
display: inline-block
color: $blue
font-weight: 400
text-decoration: none
// FOOTER
footer
nav
text-align: center
// FOOTER
footer
nav
text-align: center
a
width: 30%
padding: 0 20px
a
width: 30%
padding: 0 20px
.social
text-align: center
.social
text-align: center
div
display: inline-block
div
display: inline-block
div:last-child
display: block
margin: 0
div:last-child
display: block
margin: 0
span
display: inline-block
margin-right: 10px
span
display: inline-block
margin-right: 10px
input
text-align: left
input
text-align: left
#home #caseStudiesWrapper
div
width: 48%
#home #caseStudiesWrapper
div
width: 48%
+1 -1
View File
@@ -4,4 +4,4 @@
// media queries
@import "base"
@import "tablet"
@import "desktop"
@import "desktop"