From 4d7aab58da05380dcfefcdf30102fcd1964d4604 Mon Sep 17 00:00:00 2001 From: Thomas Schwery Date: Mon, 30 May 2016 07:55:12 +0200 Subject: [PATCH] Templates: Changed template to use boostrap columns to align the elements --- styles/customHighlight.css | 17 +++++++++-------- templates/index.hbs | 2 +- templates/recette.hbs | 30 +++++++++++++++++------------- 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/styles/customHighlight.css b/styles/customHighlight.css index df8e002..b9a07a3 100644 --- a/styles/customHighlight.css +++ b/styles/customHighlight.css @@ -5,16 +5,17 @@ } .ingredients { - display: inline-block; list-style-type: none; - max-width: 240px; + margin-right: 0px; + padding-right: 0px; } .instructions { - display: inline-block; - position: absolute; - left: 250px; - bottom: 10px; + margin-left: 0px; +} + +.ing-quantity { + text-align: right; } .ing-name { @@ -26,10 +27,10 @@ } .content-title { - text-align: left; border-bottom: solid 1px; + margin-bottom: -10px; } -.header { +.header-metadata { text-align: right; } diff --git a/templates/index.hbs b/templates/index.hbs index 63754bb..d89c501 100644 --- a/templates/index.hbs +++ b/templates/index.hbs @@ -23,7 +23,7 @@ {{#each pagination.files}}
-

+

{{ data.title }}

diff --git a/templates/recette.hbs b/templates/recette.hbs index 7418244..82d44de 100644 --- a/templates/recette.hbs +++ b/templates/recette.hbs @@ -19,28 +19,32 @@

Recette {{ data.title }}

- - {{ category }} - -