-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
79 lines (68 loc) · 1.11 KB
/
style.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
body {
min-height: 100vh;
padding: 0;
margin: 0;
background: peru;
color: white;
}
.page {
min-height: 100vh;
display: flex;
flex-direction: column;
min-width: 200px;
max-width: 1000px;
width: 80%;
margin: 0 auto;
font-family: monospace;
font-size: 20px;
line-height: 1.2;
}
.page__header {
flex: 0 0;
padding: 1em 0;
}
.page__main {
flex: 1 0;
}
.page__footer {
flex: 0 0;
padding: 1em 0;
}
.form {
border: 1px solid ivory;
padding: 1em 1em 0;
}
.button {
font-family: monospace;
font-size: 20px;
flex: 1 1 0px;
margin: 0 0.5em 1em;
display: block;
}
.form__section {
padding: 0 0 1em;
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
}
.form__section label {
width:calc(25%);
margin-right: 0.5em;
white-space: nowrap;
min-width: 200px;
text-align: right;
}
.form__section input {
margin-left: 0.5em;
width:25%;
min-width: 200px;
}
.submit {
margin-right: 0.5em;
width: 100px;
}
.reset {
margin-left: 0.5em;
width: 100px;
}