Skip to content

Commit 5049300

Browse files
lrose07lrose07
lrose07
authored and
lrose07
committed
Margin on buttons
Added a margin to bottom button to look better on mobile
1 parent ad5a015 commit 5049300

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

_includes/header.html

+11-5
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,18 @@
7979
<div class="jumbotron col-md-12">
8080
<h1>We are Code for <br/> New River Valley</h1>
8181
<div class="row">
82-
<p class="lead col-md-10 col-md-offset-1">
83-
Come join developers, designers, data geeks, leaders, and idea-makers who volunteer to help local government and civic orgs adopt open web technologies.
84-
</p>
82+
<p class="lead col-md-10 col-md-offset-1">
83+
Come join developers, designers, data geeks, leaders, and idea-makers who volunteer to help local government and civic orgs adopt open web technologies.
84+
</p>
85+
</div>
86+
<div class="row">
87+
<div class="col-md-4 col-md-offset-2">
88+
<a class="btn btn-success btn-lg" href="/projects">Checkout our Projects</a>
89+
</div>
90+
<div class="col-md-4">
91+
<a class="btn btn-danger btn-lg btn2" href="http://www.meetup.com/codefornrv">Come to our Meetups</a>
92+
</div>
8593
</div>
86-
<a class="btn btn-success btn-lg" href="/projects">Checkout our Projects</a>
87-
<a class="btn btn-danger btn-lg" href="http://www.meetup.com/codefornrv">Come to our Meetups</a>
8894
<!-- <a class="btn btn-primary btn-lg" href="http://signup.code4hr.org">Get our Newsletter</a> -->
8995
</div>
9096
</div>

css/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,13 @@ table h3 {
293293
}
294294
}
295295

296+
/* Spacing buttons */
297+
@media (max-width: 991px) {
298+
.btn2 {
299+
margin-top: 5px;
300+
}
301+
}
302+
296303
.nowrap { white-space:nowrap; }
297304

298305
#recent-event { margin: 10px 0 0 0; }

0 commit comments

Comments
 (0)