Skip to content

Commit

Permalink
navbar update - we are hiring
Browse files Browse the repository at this point in the history
  • Loading branch information
lubiarz-oliwia committed Oct 6, 2022
1 parent aa9b0b4 commit 01f6959
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/_includes/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-2">
<ul class="nav navbar-nav navbar-right">
<li><a href="https://gruntwork.io/careers"><span class="new-label">NEW</span>We're Hiring!</a></li>
<li><a href="{{site.baseurl}}/docs/getting-started/quick-start" ga-on="click" ga-event-category="nav-{{ page.path | slugify }}" ga-event-action="quick-start">Quick Start</a></li>
<li><a href="{{site.baseurl}}/docs/" ga-on="click" ga-event-category="nav-{{ page.path | slugify }}" ga-event-action="docs">Docs</a></li>
<li><a href="{{site.baseurl}}/examples/" ga-on="click" ga-event-category="nav-examples" ga-event-action="examples">Examples</a></li>
Expand Down
52 changes: 49 additions & 3 deletions docs/assets/css/pages/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,29 @@ body.index-page {
padding-top: 30px;
}

.navbar-nav {
li {
&:first-child {
a {
display: flex;

span {
margin-right: 12px;
padding: 0;
background: linear-gradient(101.84deg, #FE3162 2.31%, #FF4F47 98.56%);
border-radius: 3.5px;
font-weight: 600;
min-width: 52px;
display: flex;
align-items: center;
justify-content: center;
}
}

}
}
}

.section-hero {
margin-top: 0px;
padding-top: 0px;
Expand Down Expand Up @@ -101,6 +124,7 @@ body.index-page {
.link-to-test-with-terratest {
text-decoration: underline;
cursor: pointer;

&:hover {
opacity: 0.7;
}
Expand All @@ -112,6 +136,7 @@ body.index-page {
margin-left: auto;
margin-right: auto;
}

.test-steps {
display: flex;
align-items: stretch;
Expand All @@ -122,6 +147,7 @@ body.index-page {
margin-right: auto;
margin-bottom: 120px;
flex-wrap: wrap;

.test-step {
flex: 1;
display: flex;
Expand All @@ -132,6 +158,7 @@ body.index-page {
.icon-wrapper {
display: flex;
margin-bottom: 20px;

.line {
flex: 1;
border-top: 1px dashed $gray-color-3;
Expand All @@ -141,6 +168,7 @@ body.index-page {
margin-top: 15px;
max-width: calc(50% - 36px);
}

img {
margin-left: 5px;
margin-right: 5px;
Expand All @@ -162,6 +190,7 @@ body.index-page {
line-height: 1.2;
min-height: 58px;
}

.desc {
font-size: $font-size-sm;
max-width: 280px;
Expand Down Expand Up @@ -194,16 +223,20 @@ body.index-page {
.desc {
max-width: 400px;
}

.text-wrapper {
text-align: left;

label {
min-height: auto;
}
}
}

@media all and (max-width: 1100px) {
flex-direction: row;
margin-bottom: 40px;

.text-wrapper {
margin-left: 15px;
}
Expand All @@ -212,9 +245,11 @@ body.index-page {
@media all and (max-width: 450px) {
flex-direction: column;
min-width: auto;

.text-wrapper {
margin-left: 0px;
}

img {
width: 46px;
}
Expand All @@ -227,6 +262,7 @@ body.index-page {
margin-right: auto;
margin-bottom: 50px;
}

@media all and (max-width: 450px) {
flex-direction: column;
padding: 15px;
Expand All @@ -244,6 +280,7 @@ body.index-page {
z-index: 1;
position: relative;
}

.left-img {
position: absolute;
left: 0;
Expand All @@ -264,6 +301,7 @@ body.index-page {
top: -180px;
right: 5%;
}

.left-img {
width: 300px;
top: -100px;
Expand All @@ -274,14 +312,17 @@ body.index-page {
.right-img {
display: none;
}

.left-img {
width: 80%;
top: -100px;
}
}

@media all and (max-width: 450px) {
.hide-on-cxs { display: none; }
.hide-on-cxs {
display: none;
}
}

}
Expand Down Expand Up @@ -311,19 +352,22 @@ body.index-page {
h2 {
font-size: 34px;
}

.btn-sm {
margin-right: 10px;
}

@media all and (max-width: 991px) {
.row.flex {
flex-direction: column;
& > .col-xs-12:first-child {

&>.col-xs-12:first-child {
margin-bottom: 50px;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

.col-xs-12 {
align-items: center;
justify-content: center;
Expand Down Expand Up @@ -424,7 +468,9 @@ body.index-page {
}

img {
&.custom-width, &.custom-width-2 {

&.custom-width,
&.custom-width-2 {
display: none;
}
}
Expand Down

0 comments on commit 01f6959

Please sign in to comment.