Skip to content

Commit 1a100da

Browse files
author
John Mulhausen
committed
2 parents ff93b43 + b0210ff commit 1a100da

File tree

3 files changed

+38
-3
lines changed

3 files changed

+38
-3
lines changed

_layouts/home.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<header>
1818
<a href="/" class="logo"></a>
1919
<div class="nav-buttons" data-auto-burger="primary">
20+
<a href="docs" class="button" id="viewDocs">View Documentation</a>
2021
<a href="/docs/hellonode/" class="button" id="tryKubernetes">Try Kubernetes</a>
2122
<button id="hamburger" onclick="kub.toggleMenu()" data-auto-burger-exclude><div></div></button>
2223
</div>

_sass/_base.sass

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,26 @@ header
117117
.nav-buttons
118118
float: right
119119

120+
#viewDocs
121+
border: 1px solid white
122+
background-color: transparent
123+
transition: 0.3s
124+
125+
&:hover
126+
background-color: white
127+
color: $dark-grey
128+
129+
#tryKubernetes
130+
width: 0
131+
padding: 0 0
132+
border: 1px solid transparent
133+
background-color: transparent
134+
text-align: center
135+
white-space: nowrap
136+
vertical-align: middle
137+
overflow: hidden
138+
transition: 0.3s
139+
120140
#hamburger
121141
display: inline-block
122142
position: relative
@@ -201,7 +221,9 @@ header
201221

202222
.open-nav, .y-enough
203223
#tryKubernetes
204-
width: 160px
224+
width: 150px
225+
background-color: $blue
226+
border-color: $blue
205227

206228

207229
.flip-nav, .open-nav

0 commit comments

Comments
 (0)