Add an archive warning to all pages

This commit is contained in:
Jez Cope 2016-07-20 13:06:40 +01:00
parent bc22ac0036
commit 1c49e1eb74
2 changed files with 23 additions and 0 deletions

View File

@ -278,6 +278,24 @@ a.tag {
}
}
.archive-warning {
@include make-md-column-offset(2);
@include make-md-column(10);
@extend .bg-warning;
padding: {
top: $grid-gutter-width / 2;
bottom: $grid-gutter-width / 2;
}
border-radius: $grid-gutter-width / 2;
@media (max-width: 1440px) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
}
/*****************************************************************************
* Blogroll
*/

View File

@ -12,6 +12,11 @@
.lead= @config[:tagline]
%nav= render 'partials/nav'
%section
.row
:kramdown
***Please note:*** this older content has been **archived** and is no longer fully linked into the site. Please go to the [current home page](/) for up-to-date content.
{: .archive-warning}
#content
- if %w{single-post static-page}.include? @item[:page_type]
%article.h-entry