Skip to content

Commit

Permalink
adjusting 404 layout
Browse files Browse the repository at this point in the history
  • Loading branch information
₍˄ุ.͡˳̫.˄ุ₎ committed Oct 17, 2013
1 parent c997abb commit d21bfb2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
14 changes: 10 additions & 4 deletions source/404.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,18 @@
title: "Not found :("
---

%p Sorry, but the page you were trying to view does not exist.
- content_for :css do
= stylesheet_link_tag "404"

- content_for :introduction do
Sorry, but the page you were trying to view does not exist.

%p It looks like this was the result of either:
%ul
%li a mistyped address
%li an out-of-date link

:javascript
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
%script(src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js")
- content_for :complementary do
:javascript
var GOOG_FIXURL_LANG = (navigator.language || '').slice(0,2),GOOG_FIXURL_SITE = location.host;
%script(src="//linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js")
21 changes: 21 additions & 0 deletions source/assets/css/404.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
@import "compass";
@import "breakpoint";

@import "dependencies/layout";
@import "dependencies/color";

@import "foundation/forms";

@import "components/forms";
@import "components/buttons";

#goog-fixurl .content {
margin: 0;
padding: 0;
}

#goog-wm-sb {
@extend .button;
@extend .primary;
@include leader;
}
2 changes: 2 additions & 0 deletions source/layouts/head/_css.haml
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
= stylesheet_link_tag "sass"
- if content_for?(:css)
= yield_content :css

0 comments on commit d21bfb2

Please sign in to comment.