-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
85 lines (73 loc) · 1.16 KB
/
index.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
/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
margin: 0;
}
:root {
--color-font: #1A1921;
--color-bg: #FBF7EE;
}
@media (prefers-color-scheme: dark) {
:root {
--color-font: #fff;
--color-bg: #1F2937;
}
}
body {
background-color: #425876;
font-family: 'Inter', sans-serif;
}
h1 {
font-size: 22px;
font-weight: 800;
margin-bottom: 16px;
}
h2 {
font-size: 14px;
font-weight: 600;
margin-bottom: 8px;
}
p {
font-size: 14px;
font-weight: 400;
}
.conversion {
width: 98%;
max-width: 550px;
margin: 24px auto 0;
text-align: center;
}
.conversion__input {
background: linear-gradient(246.26deg, #585DFE 0%, #FB3796 100%);
color: #fff;
padding: 50px;
}
#unit-input {
font-size: 100px;
font-weight: 800;
width: 100%;
background: transparent;
color: #fff;
text-align: center;
border: 1px solid transparent;
}
#unit-input:focus-visible {
outline: none !important;
border-color: #fff;
}
.conversion__output {
background-color: var(--color-bg);
color: var(--color-font);
padding: 40px;
}
.conversion__output>section {
margin-bottom: 27px;
}