Skip to content

Commit dca75a8

Browse files
committed
Simplify footer. Change About page to HTbox info
bold footer title, column spacing, period description
1 parent eb0ee0e commit dca75a8

File tree

4 files changed

+19
-16
lines changed

4 files changed

+19
-16
lines changed

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
title: Humanitarian Toolbox Developer Guide
1010
1111
description: > # this means to ignore newlines until "baseurl:"
12-
Developer guidelines for working on HTbox projects.
12+
Developer guidelines for working on HTbox projects
1313
baseurl: "" # the subpath of your site, e.g. /blog
1414
url: "http://htbox.org" # the base hostname & protocol for your site
1515
twitter_username: htbox

_includes/footer.html

+5-8
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
<div class="wrapper">
44

5-
<h2 class="footer-heading">{{ site.title }}</h2>
6-
75
<div class="footer-col-wrapper">
8-
<div class="footer-col footer-col-1">
6+
7+
<div class="footer-col footer-col-4">
98
<ul class="contact-list">
10-
<li>{{ site.title }}</li>
9+
<li class="footer-title">{{ site.title }}</li>
10+
<li>{{ site.description }}</li>
1111
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
1212
</ul>
1313
</div>
@@ -18,7 +18,7 @@ <h2 class="footer-heading">{{ site.title }}</h2>
1818
<li>
1919
{% include icon-github.html username=site.github_username %}
2020
</li>
21-
{% endif %}
21+
{% endif %}
2222

2323
{% if site.twitter_username %}
2424
<li>
@@ -28,9 +28,6 @@ <h2 class="footer-heading">{{ site.title }}</h2>
2828
</ul>
2929
</div>
3030

31-
<div class="footer-col footer-col-3">
32-
<p>{{ site.description }}</p>
33-
</div>
3431
</div>
3532

3633
</div>

about.md

+4-7
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,9 @@ title: About
44
permalink: /about/
55
---
66

7-
This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/)
7+
This developer guide is for Humanitarian Toolbox opensource projects on Github.
88

9-
You can find the source code for the Jekyll new theme at:
10-
{% include icon-github.html username="jglovier" %} /
11-
[jekyll-new](https://github.com/jglovier/jekyll-new)
9+
More information about Humanitarian Toolbox can be found at [htbox.org](http://www.htbox.org/)
10+
11+
See all HTBox github projects at {% include icon-github.html username=site.github_username %}
1212

13-
You can find the source code for Jekyll at
14-
{% include icon-github.html username="jekyll" %} /
15-
[jekyll](https://github.com/jekyll/jekyll)

css/main.scss

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
1010
$base-font-size: 16px;
1111
$base-font-weight: 400;
12+
$bold-font-weight: 700;
1213
$small-font-size: $base-font-size * 0.875;
1314
$base-line-height: 1.5;
1415

@@ -43,6 +44,14 @@ $on-laptop: 800px;
4344
}
4445
}
4546

47+
.footer-title {
48+
font-weight: $bold-font-weight;
49+
}
50+
51+
.footer-col-4 {
52+
width: -webkit-calc(55% - (#{$spacing-unit} / 2));
53+
width: calc(55% - (#{$spacing-unit} / 2));
54+
}
4655

4756

4857
// Import partials from `sass_dir` (defaults to `_sass`)

0 commit comments

Comments
 (0)