-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (67 loc) · 1.33 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
body{
margin: 0px;
padding: 0px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
#main {
display: flex;
margin-top: 50px;
min-height: 700px;
align-items: center;
justify-content: center;
}
#pad {
width: 322px;
/* min-height: 494px; */
/* position:absolute; */
top:0;
right:0;
bottom:0;
left:0;
/* margin:auto; */
padding: 8px;
border: 1px solid black;
border-radius: 16px;
}
#calculator{
/* height: 256px; */
width: 360px;
display: flex;
flex-wrap: wrap;
}
button{
background-color: whitesmoke;
font-size: 32px;
height: 64px;
width: 64px;
margin: 8px;
border: 1px solid rosybrown;
box-shadow: 2px 2px black;
}
.clear {
width: 144px;
}
button:active{
transform: scale(0.98);
box-shadow: 2px 2px 22px 1px rgba(0, 0, 0, 0.24);
}
#display {
min-height: 74px;
margin: 8px;
padding-right: 6px;
padding-left: 6px;
font-size: 32px;
text-align: end;
overflow-wrap: break-word;
border: 1px solid black;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#upper {
font-size: 22px;
}
/* #bottom {
display: flex;
justify-content: space-between;
} */