-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
94 lines (82 loc) · 1.54 KB
/
style.css
File metadata and controls
94 lines (82 loc) · 1.54 KB
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
body {
font-family: 'Inter', sans-serif;
background-color: #f4f4f4;
color: #333;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
header {
display: flex;
align-items: center;
justify-content: center;
height: 80px;
background-color: #4CAF50;
color: white;
width: 100%;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
margin: 0;
font-size: 2em;
}
main {
margin: 20px;
margin-top: 10vh;
width: 100%;
max-width: 500px;
background-color: white;
border-radius: 12px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
box-sizing: border-box;
}
.corpo {
text-align: center;
}
h2 {
font-size: 1.2em;
margin: 10px 0;
}
input[type="text"],
input[type="number"] {
width: calc(100% - 20px);
padding: 10px;
margin: 5px 0;
border-width: 0;
border-radius: 8px;
box-sizing: border-box;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.193);
transition: box-shadow 0.2s;
}
input[type="text"]:focus,
input[type="number"]:focus {
outline: none;
border-color: #4CAF50;
box-shadow: 0 0 8px rgba(0, 0, 0, 0.337);
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 20px;
border: none;
border-radius: 8px;
cursor: pointer;
font-size: 1em;
transition: background-color 0.2s;
}
button:hover {
background-color: #45a049;
}
.result {
margin-top: 20px;
}
#result {
color: #4CAF50;
}
#erro {
color: #d53131;
}