-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
114 lines (109 loc) · 2.12 KB
/
Copy pathindex.css
File metadata and controls
114 lines (109 loc) · 2.12 KB
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
/* Requirements
Follow the design spec
Generate all conversions when
the user clicks "Convert"
Round the numbers down to
three decimal places */
/* typography */
body {
margin: 0;
font-family: "Inter", sans-serif;
}
h1{
font-size: 28px;
font-weight: 750;
margin-bottom: 0px;
}
h2{
font-size: 20px;
}
/* header */
.header-div{
background-color: #6943FF;
color: white;
text-align: center;
padding: 20px 0px;
margin: 0px;
}
#inputEl{
width: 105px;
height: 70px;
margin-bottom: 25px;
margin-top: 30px;
font-family: "Inter", sans-serif;
color: white;
font-weight: bold;
background-color:#6943FF;
border: 2px solid #B295FF;
border-radius: 4px;
font-size: 45px;
text-align: center;
}
button{
display: block;
margin: 0px auto;
font-family: "Inter", sans-serif;
background-color: white;
color: #3D3D3D;
border: none;
padding: 12px 24px;
border-radius: 5px;
font-weight: 500;
font-size: 16px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.header-div button:hover{
cursor: pointer;
background-color: whitesmoke;
transition: background-color 0.1s ease, color 0.1s ease;
}
.header-div button:active{
background-color: #B295FF;
color: white;
}
#reset-btn{
background: rgb(255, 54, 4);
color: whitesmoke;
margin-top: 12px;
transition: background-color 0.1s ease, color 0.1s ease;
padding: 8px 33px;
}
#reset-btn:hover{
background: rgb(250, 89, 89);
transition: background-color 0.1s ease, color 0.1s ease;
}
#reset-btn:active{
background: rgb(255, 152, 152);
}
#errorEl{
min-height: 1.5em;
color: whitesmoke;
}
/* results */
.results-div{
background-color: #F4F4F4;
margin: 0px;
height: 100%;
text-align: center;
padding-top: 20px;
}
.results-div h2{
margin: 0px;
}
.result-div{
padding: 25px 0;
color: #353535;
width: 90%;
margin: 0px auto;
background-color: white;
margin-top: 20px;
border: none;
border-radius: 5px;
}
.result-div h2{
color: #5A537B;
margin: 0px;
}
.result-div p{
margin-bottom: 0px;
}