-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
68 lines (58 loc) · 1.44 KB
/
styles.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
body {
margin: 0;
padding: 0;
background-image: url('calculator.jpg');
background-size: cover;
font-family: Arial, sans-serif;
}
.calculator {
width: 300px;
margin: 100px auto;
padding: 20px;
background-color: black;
box-shadow: 0cap;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(24, 10, 10, 0.3); /* Added shadow for 3D effect */
}
#display {
width: calc(100% - 20px);
padding: 10px;
margin-bottom: 10px;
font-size: 24px;
border: none;
background-color: rgba(65, 64, 64, 0.9);
border-radius: 5px;
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}
.buttons {
display: grid;
box-shadow: 0cqh;
grid-template-columns: repeat(4, 1fr);
grid-gap: 5px;
}
button {
padding: 20px;
font-size: 18px;
background-color: rgba(255, 255, 255, 0.9);
border: none;
border-radius: 5px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Added shadow for 3D effect */
cursor: pointer;
}
button:hover {
background-color: rgba(255, 255, 255, 0.7);
}
.operator {
background-color: rgba(0, 128, 255, 0.9);
color: white;
}
.operator:hover {
background-color: rgba(0, 128, 255, 0.7);
}
button.delete {
background-color: rgba(255, 0, 0, 0.9);
color: white;
}
button.delete:hover {
background-color: rgba(255, 0, 0, 0.7);
}