-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
66 lines (58 loc) · 1.02 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
.calculator {
width: 280px;
height: 400px;
margin: auto;
background-color: #f0f0f0;
box-shadow: 0 0 10px #ccc;
border-radius: 5px;
}
.display {
width: 90%;
height: 70px;
padding: 10px;
}
.display input {
width: 100%;
height: 100%;
border: none;
border-radius: 5px;
background-color: #fff;
font-size: 2em;
text-align: right;
padding-right: 10px;
box-shadow: 0 0 5px #ccc;
outline: none;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 5px;
padding: 10px;
}
button {
font-size: 1.5em;
padding: 10px;
background-color: #fff;
border: 1px solid #ccc;
cursor: pointer;
border-radius: 5px;
box-shadow: 0 0 5px #ccc;
}
.operator {
background-color: #FF9500;
color: #fff;
border-color: #FF9500;
}
.operator:hover {
background-color: #ffad33;
border-color: #ffad33;
}
#equals {
background-color: #4cd964;
color: #fff;
border-color: #4cd964;
}
#equals:hover {
background-color: #5fe075;
border-color: #5fe075;
}