-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
68 lines (61 loc) · 1.13 KB
/
main.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
:root {
--buttons-color: #B2DAFF;
}
body {
margin: 0;
}
.calculator-blu {
margin: 40px auto;
width: 375px;
height: 812px;
position: relative;
background: linear-gradient( rgb(240, 247, 255), rgb(207, 229, 254));
border-radius: 39px;
overflow: hidden;
border: none;
}
.calc-screen {
width: 300px;
height: 360px;
margin: 10px 0 0 28px;
display: grid;
justify-items: end;
align-items: end;
}
.calc-screen output {
font-size: 40px;
}
.buttons {
display: flex;
flex-wrap: wrap;
gap: 20px;
justify-content: start;
padding: 20px 0 0 26px;
}
.buttons button{
width: 62px;
height: 62px;
background: var(--buttons-color);
border: none;
border-radius: 20%;
cursor: pointer;
user-select: none;
font-size: 32px;
text-align: center;
color: #3994ea;
}
.buttons button :hover {
background: #d5e0ea;
}
.buttons button :active {
background: #3994ea;
}
.buttons .zero {
width: 145px;
border-radius: 16px;
}
.buttons .equal {
height: 145px;
transform: translate(0px, -82px);
border-radius: 16px;
}