-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.css
68 lines (58 loc) · 799 Bytes
/
main.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
form
{
display: flex;
flex-flow: row wrap;
}
form > section
{
border: 2px solid black;
border-radius: 2em;
margin: 1em;
padding: 1em;
position: relative;
display: flex;
flex: auto;
flex-flow: row wrap;
}
section > h2 {
text-align: center;
position: absolute;
top: -0.5em;
left: 2em;
padding: 0 1em;
margin: 0;
background: white;
}
section > p {
flex-basis: 100%;
}
fieldset
{
padding: 0 1em 1em;
flex: auto;
border-radius: 1em;
}
fieldset > label
{
display: block;
max-width: 16em;
min-width: fit-content;
}
h1
{
flex-basis: 100%;
text-align: center;
}
output
{
font-size: 3em;
vertical-align: middle;
}
input[type="reset"]
{
margin-left: auto
}
footer
{
margin: 1em;
}