-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (74 loc) · 2.7 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Diabetes</title>
<link rel="icon" type="image/png" sizes="32x32" href="images/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css">
<link rel='stylesheet' href='https://unpkg.com/bulma@0.7.4/css/bulma.min.css'>
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
<link rel='stylesheet' href="css/prism.css">
<link rel="stylesheet" href="css/cheatsheet.css">
</head>
<body>
<section class="hero is-primary">
<div class="hero-body">
<div class="columns">
<div class="column is-12">
<div class="container content">
<h1 class="title">Diabetes</h1>
<h3 class="subtitle">
Pequeno projeto para auxiliar o controle glicêmico
</h3>
</div>
</div>
</div>
</div>
</section>
<section class="section">
<div class="container">
<div class="columns">
<div class="column is-3">
<aside class="is-medium menu">
<p class="menu-label">
MENU
</p>
<ul class="menu-list">
<li class="is-right"><a href="conversor" class="is-active"><i class="fas fa-calculator"></i> Conversor</a></li>
</ul>
</aside>
</div>
<div class="column is-9">
<div class="content is-medium">
<h3 class="title is-3">Últimas</h3>
<div class="box">
<h4 id="const" class="title is-3">Conversor mg/dL.</h4>
<article class="message is-primary">
<div class="message-body">
Existem duas formas diferentes de medir os níveis de glucose sanguínea: esta medição pode ser efetuada em termos de concentração molar, medida em mmol/L ou de concentração mássica, medida em mg/dL.
</div>
</article>
<a href="conversor" class="button is-primary">
Acessar Conversor</a>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
</footer>
<script src='https://cdnjs.cloudflare.com/ajax/libs/prism/9000.0.1/prism.js'></script>
<script>
window.addEventListener('resize', () => {
const divs = document.querySelectorAll(".menu-list");
if (window.innerWidth < 768){
divs.forEach(div => div.classList.add("tags"));
}
else {
divs.forEach(div => div.classList.remove("tags"));
}
});
</script>
</body>
</html>