aboutsummaryrefslogtreecommitdiff
path: root/public/main.css
diff options
context:
space:
mode:
authorJoris2017-04-05 17:04:33 +0200
committerJoris2017-04-05 17:04:33 +0200
commit9a95a674fbbf1e64d3ad07922d569c3a1c751cf2 (patch)
tree2f99889040b0af406df1c403b9d930fe77e706cf /public/main.css
parentf6a73e5bd6a5e2d7d4eb9c8a14bdf1a0c8a4ac4c (diff)
Show aliments, glycemic index, carbohydrates and glycemic charge
Diffstat (limited to 'public/main.css')
-rw-r--r--public/main.css26
1 files changed, 26 insertions, 0 deletions
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;
+}