forked from Solucaut/Gerador-de-assinaturas
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
181 lines (171 loc) · 2.91 KB
/
index.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
body {
font-family: Arial, Helvetica, sans-serif;
background-color: #ededed;
}
.app {
padding: 2vh 2vw 2vh 2vw;
}
.content {
max-width: 1040px;
margin: auto;
}
/* Cabecalho */
.header {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-left: 2vw;
padding-right: 2vw;
}
.header h1 {
font-size: 56px;
margin: 0;
font-weight: 400;
}
.header p {
font-size: 32px;
margin: 0;
font-weight: 500;
}
/* Formulario */
.forms {
margin-top: 5vh;
padding: 5vh 1vw 5vh 1vw;
align-items: center;
}
.forms form {
display: grid;
grid-template-columns: 1fr 1fr;
}
.form-input {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
/* top right bottom left */
padding: 1vh 1vw 1vh 1vw;
text-align: right;
}
.form-input p {
width: 15%;
}
label {
color: #5b3314;
}
input,
select {
outline: none;
box-sizing: border-box;
border: 2px solid #ff5100;
border-radius: 10px;
height: 40px;
background-color: #ff5100;
color: #ffffff;
width: 80%;
text-align: center;
}
input:focus,
select:focus {
outline: none;
box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.25);
}
button {
border-radius: 10px;
border: 0;
background-color: #ff5100;
box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.25);
color: #ffffff;
outline: none;
display: flex;
align-items: center;
justify-content: center;
transition: 500ms;
}
/* Botao */
.center-button {
display: flex;
justify-content: center;
align-items: center;
padding-top: 15px;
}
button:active {
box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
box-shadow: inset 2px 2px 20px rgba(0, 0, 0, 0.5);
}
button h2 {
font-size: 16px;
font-weight: 500;
}
/* Assinatura */
.assinatura-wrapper {
margin: auto;
display: flex;
align-items: center;
justify-content: center;
width: 100%;
}
.assinatura-div {
background-color: #ffffff;
display: inline-block;
}
/* Rodape */
footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: #ffffff;
margin: 40px auto 40px auto;
padding: 20px;
box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.25);
font-family: Verdana, Geneva, Tahoma, sans-serif;
width: fit-content;
}
footer div {
display: flex;
/* flex-direction: column; */
justify-content: center;
align-items: center;
}
footer div p {
margin-right: 10px;
}
@media (max-width: 800px) {
.app {
width: 100vw;
padding: 0;
display: flex;
flex-direction: column;
}
.header {
width: 100%;
}
.header h1 {
font-size: 32px;
text-align: center;
}
.header p {
font-size: 16px;
text-align: center;
}
.forms form {
display: grid;
grid-template-columns: 1fr;
}
input,
select {
width: 100%;
}
.form-input {
display: block;
}
.form-input p {
display: block;
width: auto;
text-align: start;
}
.assinatura-div {
overflow: hidden;
}
}