-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
98 lines (82 loc) · 1.52 KB
/
style.css
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Roboto', sans-serif;
}
body {
width: 100vw;
height: 90vh;
background: #efefef;
align-items: center;
justify-content: center;
display: flex;
}
main {
width: 100%;
padding: 30px;
align-items: center;
}
h1{
text-align: center;
}
/* FORMULARIO */
form {
display: flex;
flex-direction: column;
margin: 10px;
width: 40%;
}
/* DIV DOS INPUTS */
.form-group {
margin: 10px;
align-items: center;
}
.conteudo{
display: flex;
justify-content: space-around;
align-items:center;
}
.input {
width: 100%;
}
/* INPUTS */
input[type=number], input[type=text] {
border: 1px solid #ececec;
border-radius: 5px;
padding: 5px;
}
/* BOTOES */
.botao {
border: 1px solid #ccc;
border-radius: 5px;
padding: 5px;
cursor: pointer;
}
#resultadoImc {
border: 1px solid #ccc;
width: 60px;
}
#aviso {
font-weight: bold;
}
/* DIV #resultado */
#resultado {
width: 40%;
height: auto;
border-radius: 5px;
border: 1px solid rgba(90, 90, 90, 0.24);
background: #fff;
text-align: center;
}
/* paragrafos do resultado */
.pessoa {
padding: 10px;
}
.pessoa:nth-child(odd) {
background: #efefef;
}
.pessoa:nth-child(even) {
background: #fff;
}