forked from Rosie-Bradshaw/jumanji
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbody-contact.css
More file actions
115 lines (97 loc) · 1.98 KB
/
body-contact.css
File metadata and controls
115 lines (97 loc) · 1.98 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
106
107
108
109
110
111
112
113
114
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400&display=swap');
/* RESET */
* {
box-sizing: border-box;
margin:0;
padding:0;
border:0;
line-height: 1;
font-family: 'Inter', sans-serif;
text-decoration: none;
font-size: 1em;
background-color: transparent;
}
body{
background-color: #ffffff;
color: #202e0a;
}
main{
display: flex;
flex-flow: column nowrap;
padding-top: 3em;
margin: auto;
/* margin-left: 20vw;
margin-right: 20vw; */
width: 50vw;
justify-content: center;
}
main > h2{
text-align: center;
align-self: center;
font-size: 2em;
margin-bottom: 1em;
margin-top: 1em;
}
main form{
/* display: grid;
grid-template-columns: 1fr 2fr;
grid-template-rows: 1fr 1fr 3fr 1fr 1fr; */
display: flex;
flex-direction: column;
margin: auto;
}
/* main label{
grid-column-start: 1;
text-align: end;
align-self: center;
transform:translateY(-0.5em)
} */
main input, textarea{
display: flex;
text-align: start;
align-self: flex-start; /* esto hace algo raro*/
border: 1px solid #E38008;
border-radius: 35px;
padding: 0.5em;
margin: 1em 0;
gap: 2em;
min-width: 100%;
/* min-width: 39vw; */
/* max-width: 39vw; */
}
/* main > form > p, main input[text], main a[type="submit"]{
/* grid-column-start: 2; */
/* justify-self: center;
} */
main form {
display: flex;
justify-content: center;
margin: auto;
}
form>p {
margin: auto;
}
form .orange-button {
margin-top: 2em;
}
main a[type="submit"]{
width: 12em;
}
.text-input[placeholder="Escribe tu consulta"]{
border-radius: 15px;
/* max-width: 39vw;
min-width: 39vw; */
min-height: 12em;
/* max-height: 12em; */
/* resize: none; */
}
/* label[for="message"]{
align-self: start;
transform:translateY(1.5em)
} */
@media only screen and (max-width: 800px) {
main {
min-width: 80vw;
}
}
}