home page css fixes
This commit is contained in:
@@ -59,4 +59,4 @@
|
|||||||
<div class="clear" style="clear: both"></div>
|
<div class="clear" style="clear: both"></div>
|
||||||
</main>
|
</main>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
@@ -948,6 +948,9 @@ $feature-box-div-margin-bottom: 40px
|
|||||||
padding-top: $ocean-nodes-padding-Y
|
padding-top: $ocean-nodes-padding-Y
|
||||||
padding-bottom: $ocean-nodes-padding-Y
|
padding-bottom: $ocean-nodes-padding-Y
|
||||||
|
|
||||||
|
a
|
||||||
|
color: $blue
|
||||||
|
|
||||||
main
|
main
|
||||||
margin-bottom: $ocean-nodes-padding-Y
|
margin-bottom: $ocean-nodes-padding-Y
|
||||||
min-height: 160px
|
min-height: 160px
|
||||||
|
|||||||
+8
-3
@@ -91,17 +91,22 @@ $video-section-height: 550px
|
|||||||
#oceanNodes
|
#oceanNodes
|
||||||
main
|
main
|
||||||
position: relative
|
position: relative
|
||||||
max-width: $main-max-width
|
max-width: 830px
|
||||||
|
|
||||||
&:nth-child(1)
|
&:nth-child(1)
|
||||||
|
max-width: 1000px
|
||||||
|
padding-right: 500px
|
||||||
|
|
||||||
|
h3, p
|
||||||
|
text-align: left
|
||||||
|
|
||||||
.image-wrapper
|
.image-wrapper
|
||||||
position: absolute
|
position: absolute
|
||||||
max-width: 48%
|
max-width: 48%
|
||||||
transform: translateY(-50%)
|
transform: translateY(-50%)
|
||||||
|
|
||||||
.content
|
//.content
|
||||||
width: 50%
|
// width: 50%
|
||||||
|
|
||||||
|
|
||||||
#video
|
#video
|
||||||
|
|||||||
+39
-8
@@ -68,6 +68,25 @@ $feature-box-div-width: 45%
|
|||||||
@media screen and (min-width: 750px)
|
@media screen and (min-width: 750px)
|
||||||
@import "size"
|
@import "size"
|
||||||
|
|
||||||
|
p
|
||||||
|
font-size: 16px
|
||||||
|
line-height: 24px
|
||||||
|
letter-spacing: 0.1px
|
||||||
|
|
||||||
|
h1
|
||||||
|
font-size: 36px
|
||||||
|
line-height: 44px
|
||||||
|
|
||||||
|
h3
|
||||||
|
font-size: 28px
|
||||||
|
line-height: 36px
|
||||||
|
|
||||||
|
h4
|
||||||
|
font-size: 24px
|
||||||
|
line-height: 40px
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#home
|
#home
|
||||||
#viewDocs, #tryKubernetes
|
#viewDocs, #tryKubernetes
|
||||||
display: inline-block
|
display: inline-block
|
||||||
@@ -95,10 +114,17 @@ $feature-box-div-width: 45%
|
|||||||
#oceanNodes
|
#oceanNodes
|
||||||
h3
|
h3
|
||||||
text-align: left
|
text-align: left
|
||||||
|
margin-bottom: 18px
|
||||||
|
|
||||||
main
|
main
|
||||||
position: relative
|
position: relative
|
||||||
clear: both
|
clear: both
|
||||||
|
display: table
|
||||||
|
|
||||||
|
.content
|
||||||
|
display: table-cell
|
||||||
|
position: relative
|
||||||
|
vertical-align: middle
|
||||||
|
|
||||||
.image-wrapper
|
.image-wrapper
|
||||||
position: absolute
|
position: absolute
|
||||||
@@ -108,28 +134,33 @@ $feature-box-div-width: 45%
|
|||||||
transform: translateY(-50%)
|
transform: translateY(-50%)
|
||||||
|
|
||||||
&:nth-child(odd)
|
&:nth-child(odd)
|
||||||
.content
|
padding-right: 210px
|
||||||
padding-right: 30%
|
|
||||||
|
|
||||||
.image-wrapper
|
.image-wrapper
|
||||||
right: 0
|
right: 0
|
||||||
|
|
||||||
&:nth-child(even)
|
&:nth-child(even)
|
||||||
.content
|
padding-left: 210px
|
||||||
padding-left: 30%
|
|
||||||
|
|
||||||
.image-wrapper
|
.image-wrapper
|
||||||
left: 0
|
left: 0
|
||||||
|
|
||||||
&:nth-child(1)
|
&:nth-child(1)
|
||||||
.content
|
padding-right: 0
|
||||||
padding-right: 0
|
|
||||||
|
h3, p
|
||||||
|
text-align: center
|
||||||
|
|
||||||
.image-wrapper
|
.image-wrapper
|
||||||
position: relative
|
position: relative
|
||||||
|
display: block
|
||||||
|
float: none
|
||||||
max-width: 100%
|
max-width: 100%
|
||||||
transform: none
|
transform: none
|
||||||
|
|
||||||
|
.content
|
||||||
|
display: block
|
||||||
|
|
||||||
img
|
img
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
@@ -148,6 +179,8 @@ $feature-box-div-width: 45%
|
|||||||
padding-bottom: 60px
|
padding-bottom: 60px
|
||||||
|
|
||||||
.feature-box
|
.feature-box
|
||||||
|
margin-bottom: 30px
|
||||||
|
|
||||||
&:last-child
|
&:last-child
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
|
|
||||||
@@ -155,8 +188,6 @@ $feature-box-div-width: 45%
|
|||||||
margin-bottom: $features-h3-margin-bottom
|
margin-bottom: $features-h3-margin-bottom
|
||||||
|
|
||||||
.feature-box
|
.feature-box
|
||||||
margin-bottom: $feature-box-margin-bottom
|
|
||||||
|
|
||||||
& > div
|
& > div
|
||||||
width: $feature-box-div-width
|
width: $feature-box-div-width
|
||||||
margin-bottom: $feature-box-div-margin-bottom
|
margin-bottom: $feature-box-div-margin-bottom
|
||||||
|
|||||||
Reference in New Issue
Block a user