-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
89 lines (74 loc) · 1.14 KB
/
styles.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
* {
font-family: sans-serif;
box-sizing: border-box;
}
body {
background: #eee;
}
.submit {
width: 100%;
overflow: hidden;
}
.disclaimer {
font-size: 0.8rem;
color: #666;
text-wrap: wrap;
margin: 1rem;
text-align: center;
}
h2 {
text-align: center;
margin-top: 2rem;
}
div.container {
padding: 2rem;
background: #fff;
box-shadow: 0px 0px 10px 0px #00000040;
border-radius: 5px;
margin: auto;
box-sizing: border-box;
}
div.formContainer {
width: 100%;
display: grid;
gap: 1rem;
}
.additionalOptions {
margin: 1.5rem 0 0.5rem
}
input,
select,
textarea {
border-radius: 3px;
border: 1px solid #999;
padding: 0.5rem;
}
label[required]::after {
content: '*';
color: red;
}
button {
background: #45a345;
border: 0;
border-radius: 3px;
padding: 0.5rem;
color: white;
width: 100%;
cursor: pointer;
}
button:disabled {
background: #999;
}
@media (min-width: 500px) {
div.formContainer {
grid-template-columns: max-content auto;
justify-content: center;
align-items: center;
}
div.container {
max-width: 500px;
}
.additionalOptions {
text-align: center;
}
}