Skip to content

Commit 54345d4

Browse files
Merge pull request #12 from ClojureBridge/margin-fixes
Fix some margin in header and paypall button
2 parents 57948b3 + dd76563 commit 54345d4

File tree

2 files changed

+49
-25
lines changed

2 files changed

+49
-25
lines changed

_includes/header.html

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,29 @@
1-
<div class="site-header">
1+
<div class="header-content">
2+
<div class="site-header">
23

3-
<a id="home" href="/">{{ site.title }}</a>
4+
<a id="home" href="/">{{ site.title }}</a>
45

5-
<ul id="site-nav">
6-
{% for page in site.pages %}
7-
{% if page.title %}
8-
<li>
9-
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
10-
</li>
11-
{% endif %}
12-
{% endfor %}
13-
<li>
14-
<a class="page-link" href="http://bridgefoundry.org/code-of-conduct/">Code of Conduct</a>
15-
</li>
16-
<li>
17-
<a class="page-link" href="https://github.com/ClojureBridge"><i class="fa fa-github"><span>GitHub</span></i></a>
18-
</li>
19-
<li>
20-
<a class="page-link" href="https://twitter.com/ClojureBridge"><i class="fa fa-twitter"><span>Twitter</span></i></a>
21-
</li>
22-
<li>
23-
<a class="page-link" href="mailto:[email protected]"><i class="fa fa-envelope-o"><span>Email</span></i></a>
24-
</li>
25-
</ul>
6+
<ul id="site-nav">
7+
{% for page in site.pages %}
8+
{% if page.title %}
9+
<li>
10+
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
11+
</li>
12+
{% endif %}
13+
{% endfor %}
14+
<li>
15+
<a class="page-link" href="http://bridgefoundry.org/code-of-conduct/">Code of Conduct</a>
16+
</li>
17+
<li>
18+
<a class="page-link" href="https://github.com/ClojureBridge"><i class="fa fa-github"><span>GitHub</span></i></a>
19+
</li>
20+
<li>
21+
<a class="page-link" href="https://twitter.com/ClojureBridge"><i class="fa fa-twitter"><span>Twitter</span></i></a>
22+
</li>
23+
<li>
24+
<a class="page-link" href="mailto:[email protected]"><i class="fa fa-envelope-o"><span>Email</span></i></a>
25+
</li>
26+
</ul>
2627

28+
</div>
2729
</div>

css/main.css

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,21 @@ body {
33
font: 16px/1.4 "freight-sans-pro", "Helvetica", "Arial", sans-serif;
44
}
55

6+
.content h1 {
7+
font-size: 32px;
8+
font-weight: 100;
9+
margin-bottom: 0.8em;
10+
}
11+
612
/* TODO: Change to id */
713
.site-header {
14+
max-width: 62.5em;
15+
margin-left: auto;
16+
margin-right: auto;
17+
width: 100%;
18+
}
19+
20+
.header-content {
821
border-width: 5px 0 3px;
922
border-style: solid;
1023
border-color: rgb(51, 52, 62);
@@ -58,6 +71,7 @@ body {
5871

5972
.content-wrapper {
6073
padding: 0 2em;
74+
margin-top: 1em;
6175
}
6276

6377
.content {
@@ -136,7 +150,7 @@ img {
136150
border-radius: 6px;
137151
font-size: 13px;
138152
background: #fec348 none repeat scroll 0 0;
139-
border-color: #feb215;
153+
border: 1px solid #feb215;
140154
color: #002f86;
141155
}
142156

@@ -146,5 +160,13 @@ img {
146160
}
147161

148162
#paypal-button {
149-
float: right;
163+
text-align: left;
164+
margin-bottom: 1.0em;
165+
}
166+
167+
@media screen and (min-width: 640px) {
168+
#paypal-button {
169+
text-align: right;
170+
margin-bottom: -2.0em;
171+
}
150172
}

0 commit comments

Comments
 (0)