-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
63 lines (59 loc) · 975 Bytes
/
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
html, body {
padding: 0;
margin: 0;
}
body, input {
font: large/normal monospace;
}
body {
height: 100vh;
display: grid;
grid-template-rows: 3.5rem 1fr;
}
h1 {
font-size: 1.5rem;
font-weight: normal;
padding: 1rem;
margin: 0;
}
.converter {
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
.converter section {
margin-bottom:1.5rem;
display: flex;
flex-direction: column;
}
.converter section:first-child {
margin-bottom: 3rem;
}
.converter label {
margin-bottom: 0.5rem;
}
.converter label::after {
content: ": ";
}
.converter input {
background: transparent;
border-width: 0 0 0.15rem 0;
border-style: solid;
border-color: rgb(0, 0, 0, 0.2);
}
@media (min-width: 32rem) {
.converter section {
flex-direction: row;
}
.converter label {
width: 7rem;
margin-bottom: 0;
border-width: 0 0 0.15rem 0;
border-style: solid;
border-color: rgb(0, 0, 0, 0.2);
}
.converter input {
width: 26ch;
}
}