diff --git a/flow/Rules b/flow/Rules index e6f6fdb..847741c 100644 --- a/flow/Rules +++ b/flow/Rules @@ -2,7 +2,7 @@ compile '/index.asciidoc' do filter :asciidoctor, attributes: 'showtitle=true' - layout '/default.html' + layout '/home.html' write item.identifier.without_ext + '.html' end diff --git a/flow/content/css/stylesheet.css b/flow/content/css/stylesheet.css index c56d152..376fa19 100644 --- a/flow/content/css/stylesheet.css +++ b/flow/content/css/stylesheet.css @@ -1,8 +1,7 @@ * { margin: 0; padding: 0; - - font-family: Georgia, Palatino, serif; + font-family: sans-serif; } body { @@ -24,27 +23,21 @@ a:hover { #main { position: absolute; - top: 40px; left: 280px; - - width: 500px; + width: 800px; } #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; } @@ -54,7 +47,6 @@ a:hover { #main li { font-size: 15px; - line-height: 20px; } @@ -64,39 +56,29 @@ a:hover { #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/flow/layouts/default.html b/flow/layouts/default.html deleted file mode 100644 index 789f94f..0000000 --- a/flow/layouts/default.html +++ /dev/null @@ -1,26 +0,0 @@ - - - <%= render '/partials/head.html' %> - - <%= render '/partials/navigation.html' %> -
- <%= yield %> -
- - - diff --git a/flow/layouts/home.html b/flow/layouts/home.html new file mode 100644 index 0000000..d3b9297 --- /dev/null +++ b/flow/layouts/home.html @@ -0,0 +1,20 @@ + + + <%= render '/partials/head.html' %> + + <%= render '/partials/navigation.html' %> +
+ <%= yield %> +
+ + + diff --git a/flow/lib/profiles.rb b/flow/lib/profiles.rb new file mode 100644 index 0000000..2119af2 --- /dev/null +++ b/flow/lib/profiles.rb @@ -0,0 +1,9 @@ +def profiles + out = +'' + + @config[:profiles].each do |profile| + out << "
  • #{profile[:name]}
  • \n" + end + + out +end diff --git a/flow/lib/project_list.rb b/flow/lib/projects.rb similarity index 100% rename from flow/lib/project_list.rb rename to flow/lib/projects.rb diff --git a/flow/lib/services.rb b/flow/lib/services.rb new file mode 100644 index 0000000..2b83232 --- /dev/null +++ b/flow/lib/services.rb @@ -0,0 +1,9 @@ +def services + out = +'' + + @config[:services].each do |service| + out << "
  • #{service[:name]}
  • \n" + end + + out +end