-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
187 lines (150 loc) · 3.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
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
* {
font-family: Poppins;
}
body {
background-image: linear-gradient(90deg,#66a6ff,#89f7fe);
color: #1a263f;
}
.container {
width: 360px;
height: 470px;
padding: 10px 40px;
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
background-color: #fefeff;
border-radius: 10px;
box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}
.titulo-contato, .subtitulo {
text-align: center;
margin-bottom: -10px;
}
.grupo {
margin-top: 1.5em;
border: #ffffff;
border-top: 1px solid #b3b3b3;
}
.campo {
float: left;
margin-right: 3px;
margin-top: 10px;
margin-bottom: 10px;
border: #ffffff;
}
.email input {
width: 96.6%;
padding: .2em;
}
.campo input[type="text"], .email input[type="email"], .campo-texto textarea {
padding: .2em;
border: 1px solid #b3b3b3;
display: block;
}
textarea {
resize: none; /*Para retirar o redimensionamento da area de texto*/
width: 357px;
margin: 0px -2px 0px 0px;
height: 120px;
}
.botao:active {
background: #0a0a0a;
transform: translateY(4px);
}
.botao {
padding: 20px;
width: 200px;
font-size: 1.2em;
border: none;
color: #ffffff;
background: #090a14;
background-size: 200%;
margin-top: 20px;
padding: 0.2em 0.6em;
position: relative;
left: 22%;
border-radius: 4px;
box-shadow: 2px 5px #b3b3b3;
transition: all 0.5s;
cursor: pointer;
}
.botao span {
cursor: pointer;
display: inline-block;
position: relative;
transition: 0.5s;
}
.botao span:after {
content: '\00bb';
position: absolute;
opacity: 0;
top: 0;
right: -20px;
transition: 0.5s;
}
.botao:hover span {
padding-right: 25px;
}
.botao:hover span:after {
opacity: 1;
right: 0;
}
/* referencia para os botões -
https://www.w3schools.com/css/tryit.asp?filename=trycss_buttons_animate1
https://www.w3schools.com/css/tryit.asp?filename=trycss_buttons_animate3
*/
/*media query*/
@media (max-width: 991px) {
html {
font-size: 100%;
}
}
@media (max-width: 425px) { /*pc*/
.container {
width: 290px;
height: 520px;
}
.campo {
float: none;
width: 96.6%;
}
.campo input {
width: 96.6%;
}
textarea {
width: 280px;
margin: 0px 5.6875px 0px 0px;
height: 103px;
}
.botao {
left: 20%;
}
}
@media (max-width: 375px) {
.container {
width: 250px;
height: 520px;
}
textarea {
width: 251px;
}
.botao {
left: 10%;
}
}
@media (max-width: 320px) { /*celular*/
html {
font-size: 14px;
}
.container {
width: 200px;
}
textarea {
width: 205px;
height: 69px;
}
.botao {
left: 0;
}
}