-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
49 lines (49 loc) · 845 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
*,
*::before,
*::after {
padding: 0;
margin: 0;
box-sizing: border-box;
font-size: 30px;
font-family: Arial;
user-select: none;
}
body {
background-color: #111;
}
.calc {
width: 400px;
margin: 100px auto;
}
.display {
color: #fff;
text-align: right;
font-size: 60px;
padding: 15px 75px;
}
.keypad-table tr:first-child .key {
background-color: #a5a5a5;
}
.keypad-table tr:first-child .key:active {
background-color: #a5a5a590;
}
.keypad-table tr td:last-child .key {
background-color: #ffa45c;
}
.keypad-table tr td:last-child .key:active {
background-color: #ffa45ccc;
}
.key {
width: 84px;
height: 84px;
border: 1px solid black;
text-align: center;
line-height: 90px;
border-radius: 90px;
background-color: #333;
color: #fff;
cursor: pointer;
}
.key:active {
background-color: #33333390;
}