Skip to content

Commit 3f2c88e

Browse files
author
JT
committed
responsive #cta
1 parent 6e69711 commit 3f2c88e

3 files changed

Lines changed: 19 additions & 2 deletions

File tree

website/source/index.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,11 +215,11 @@
215215
<div class="container">
216216
<div class="row">
217217
<div class="intro">
218-
<div class="left col-xs-12 col-sm-offset-2 col-sm-4">
218+
<div class="left col-xs-12 col-sm-4 col-sm-offset-1 col-md-offset-2 col-md-4">
219219
<p>The intro and getting started guide contain
220220
a simple and approachable walkthrough for running Terraform locally.</p>
221221
</div>
222-
<div class="col-xs-offset-5 col-xs-12 col-sm-6 col-sm-offset-0 right">
222+
<div class="col-xs-12 col-sm-6 col-md-4 right">
223223
<a class="outline-btn" href="/intro/index.html">Read the intro &#187;</a>
224224
</div>
225225
</div>

website/source/stylesheets/_home.less

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,16 @@
456456
}
457457
}
458458
}
459+
460+
#cta{
461+
.intro{
462+
text-align: center;
463+
p{
464+
text-align: center;
465+
margin-bottom: 15px;
466+
}
467+
}
468+
}
459469
}
460470

461471

website/source/stylesheets/main.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -958,6 +958,13 @@ body.page-home #footer {
958958
#demos .terminals .terminal-item > header .right {
959959
padding-left: 15px;
960960
}
961+
#cta .intro {
962+
text-align: center;
963+
}
964+
#cta .intro p {
965+
text-align: center;
966+
margin-bottom: 15px;
967+
}
961968
}
962969
.people {
963970
margin-top: 30px;

0 commit comments

Comments
 (0)