-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.css
91 lines (80 loc) · 1.43 KB
/
layout.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
html, body, div, p, ul, li {
margin: 0;
padding: 0;
text-align: center;
color: white;
}
ul {
list-style: none;
}
body {
height: 100%;
display: flex;
justify-content: center;
-webkit-justify-content: center;
align-items: center;
-webkit-align-items: center;
}
.container {
display: flex;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
justify-content: center;
-webkit-justify-content: center;
align-items: center;
-webkit-align-items: center;
flex-wrap: wrap;
width: 400px;
height: 400px;
}
.row {
display: flex;
display: -webkit-flex;
display: -moz-flex;
display: -ms-flex;
flex-grow: 1;
-webkit-flex-grow: 1;
-webkit-flex-grow: 1;
-moz-flex-grow: 1;
width: 360px;
margin-left: 20px;
margin-right: 20px;
vertical-align: middle;
}
.display {
width: 100%;
height: 40px;
margin: 0 10px;
padding: 0 10px 0 30px;
background-color: lightslategray;
text-align: right;
font-size: x-large;
}
.number-key {
width: 70px;
margin: 10px;
background-color: orange;
cursor: pointer;
}
.operator-key {
width: 70px;
margin: 10px;
background-color: grey;
cursor: pointer;
}
.equal-key {
width: 70px;
margin: 10px;
background-color: grey;
cursor: pointer;
}
.function-key {
width: 70px;
margin: 10px;
background-color: red;
cursor: pointer;
}
.number-key:hover, .operator-key:hover, .function-key:hover {
box-shadow: 3px 3px 3px #888888
}