From 27b53da67bc1ed8b8d2359e48af686d818774a67 Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Thu, 9 Jun 2016 15:34:03 +0200 Subject: [PATCH] get rid of default stuff --- Rules | 2 +- content/stylesheet.css | 101 ----------------------------------------- layouts/default.erb | 15 +----- 3 files changed, 2 insertions(+), 116 deletions(-) diff --git a/Rules b/Rules index 81dffc1..7f8bdc8 100644 --- a/Rules +++ b/Rules @@ -15,7 +15,7 @@ route '/**/*.{html,md}' do if item.identifier =~ '/index.*' '/index.html' else - item.identifier.without_ext + '/index.html' + "#{item.identifier.without_ext}/index.html" end end diff --git a/content/stylesheet.css b/content/stylesheet.css index 7d8c8ac..e69de29 100644 --- a/content/stylesheet.css +++ b/content/stylesheet.css @@ -1,101 +0,0 @@ -* { - margin: 0; - padding: 0; - - font-family: Georgia, Palatino, serif; -} - -body { - background: #fff; -} - -a { - text-decoration: none; -} - -a:link, -a:visited { - color: #f30; -} - -a:hover { - color: #f90; -} - -#main { - position: absolute; - - top: 40px; - left: 280px; - - width: 500px; -} - -#main h1 { - font-size: 40px; - font-weight: normal; - - line-height: 40px; - - letter-spacing: -1px; -} - -#main p { - margin: 20px 0; - - font-size: 15px; - - line-height: 20px; -} - -#main ul, #main ol { - margin: 20px; -} - -#main li { - font-size: 15px; - - line-height: 20px; -} - -#main ul li { - list-style-type: square; -} - -#sidebar { - position: absolute; - - top: 40px; - left: 20px; - width: 200px; - - padding: 20px 20px 0 0; - - border-right: 1px solid #ccc; - - text-align: right; -} - -#sidebar h2 { - text-transform: uppercase; - - font-size: 13px; - - color: #333; - - letter-spacing: 1px; - - line-height: 20px; -} - -#sidebar ul { - list-style-type: none; - - margin: 20px 0; -} - -#sidebar li { - font-size: 14px; - - line-height: 20px; -} diff --git a/layouts/default.erb b/layouts/default.erb index 8f482ab..3688083 100644 --- a/layouts/default.erb +++ b/layouts/default.erb @@ -3,6 +3,7 @@ A Brand New Nanoc Site - <%= @item[:title] %> + @@ -12,19 +13,5 @@
<%= yield %>
-