-
Notifications
You must be signed in to change notification settings - Fork 0
/
calculator.css
58 lines (51 loc) · 980 Bytes
/
calculator.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
body {
background-color: black;
}
#pad {
user-select: none;
width: 156px;
margin: auto;
background-color: silver;
border: 3px solid darkgray;
border-radius: 12px;
border-bottom: 7px solid darkgray;
padding: 10px;
cursor: default;
}
.row {
width: 100%;
margin: 6px 0;
display: table;
}
#display {
text-align: right;
font-size: x-large;
font-family: monospace;
border-radius: 8px;
margin: 15px 2px;
padding-right: 11px;
background-color: #ffffd0;
}
.key {
margin: 0 2%;
background-color: #ffffe6;
border-radius: 5px;
display: inline-block;
text-align: center;
font-size: large;
width: 21%;
border-bottom: 2px solid bisque;
}
.key, #display {
font-weight: bold;
padding-top: 6px;
padding-bottom: 4px;
}
#equal {
background-color: sandybrown;
}
.key:active {
box-shadow: 0 0 5px sandybrown;
color: bisque;
background-color: sandybrown;
}