-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
62 lines (55 loc) · 1.04 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
.container {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(5, 1fr);
width: 300px;
height: 400px;
grid-template-areas:
"output output clear clear"
"one two three add"
"four five six subtract"
"seven eight nine multiply"
"zero dot equals divide";
border: 2px solid grey;
justify-items: center;
border-radius: 5px;
margin: auto;
margin-top: 200px;
}
.output {
grid-area: output;
border: 10px solid;
border-color: lightsteelblue;
width: 130px;
background-color: white;
text-align: center;
padding: 10px 0;
font: 30px "Fira Sans";
font-weight: bold;
}
.button {
width: 75px;
border: 1px solid grey;
font: 2em "Fira Sans";
font-weight: bold;
background-color: #629bdc;
}
.button:hover {
opacity: .7;
box-shadow: 1px 1px 5px #fff;
cursor: pointer;
}
.clear {
background-color: #3d93f5;
grid-area: clear;
width: 150px;
}
.add, .subtract, .multiply, .divide {
background-color: #525252;
}
.equals, .dot {
opacity: .8;
}
body {
background: lightskyblue;
}