Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify footer. Change About page to HTbox info #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
title: Humanitarian Toolbox Developer Guide
email: [email protected]
description: > # this means to ignore newlines until "baseurl:"
Developer guidelines for working on HTbox projects.
Developer guidelines for working on HTbox projects
baseurl: "" # the subpath of your site, e.g. /blog
url: "http://htbox.org" # the base hostname & protocol for your site
twitter_username: htbox
Expand Down
13 changes: 5 additions & 8 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<div class="wrapper">

<h2 class="footer-heading">{{ site.title }}</h2>

<div class="footer-col-wrapper">
<div class="footer-col footer-col-1">

<div class="footer-col footer-col-4">
<ul class="contact-list">
<li>{{ site.title }}</li>
<li class="footer-title">{{ site.title }}</li>
<li>{{ site.description }}</li>
<li><a href="mailto:{{ site.email }}">{{ site.email }}</a></li>
</ul>
</div>
Expand All @@ -18,7 +18,7 @@ <h2 class="footer-heading">{{ site.title }}</h2>
<li>
{% include icon-github.html username=site.github_username %}
</li>
{% endif %}
{% endif %}

{% if site.twitter_username %}
<li>
Expand All @@ -28,9 +28,6 @@ <h2 class="footer-heading">{{ site.title }}</h2>
</ul>
</div>

<div class="footer-col footer-col-3">
<p>{{ site.description }}</p>
</div>
</div>

</div>
Expand Down
11 changes: 4 additions & 7 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,9 @@ title: About
permalink: /about/
---

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/)
This developer guide is for Humanitarian Toolbox opensource projects on Github.

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

See all HTBox github projects at {% include icon-github.html username=site.github_username %}

You can find the source code for Jekyll at
{% include icon-github.html username="jekyll" %} /
[jekyll](https://github.com/jekyll/jekyll)
9 changes: 9 additions & 0 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$base-font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
$base-font-size: 16px;
$base-font-weight: 400;
$bold-font-weight: 700;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;

Expand Down Expand Up @@ -43,6 +44,14 @@ $on-laptop: 800px;
}
}

.footer-title {
font-weight: $bold-font-weight;
}

.footer-col-4 {
width: -webkit-calc(55% - (#{$spacing-unit} / 2));
width: calc(55% - (#{$spacing-unit} / 2));
}


// Import partials from `sass_dir` (defaults to `_sass`)
Expand Down