-
Notifications
You must be signed in to change notification settings - Fork 208
/
Copy pathindex.css
104 lines (103 loc) · 1.68 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
.on-success {
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0,0,0,0.5);
overflow: hidden;
z-index: 98;
}
.on-success div {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 90vw;
height: 90vh;
max-width: 600px;
max-height: 500px;
border-radius: 2em;
text-align: center;
background: #333333;
display: flex;
flex-flow: column wrap;
align-items: center;
justify-content: center;
z-index: 99;
}
.on-success div h1 {
color: white;
}
.error {
border:2px solid red;
}
.errorsBlock {
font-size: 14px;
color: red;
}
.hiddenWindow {
display: none;
}
form {
background-color: #efefef;
width: calc(100% - 10em);
max-width: 640px;
min-height: 500px;
padding: 3em;
flex: 0;
text-align: center;
z-index: 2;
}
input,
select,
textarea {
font-family: "Montserrat", sans-serif;
font-weight: 300;
font-size: 16px;
background: inherit;
border: 2px solid black;
}
input {
border: none;
border-bottom: 2px solid black;
padding: 0.5em;
}
input[type='file'] {
width: 60%;
border:none;
font-family: "Montserrat", sans-serif;
font-weight: 400;
font-size: 16px;
padding: 1em 2em;
}
button {
font-family: "Montserrat", sans-serif;
font-weight: 700;
font-size: 18px;
padding: 1em 2em;
margin: 1em;
text-transform: uppercase;
border: none;
border-radius: 2em;
background: #20D7C0;
color: white;
cursor: pointer;
transition: all 0.3s ease-in-out;
}
button:hover {
background: black;
color: #20D7C0;
}
@media all and (max-width: 640px) {
.on-success h1 {
font-size: 30px;
}
form {
font-size: 1em;
}
input[type=text],
textarea {
width:50%;
}
}