Skip to content

Commit a3f37ee

Browse files
Ticiana AndradeTiciana Andrade
authored andcommitted
Cleanning CSS files
1 parent 1747e45 commit a3f37ee

File tree

5 files changed

+142
-261
lines changed

5 files changed

+142
-261
lines changed

css/index.css

Lines changed: 62 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -4,134 +4,101 @@
44
left: 0;
55
width: 100vw;
66
height: 100vh;
7-
background: rgba(0,0,0,0.2);
7+
background: rgba(0,0,0,0.5);
88
overflow: hidden;
99
z-index: 98;
1010
}
11-
.on-success div{
12-
position: absolute;
13-
top: 50%;
14-
left: 50%;
15-
transform: translate(-50%, -50%);
16-
width: 60vw;
17-
height: 40vh;
18-
border-radius: 2em;
19-
text-align: center;
20-
background: #333333;
21-
z-index: 99;
11+
.on-success div {
12+
position: absolute;
13+
top: 50%;
14+
left: 50%;
15+
transform: translate(-50%, -50%);
16+
width: 90vw;
17+
height: 90vh;
18+
max-width: 600px;
19+
max-height: 500px;
20+
border-radius: 2em;
21+
text-align: center;
22+
background: #333333;
2223
display: flex;
2324
flex-flow: column wrap;
2425
align-items: center;
2526
justify-content: center;
27+
z-index: 99;
2628
}
27-
2829
.on-success div h1 {
2930
color: white;
3031
}
3132
.error {
3233
border:2px solid red;
3334
}
34-
3535
.errorsBlock {
3636
font-size: 14px;
3737
color: red;
3838
}
39-
4039
.hiddenWindow {
4140
display: none;
4241
}
43-
44-
@media only screen and (max-width : 680px) {
45-
.on-success h1 {
46-
font-size: 30px;
47-
}
48-
}
49-
50-
a img {
51-
position: absolute;
52-
height: 4em;
53-
width: 4em;
54-
top: 4%;
55-
}
56-
57-
a img:hover {
58-
height: 5em;
59-
width: 5em;
60-
}
61-
6242
form {
6343
background-color: #efefef;
64-
width: 40em;
44+
width: calc(100% - 10em);
45+
max-width: 640px;
46+
min-height: 500px;
47+
padding: 3em;
6548
flex: 0;
66-
padding: 3em 5em;
6749
text-align: center;
6850
z-index: 2;
6951
}
70-
input {
71-
font-family: "Montserrat", sans-serif;
72-
font-weight: 300;
73-
font-size: 16px;
74-
background: inherit;
75-
border: none;
76-
border-bottom: 2px solid black;
77-
padding: 0.5em;
78-
}
79-
select {
80-
font-family: "Montserrat", sans-serif;
81-
font-weight: 300;
82-
font-size: 16px;
83-
background: inherit;
84-
border: 2px solid black;
85-
}
52+
input,
53+
select,
8654
textarea {
87-
font-family: "Montserrat", sans-serif;
88-
font-weight: 300;
89-
font-size: 16px;
90-
background: inherit;
55+
font-family: "Montserrat", sans-serif;
56+
font-weight: 300;
57+
font-size: 16px;
58+
background: inherit;
9159
border: 2px solid black;
9260
}
93-
input[type='file']{
61+
input {
62+
border: none;
63+
border-bottom: 2px solid black;
64+
padding: 0.5em;
65+
}
66+
input[type='file'] {
9467
width: 60%;
95-
border:none;
96-
font-family: "Montserrat", sans-serif;
97-
font-weight: 400;
98-
font-size: 16px;
99-
padding: 1em 2em;
68+
border:none;
69+
font-family: "Montserrat", sans-serif;
70+
font-weight: 400;
71+
font-size: 16px;
72+
padding: 1em 2em;
10073
}
10174
button {
102-
font-family: "Montserrat", sans-serif;
103-
font-weight: 700;
104-
font-size: 18px;
105-
padding: 1em 2em;
106-
margin: 1em;
107-
text-transform: uppercase;
108-
border: none;
109-
border-radius: 2em;
110-
background: #20D7C0;
111-
color: white;
112-
cursor: pointer;
113-
transition: all 0.3s ease-in-out;
75+
font-family: "Montserrat", sans-serif;
76+
font-weight: 700;
77+
font-size: 18px;
78+
padding: 1em 2em;
79+
margin: 1em;
80+
text-transform: uppercase;
81+
border: none;
82+
border-radius: 2em;
83+
background: #20D7C0;
84+
color: white;
85+
cursor: pointer;
86+
transition: all 0.3s ease-in-out;
87+
}
88+
button:hover {
89+
background: black;
90+
color: #20D7C0;
11491
}
115-
button:hover{
116-
background: black;
117-
color: #20D7C0;
118-
}
119-
120-
@media all and (max-width: 640px){
121-
form {
122-
width: 21em;
123-
font-size: 1em;
124-
}
125-
input[type=text], textarea {
126-
width:50%;
127-
}
128-
a img {
129-
height: 3em;
130-
width: 3em;
131-
}
13292

133-
a img:hover {
134-
height: 4em;
135-
width: 4em;
136-
}
93+
@media all and (max-width: 640px) {
94+
.on-success h1 {
95+
font-size: 30px;
96+
}
97+
form {
98+
font-size: 1em;
99+
}
100+
input[type=text],
101+
textarea {
102+
width:50%;
103+
}
137104
}

0 commit comments

Comments
 (0)