diff --git a/config.js b/config.js index 50c3229..6468ec4 100644 --- a/config.js +++ b/config.js @@ -8,7 +8,8 @@ module.exports = { titles: { '_': 'Regexper', 'changelog.html': 'Regexper - Changelog', - 'documentation.html': 'Regexper - Documentation' + 'documentation.html': 'Regexper - Documentation', + '404.html': 'Regexper - Page Not Found' }, buildRoot: buildRoot, buildPath: buildPath, diff --git a/src/404.html b/src/404.html new file mode 100644 index 0000000..77a6d82 --- /dev/null +++ b/src/404.html @@ -0,0 +1,10 @@ +
+

404: Not Found

+ +
+ Some people, when confronted with a problem, think
+ “I know, I'll use regular expressions.” Now they have two problems. +
+ +

Apparently, you have three problems…because the page you requested cannot be found.

+
diff --git a/src/sass/main.scss b/src/sass/main.scss index 6755618..8888791 100644 --- a/src/sass/main.scss +++ b/src/sass/main.scss @@ -166,6 +166,47 @@ header { } } + .error { + overflow: hidden; + + h1 { + @include adjust-font-size-to($base-font-size * 2); + font-weight: bold; + float: left; + } + + blockquote { + background-color: $green; + position: relative; + padding: rhythm(1); + display: inline-block; + font-style: italic; + float: right; + + &::before { + @include adjust-font-size-to($base-font-size * 4); + content: '\201c'; + position: absolute; + left: 0; + top: 0; + font-style: normal; + } + + &::after { + @include adjust-font-size-to($base-font-size * 4); + content: '\201d'; + position: absolute; + right: 0; + bottom: -0.5em; + font-style: normal; + } + } + + p { + clear: left; + } + } + .documentation { h1 { @include adjust-font-size-to($base-font-size * 2);