-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
75 lines (63 loc) · 1.21 KB
/
style.css
File metadata and controls
75 lines (63 loc) · 1.21 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
body {
font-family: sans-serif;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background-color: #222;
color: #fff;
}
.calculator {
background-color: #333;
border-radius: 5px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}
.display {
background-color: #444;
border-radius: 5px;
padding: 10px;
text-align: right;
font-size: 24px;
margin-bottom: 10px;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 10px;
}
button {
background-color: #555;
border: none;
border-radius: 5px;
padding: 15px;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s;
}
button:hover {
background-color: #777;
}
button:active {
background-color: #999;
}
.operator {
background-color: #f57c00;
color: #fff;
}
.operator:hover {
background-color: #ffa000;
}
.operator:active {
background-color: #e68a00;
}
.equal {
background-color: #4caf50;
color: #fff;
}
.equal:hover {
background-color: #45a049;
}
.equal:active {
background-color: #3e8e41;
}