-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
78 lines (66 loc) · 1.14 KB
/
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
:root {
--dark-color: #33333d;
--accent-green: #04b97f;
--accent-red: #c64e4e;
--light-color: whitesmoke;
}
* {
font-size: 22px;
font-family: 'Commissioner', sans-serif;
color: var(--light-color);
overflow: hidden;
}
body {
background-color: var(--dark-color);
}
#page {
position: fixed;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
display: flex;
align-items: center;
justify-content: center;
}
#screen {
text-align: right;
overflow: hidden;
max-width: 30px;
max-height: 30px;
}
table, th, td {
border: 2px solid var(--accent-green);
border-radius: 10px;
padding: 5px;
font-weight: bold;
overflow: hidden;
}
table {
border-spacing: 5px;
}
th, td {
padding: 15px;
}
th {
width: 30px;
height: 30px;
transition: 0.3s;
}
th:hover {
cursor: pointer;
background-color: var(--accent-green);
}
td {
letter-spacing: 2px;
}
.icon {
display: flex;
align-items: center;
justify-content: center;
border: 2px solid var(--accent-red);
transition: 0.3s;
}
.icon:hover {
background-color: var(--accent-red);
}