-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
67 lines (65 loc) · 1.32 KB
/
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
64
65
66
67
@import url('https://fonts.googleapis.com/css2?family=Mada:wght@200;300;400;600&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
min-height: 100vh;
background-color: #efeff2;
display: flex;
justify-content: center;
align-items: center;
}
.calculator{
width: 300px;
height: 500px;
box-shadow: 4px 4px 30px rgba(0, 0, 0, 0.3);
border-radius: 12px;
background-color: #22252D;
overflow: hidden;
}
form input{
width: 100%;
height: 150px;
border-radius: 12px;
border: none;
font-size: 2rem;
color: #fff;
background-color: #000;
text-align: right;
pointer-events: none;
}
.buttons{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px;
}
button{
flex: 0 0 22%;
margin: 5px 0;
border: 1px solid #000;
width: 60px;
height: 52px;
font-size: 22px;
font-weight: 600;
border-radius: 5px;
cursor: pointer;
}
.btn-yellow{
background-color: rgb(235, 186, 28);
color: #fff;
}
.btn-grey{
background-color: rgb(173, 173, 173);
color: rgb(43, 43, 43);
}
.btn-equal{
background-color: rgb(10, 126, 35);
color: #fff;
}
.btn-clear{
background-color: rgb(235, 42, 28);
color: #fff;
}