-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
81 lines (81 loc) · 1.36 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
* {
box-sizing: border-box;
margin: 0;
padding: 0;
border: none;
}
body {
background-color: #876fff;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.calculator {
box-sizing: content-box;
width: 250px;
background: #2b2c2d;
border: 5px solid #28292a;
border-radius: 10px;
padding: 18px;
display: flex;
flex-direction: column;
gap: 18px;
box-shadow: 8px 8px 3px rgba(0, 0, 0, 0.25);
}
.visor {
height: 105px;
background-color: #74ff74;
border-top: 5px solid #0c620c54;
border-bottom: 5px solid #0c620c54;
font-family: 'calculator';
display: flex;
flex-direction: column;
text-align: end;
gap: 7px;
padding: 5px 17px;
border-radius: 3px;
}
.register {
flex: none;
height: 23.2px;
font-size: 20px;
}
.operation {
flex: none;
height: 57.6px;
font-size: 45px;
}
.grid {
height: 100%;
display: flex;
flex-wrap: wrap;
align-content: flex-start;
gap: 10px;
}
.grid button:hover {
opacity: 0.6;
}
.grid button:active {
opacity: 0.2;
}
.grid button {
background-color: rgb(57 57 57);
color: white;
font-size: 27px;
border-radius: 5px;
border: 2px solid #474747;
width: 55px;
height: 55px;
cursor: pointer;
}
button.operator {
background-color: #eea520;
}
button.equals {
background-color: #7c7c7c;
}
button.clear {
background-color: #ce2828;
}