-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
101 lines (85 loc) · 1.52 KB
/
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
body {
background-color: #262626;
display: flex;
justify-content: center;
align-content: center;
flex-direction: column;
height: 100vh;
font-family: sans-serif !important;
padding: 0;
margin: 0;
}
header {
text-align: center;
color: white;
}
a {
color: white;
}
h1 a:hover {
color: #60a5fa;
}
main {
width: fit-content;
margin-inline: auto;
}
#screen {
height: 104px;
padding: 14px;
margin-bottom: 16px;
border-radius: 24px;
background-color: #737373;
width: 368px;
margin-inline: auto;
font-size: 32pt;
color: white;
text-align: right;
display: relative;
overflow-x: auto;
}
#screen * {
margin: 0;
}
#screen small {
font-size: 14pt;
}
#operation-symbol {
margin-left: 6px;
}
#buttons {
display: grid;
grid-template-columns: auto auto auto auto;
gap: 10px;
}
button {
width: 92px;
height: 92px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
border: none;
font-size: 32pt;
color: white;
background-color: #737373;
}
button:hover {
background-color: #525252;
}
button:active {
background-color: #404040;
}
.operator {
background-color: #3b82f6;
}
.operator:hover {
background-color: #2563eb;
}
.operator:active {
background-color: #1d4ed8;
}
#zero {
grid-column: span 2;
width: 194px;
border-radius: 92px;
}