-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
69 lines (69 loc) · 1.87 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css">
<title>Pantry Nutrition Explorer</title>
<link href="https://fonts.googleapis.com/css?family=Lato:300,400" rel="stylesheet">
<style>
body {
max-width: 1000px;
margin: 0 auto;
font-family: 'Lato', sans-serif;
}
h1,h4 {
text-align: center;
font-weight: 300;
margin-bottom: 40px;
}
.row {
display: flex;
justify-content: space-between;
margin: 30px 0 60px;
}
h3 {
text-align: center;
margin: 20px 0 0;
color: rgba(0,0,0,0.8);
}
[data-cell="viewof foodGroupFilter"] {
text-align: center;
}
text {
/* Use !important ONLY to override inline styles. */
font-family: 'Lato', sans-serif !important;
}
form div {
font-family: 'Lato', sans-serif !important;
text-align: center;
color: rgba(0,0,0,0.8);
}
h4 {
margin-top: 30px;
}
svg {
color: rgba(0,0,0,0.8);
}
</style>
</head>
<body>
<div class="loading">loading...</div>
<h1>Pantry Nutrition Explorer</h1>
<div data-cell="chart"></div>
<div class="ui">
<div class="row">
<div data-cell="viewof yMeasure"></div>
<div data-cell="viewof filter"></div>
<div data-cell="viewof xMeasure"></div>
</div>
<h3>Food Groups</h3>
<div data-cell="viewof foodGroupFilter"></div>
</div>
<div data-cell="style"></div>
<h4>
Visualization by <a href="https://zevyoura.com/">Zev Youra</a>,
data from <a href="https://ndb.nal.usda.gov/ndb/">USDA National Nutrient Database</a>
</h4>
<script src="observable-press.js" data-notebook="@zzzev/pantry-nutrition-explorer" data-load-all></script>
</body>
</html>