From 9a95a674fbbf1e64d3ad07922d569c3a1c751cf2 Mon Sep 17 00:00:00 2001 From: Joris Date: Wed, 5 Apr 2017 17:04:33 +0200 Subject: Show aliments, glycemic index, carbohydrates and glycemic charge --- public/icon.png | Bin 0 -> 399 bytes public/index.html | 4 +++- public/main.css | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 public/icon.png (limited to 'public') diff --git a/public/icon.png b/public/icon.png new file mode 100644 index 0000000..48210e7 Binary files /dev/null and b/public/icon.png differ diff --git a/public/index.html b/public/index.html index f1bb196..a322388 100644 --- a/public/index.html +++ b/public/index.html @@ -1,8 +1,10 @@ - Sucre + Glycémie + + diff --git a/public/main.css b/public/main.css index 6388837..86455a6 100644 --- a/public/main.css +++ b/public/main.css @@ -4,3 +4,29 @@ h1 { font-size: 46px; color: #33AA00; } + +ul.aliments { + display: table; + margin: 0 auto; +} + +ul.aliments > li { + display: table-row; +} + +ul.aliments > li.title { + font-weight: bold; +} + +ul.aliments > li > div { + display: table-cell; + padding: 15px; +} + +ul.aliments > li > .number { + text-align: right; +} + +ul.aliments > li:nth-child(2n+3) { + background-color: #EEEEEE; +} -- cgit v1.2.3