-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
83 lines (72 loc) · 1.23 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
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-color: #3a4764;
}
.calculator {
background-color: #232c43;
border-radius: 10px;
padding: 20px;
width: 300px;
}
h1 {
color: white;
margin-bottom: 20px;
}
.display {
background-color: #182034;
border-radius: 5px;
margin-bottom: 20px;
padding: 10px;
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
white-space: nowrap;
border-width: 0;
}
#result {
width: 100%;
border: none;
background-color: transparent;
color: white;
font-size: 32px;
text-align: right;
}
.keypad {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
.key {
background-color: #eae3dc;
border: none;
border-radius: 5px;
color: #444b5a;
font-size: 18px;
padding: 10px;
cursor: pointer;
}
.key:hover {
background-color: #ffffff;
}
.func {
background-color: #637097;
color: white;
}
.equals {
background-color: #d03f2f;
color: white;
}
.wide {
grid-column: span 2;
}