blob: 572083c78db467bb94129648279d4d31d032bdc5 (
plain) (
blame)
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
|
html, body {
height: 100%;
margin: 0;
}
body {
font: 21px sans-serif;
}
#content {
height: 100%;
max-width: 20em;
margin-left: auto;
margin-right: auto;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#title {
font-size: 2em;
font-weight: bold;
}
#content input[type=text], #content #submit-btn {
border: 2px solid black;
border-radius: 0.4em;
box-sizing: border-box;
width: 100%;
margin-top: 0.5em;
font-size: 0.8em;
padding: 0.3em;
}
#content input[type=text]:nth-last-of-type(1) {
margin-bottom: 0.5em;
}
input[type=text]:focus, button[type=submit]:focus {
outline: 0;
}
#content hr {
width: 100%;
border: 1px solid black;
box-sizing: border-box;
}
#submit-btn {
background-color: black;
color: white;
text-align: center;
}
#submit-btn:hover {
border-color: darkgrey;
background-color: darkgrey;
}
|