Skip to content

Commit

Permalink
Merge pull request #8 from lewisnyman/typography-improvements
Browse files Browse the repository at this point in the history
Tweaks to content and typography for better readablilty and heirachy
  • Loading branch information
joesb authored Jul 5, 2016
2 parents 6c595aa + 2d92c25 commit 240f0c4
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 41 deletions.
6 changes: 6 additions & 0 deletions _includes/address.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<h2 class="footer-heading">Our address</h2>
Convivio
The Gridiron Building
One Pancras Square
London
N1C 4AG
7 changes: 5 additions & 2 deletions _includes/footer-nav.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
* [Blog](https://blog.weareconvivio.com)
* [Cookbook](http://cookbook.weareconvivio.com/)
<h2 class="footer-heading">Find us on the web</h2>
* Read our blog on Medium: [https://blog.weareconvivio.com](https://blog.weareconvivio.com)
* Browse our public intranet: [The Convivio Cookbok](http://cookbook.weareconvivio.com/)
* Follow us on twitter: [@weareconvivio](https://twitter.com/weareconvivio)
* Get in touch: <[email protected]>
14 changes: 11 additions & 3 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
<footer class="site-footer">
<footer class="site-footer" itemscope itemtype="http://schema.org/LocalBusiness">
<div class="wrapper">
{% capture footer-nav-include %}{% include footer-nav.md %}{% endcapture %}
{{ footer-nav-include | markdownify }}
<div class=" footer-col-wrapper">
<div class="footer-col footer-col-1">
{% capture footer-nav-include %}{% include footer-nav.md %}{% endcapture %}
{{ footer-nav-include | markdownify }}
</div>
<div class="footer-col footer-col-2">
{% capture address-include %}{% include address.md %}{% endcapture %}
{{ address-include | markdownify }}
</div>
</div>
</div>
</footer>

Expand Down
5 changes: 4 additions & 1 deletion _sass/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,10 @@ li {
margin-bottom: 0;
}
}

.site-footer ul {
margin: 0;
list-style-type: none;
}


/**
Expand Down
26 changes: 4 additions & 22 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -127,31 +127,13 @@
}

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

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

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

@include media-query($on-laptop) {
.footer-col-1,
.footer-col-2 {
width: -webkit-calc(50% - (#{$spacing-unit} / 2));
width: calc(50% - (#{$spacing-unit} / 2));
}

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

@include media-query($on-palm) {
Expand Down
6 changes: 3 additions & 3 deletions css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@


// Our variables
$base-font-family: "Andale Mono", serif;
$base-font-family: Helvetica, Arial, san-serif;
$base-font-size: 16px;
$base-font-weight: 400;
$small-font-size: $base-font-size * 0.875;
$base-line-height: 1.5;
$base-line-height: 1.4;

$spacing-unit: 30px;

$text-color: #111;
$text-color: #333;
$background-color: #ffffff;
$brand-color: #2a7ae2;

Expand Down
10 changes: 0 additions & 10 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,4 @@ That means we take clients beyond simply marketing themselves on the web, to del

Our team has delivered this digital transformation before in the government, finance, and media sectors.

Read our blog on Medium: [https://blog.weareconvivio.com](https://blog.weareconvivio.com)
Follow us on twitter: [@weareconvivio](https://twitter.com/weareconvivio)
Get in touch: <[email protected]>
Our address:
Convivio
The Gridiron Building
One Pancras Square
London
N1C 4AG

This is release 1 of our website, our ‘minimum launchable product’. We’re going to work in the open to develop our site, so you can see our workings-out. Follow thinking and progress on our [blog](https://blog.weareconvivio.com).

0 comments on commit 240f0c4

Please sign in to comment.