diff --git a/public/stylesheets/style.css b/public/stylesheets/style.css index 9453385..ff6fae6 100644 --- a/public/stylesheets/style.css +++ b/public/stylesheets/style.css @@ -6,3 +6,16 @@ body { a { color: #00B7FF; } +li:nth-of-type(odd){ + background: #dedede; +} +.head span{ + background: #00B7FF; + display: inline-block; + min-width : 10em; +} +.tags span{ + padding: 1em; + display: inline-block; + min-width : 10em; +} diff --git a/views/index.jade b/views/index.jade index 9ad292e..1282271 100644 --- a/views/index.jade +++ b/views/index.jade @@ -4,7 +4,14 @@ block content h1= title p Welcome to #{title} section.tags - h2= "Tags" - ul - each t in json.tags.tagstore - li= t.$.name + h2= Tags + ul.tags + li.head + span.name nom + span.color couleur + span.parent parent + each t in json.tags.tagstore.tag + li + span.name= t['$'].name + span.color= t['$'].color + span.parent= t['$'].parent