diff options
author | Joris | 2017-04-05 17:04:33 +0200 |
---|---|---|
committer | Joris | 2017-04-05 17:04:33 +0200 |
commit | 9a95a674fbbf1e64d3ad07922d569c3a1c751cf2 (patch) | |
tree | 2f99889040b0af406df1c403b9d930fe77e706cf /public | |
parent | f6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c (diff) |
Show aliments, glycemic index, carbohydrates and glycemic charge
Diffstat (limited to 'public')
-rw-r--r-- | public/icon.png | bin | 0 -> 399 bytes | |||
-rw-r--r-- | public/index.html | 4 | ||||
-rw-r--r-- | public/main.css | 26 |
3 files changed, 29 insertions, 1 deletions
diff --git a/public/icon.png b/public/icon.png Binary files differnew file mode 100644 index 0000000..48210e7 --- /dev/null +++ b/public/icon.png 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 @@ <!doctype html> <html> <head> - <title>Sucre</title> + <title>Glycémie</title> + <meta charset="UTF-8"> <link rel="stylesheet" href="main.css"> + <link rel="icon" href="icon.png"> </head> <body> <script src="main.js"></script> 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; +} |