-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (75 loc) · 1.16 KB
/
style.css
File metadata and controls
91 lines (75 loc) · 1.16 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Arial, Helvetica, sans-serif;
background: #EBEBEB;
display: flex;
justify-content: center;
min-height: 100vh;
align-items: center;
}
.calculator{
width: 350px;
height: 550px;
background: black;
border-radius: 20px;
padding: 20px;
box-shadow: 3px 9px 18px rgba(0, 0, 0, .5);
}
.display{
text-align: right;
padding: 10px;
max-height: 120px;
overflow: hidden;
white-space: nowrap;
}
.previous-operation{
font-size: 20px;
height: 40px;
color: gray;
}
.current-operation{
color: #fff;
height: 60px;
display: flex;
justify-content: flex-end;
}
.buttons{
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
button{
width: 70px;
height: 70px;
border-radius: 50%;
border: none;
outline: none;
font-size: 30px;
cursor: pointer;
color: #fff;
}
.gray{
background: #666;
transition: .2s;
}
.gray:hover{
background: #888;
}
.orange{
background: orange;
transition: .2s;
}
.orange:hover{
background: rgb(252, 185, 59);
}
.black{
background: #1f1f1f;
transition: .2s;
}
.black:hover{
background: #3f3f3f;
}