Merge branch 'delftswa2014-improve-this-page'

* delftswa2014-improve-this-page:
  Make the .improve callout a light grey.
  Put the pencil icon in front of the improve link.
  Removed unnecessary margin and simplified padding.
  Implemented the "Improve this page" feature. #3495
This commit is contained in:
Parker Moore 2015-02-24 21:19:55 -08:00
commit bebb75ff0e
3 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,9 @@ layout: default
<div class="unit four-fifths"> <div class="unit four-fifths">
<article> <article>
<div class="improve right">
<a href="https://github.com/jekyll/jekyll/edit/master/site/{{ page.path }}"><i class="fa fa-pencil"></i> &nbsp;Improve this page</a>
</div>
<h1>{{ page.title }}</h1> <h1>{{ page.title }}</h1>
{{ content }} {{ content }}
{% include section_nav.html %} {% include section_nav.html %}

View File

@ -20,3 +20,6 @@
.fa-link:before { .fa-link:before {
content: "\f0c1"; content: "\f0c1";
} }
.fa-pencil:before {
content: "\f040";
}

View File

@ -528,6 +528,14 @@ aside {
} }
} }
.improve {
padding-top: 25px;
font-size: 16px;
a {
color: #999;
}
}
.docs-nav-mobile select { .docs-nav-mobile select {
color: #000; color: #000;
width: 100%; width: 100%;