-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathformulario.css
More file actions
105 lines (88 loc) · 2.04 KB
/
formulario.css
File metadata and controls
105 lines (88 loc) · 2.04 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
95
96
97
98
99
100
101
102
103
104
105
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600&display=swap');
*{
margin: 0;
padding: 0;
}
#título{
font-family: "poppins";
color: #ffffff;
margin-left: 80%;
position: absolute;
top: 50%;
left: 60%;
}
#subtítulo{
font-family: "poppins";
font-size: large;
color: #ffffff;
margin-left: -40%;
}
fieldset {
border:0;
}
body{
font-family: "poppins";
font-size: 15px;
background: linear-gradient(50deg, #d66828, rgba(255, 94, 0, 0.87));
background-repeat: no-repeat;
min-height: 100vh;
min-width: 100vw;
display: flex;
align-items: center;
justify-content: center;
}
input, select, textarea, button{
font-family: sans-serif;
font-size: 1em;
color: #000000;
border-radius: 7px;
}
.campo{
margin-bottom: 0.5em;
}
.campo label{
margin-bottom: 0.2em;
color: #ffffff;
display: block;
}
fieldset.grupo .campo{
float: left;
margin-right: 1em;
}
.campo input[type="text"], .campo input[type="email"], .campo select, .campo textarea{
padding: 0.2em;
border: 1px solid #ffff;
box-shadow: 2px 2px 2px #e09e60;
display:block;
}
.campo select option {
padding-right: 1em;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
background: #e9d0b0;
}
.botao{
font-family: "poppins";
font-size: 1.0em;
background: #ffffff;
border: 0;
margin-bottom: 1em;
color: rgba(255, 94, 0, 0.87);
padding: 0.2em 0.6em;
box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
position: absolute;
top: 98%;
left: 40.8%;
margin-right: -20%;
transform: translate(-50%, -50%)
}
.botao:hover {
font-family: "poppins";
background: #ffff;
box-shadow: inset 2px 2px 2px rgba (255, 94, 0, 0.87);
text-shadow: none;
}
.botao, select{
cursor: pointer;
}