-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (90 loc) · 1.48 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
#calculator {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 300px;
height: 400px;
display: grid;
grid-template-columns: repeat(4, 1fr);
padding: 3px;
background-color: black;
}
p {
text-align: center;
font-family: monospace;
}
#display {
grid-column: 1/5;
grid-row: 1;
background-color: black;
}
#display h2, h3 {
text-align: right;
color: white;
margin: 0;
position: relative;
height: 1em;
padding: 0.7rem 1em 0em 1em;
font-family: monospace;
}
.button {
color: #333;
border: 1px solid black;
outline: none;
}
.button:hover {
color: white;
border: 1px solid #ddd;
}
.button:active {
border: 1px solid white;
transform: translateY(1px);
}
#clear {
background-color: orangered;
}
#clear:hover {
background-color: red;
}
#delete {
background-color: orange;
}
#delete:hover {
background-color: darkorange;
}
#equals {
color: #ee4;
background-color: dodgerblue;
}
#equals:hover {
color: white;
background-color: blue;
}
.number {
background-color: darkgray;
}
.math-operator{
color: #ee4;
background-color: lightslategrey;
}
.math-operator:hover {
color: white;
background-color: slategrey;
}
#multiply {
grid-row: 3;
grid-column: 4;
}
#add {
grid-row: 4;
grid-column: 4;
}
#subtract {
grid-row: 5;
grid-column: 4;
}
.bracket {
color: black;
background-color: rgb(122, 131, 139);
}