aboutsummaryrefslogtreecommitdiff
path: root/public
diff options
context:
space:
mode:
authorJoris2017-04-05 17:04:33 +0200
committerJoris2017-04-05 17:04:33 +0200
commit9a95a674fbbf1e64d3ad07922d569c3a1c751cf2 (patch)
tree2f99889040b0af406df1c403b9d930fe77e706cf /public
parentf6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c (diff)
Show aliments, glycemic index, carbohydrates and glycemic charge
Diffstat (limited to 'public')
-rw-r--r--public/icon.pngbin0 -> 399 bytes
-rw-r--r--public/index.html4
-rw-r--r--public/main.css26
3 files changed, 29 insertions, 1 deletions
diff --git a/public/icon.png b/public/icon.png
new file mode 100644
index 0000000..48210e7
--- /dev/null
+++ b/public/icon.png
Binary files 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 @@
<!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;
+}