-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
55 lines (54 loc) · 837 Bytes
/
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
.calculator {
width: fit-content;
margin: 4em auto;
border: 1px solid black;
padding: 1em;
box-shadow: 0.3em 0.3em 0.5em #8e8c8c;
border-radius: 0.8em;
}
button {
width: 5em;
height: 4em;
margin: 0.1em;
font-size: 1.1rem;
cursor: pointer;
outline: none;
border-radius: 1em;
}
.row {
display: flex;
}
#equal,
#clear {
width: 10.2em;
height: 4em;
}
p {
text-align: right;
background-color: #8e8c8c;
padding: 1em;
color: white;
font-size: 2rem;
border-radius: 0.8em;
border: 1px solid #5c5c5c;
pointer-events: none;
}
/* color buttons */
.number,
#decimal {
background-color: #c2c2c2;
}
#delete,
#clear {
background-color: #f55252;
}
.operations {
background-color: #ffa500;
}
.selected {
background-color: #b38531;
border-color: #886421;
}
#equal {
background-color: #7fb829;
}