-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
74 lines (62 loc) · 1.04 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
/* Reset da pagina */
* {
margin: 0;
box-sizing: border-box;
}
:root {
/* Cores */
--primary-color: hsl(234, 27%, 14%);
--text-color: hsl(0, 0%, 100%);
}
body {
background: var(--primary-color);
color: var(--text-color);
text-align: center;
font-family: sans-serif;
}
#container {
margin-top: 6.25rem;
width: 80%;
max-width: 25rem;
margin-inline: auto;
}
h1 {
margin-top: 4.25rem;
margin-bottom: 0.625rem;
opacity: 0.9;
}
p {
margin-bottom: 2.5rem;
opacity: 0.7;
}
input,
button {
display: block;
width: 100%;
padding: 1.25rem;
font-size: 1.25rem;
border-radius: 0.25rem;
}
input {
margin-bottom: 1.25rem;
}
button {
border: none;
background-color: blueviolet;
color: white;
transition: filter 0.3s;
}
button:hover {
filter: brightness(1.2);
cursor: pointer;
}
#resposta {
margin-top: 1.8rem;
transition: opacity 1s;
}
#resposta div {
font-size: 1rem;
font-weight: normal;
opacity: 0.9;
margin-bottom: 1.6rem;
}