-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
83 lines (70 loc) · 1.32 KB
/
styles.css
File metadata and controls
83 lines (70 loc) · 1.32 KB
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
* {
margin: 0;
padding: 0;
}
body{
background: rgb(26, 17, 17);
}
.container {
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.calculator {
height: 445px;
max-width: 460px;
border-radius: 4px;
background-color: gray;
}
.output {
height: 80px;
}
.keys {
gap: 5px;
padding: 10px;
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr;
}
.keys button:hover{
background-color: gray;
color: white;
}
.keys button:first-child {
color: #ffffff;
grid-column-end: 3;
grid-column-start: 1;
background-color: rgb(185, 50, 50);
}
.keys button:first-child:hover{
background-color: rgb(132, 30, 30);
}
.keys button:nth-child(15) {
color: #ffffff;
grid-row: 4 / 6;
grid-column: 4 / 4;
background-color: rgb(52, 52, 133);
}
.keys button:nth-child(15):hover{
background-color: rgb(31, 31, 86);
}
.keys button:nth-child(16) {
grid-column-start: 1;
grid-column-end: 3;
}
.input,
.result {
color: #fff;
height: 40px;
display: block;
font-size: 40px;
text-align: right;
padding-right: 10px;
}
button {
border: none;
font-size: 28px;
min-width: 80px;
min-height: 65px;
border-radius: 4px;
}