-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
79 lines (64 loc) · 996 Bytes
/
style.css
File metadata and controls
79 lines (64 loc) · 996 Bytes
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
.calculator {
width: 400px;
margin: 50px auto;
background: #2c3350;
padding: 20px;
border-radius: 10px;
}
#display {
width: calc(100% - 20px);
height: 60px;
margin-bottom: 20px;
padding: 10px;
text-align: right;
background: #ecf0f1;
border: none;
border-radius: 5px;
}
.buttons {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 10px;
}
button {
padding: 15px;
font-size: 18px;
border: none;
border-radius: 5px;
color: white;
cursor: pointer;
transition: background 0.3s;
}
.sci {
background: #2980b9;
}
.num {
background: #34495e;
}
.operator {
background: #27ae60;
}
.clear {
background: #e74c3c;
}
.backspace {
background: #f39c12;
}
.equals {
background: #27ae60;
}
.decimal {
background: #34495e;
}
.mode {
background: #8e44ad;
}
.hidden {
visibility: hidden;
}
button:hover {
filter: brightness(0.8);
}
.paren {
background: #16a085;
}