From 2e673e1d65b835da45b9c026a33418a8c11a785e Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Wed, 10 Jul 2013 11:31:00 -0400 Subject: [PATCH] Add custom 404 page --- 404.md | 15 +++++++++++++++ about.md | 3 ++- assets/css/main.css | 4 ++++ assets/less/page.less | 33 +++++++++++++++++++++++++++++++++ 4 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 404.md diff --git a/404.md b/404.md new file mode 100644 index 0000000..fe2decb --- /dev/null +++ b/404.md @@ -0,0 +1,15 @@ +--- +layout: page +title: "Page Not Found" +description: "Page not found. Your pixels are in another canvas." +--- + +Sorry, but the page you were trying to view does not exist --- perhaps you can try searching for it below. + + + \ No newline at end of file diff --git a/about.md b/about.md index a14eab2..197d610 100644 --- a/about.md +++ b/about.md @@ -2,7 +2,7 @@ layout: page permalink: /about/index.html title: About the Jekyll Theme -tags: [Jekyll, theme, themes, simple, minimal, minimalism, responsive] +tags: [Jekyll, theme, simple, minimal, minimalism, responsive] image: feature: so-simple-sample-image-4.jpg --- @@ -19,6 +19,7 @@ Looking for a simple, responsive, theme for your Jekyll powered blog? Well look * Disqus comments if you choose to enable. * Simple and clear permalink structure[^1]. * Tags for [Open Graph](https://developers.facebook.com/docs/opengraph/) and [Twitter Cards](https://dev.twitter.com/docs/cards) for a better social sharing experience. +* Custom 404 page Install Minimal Mistakes Theme diff --git a/assets/css/main.css b/assets/css/main.css index 5243121..5e0288f 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -615,3 +615,7 @@ span+.entry-title{margin-top:0;} .footer-wrapper a{color:#666666;} .social-icons{margin:1em 0 2em;}.social-icons a{padding:4px 8px;}.social-icons a:hover{color:#000000;} .upgrade{padding:10px;text-align:center;} +#goog-fixurl ul{list-style:none;margin-left:0;padding-left:0;}#goog-fixurl ul li{list-style-type:none;} +#goog-wm-qt{width:auto;margin-right:10px;} +#goog-wm-sb{display:inline-block;padding:8px 20px;background-color:#000000;color:#ffffff;border:2px solid #000000 !important;-webkit-border-radius:20px;-moz-border-radius:20px;border-radius:20px;}#goog-wm-sb:visited{color:#ffffff;} +#goog-wm-sb:hover{background-color:#ffffff;color:#000000;} diff --git a/assets/less/page.less b/assets/less/page.less index 027e4ab..b28b8bc 100644 --- a/assets/less/page.less +++ b/assets/less/page.less @@ -395,4 +395,37 @@ span + .entry-title { .upgrade { padding: 10px; text-align: center; +} + +// Google Search +// -------------------------------------------------- + +#goog-fixurl { + ul { + list-style: none; + margin-left: 0; + padding-left: 0; + li { + list-style-type: none; + } + } +} +#goog-wm-qt { + width: auto; + margin-right: 10px; +} +#goog-wm-sb { + display: inline-block; + padding: 8px 20px; + background-color: @black; + color: @white; + border: 2px solid @black !important; + .rounded(20px); + &:visited { + color: @white; + } + &:hover { + background-color: @white; + color: @black; + } } \ No newline at end of file