-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
110 lines (95 loc) · 1.8 KB
/
styles.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
.calculator {
height: 600px;
width: 400px;
background-color: black;
display: flex;
flex-direction: column;
justify-content: space-between;
box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5);
}
html, body {
height: 100%;
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.saved-item {
color: white;
font-size: 1.5em;
padding: 10px;
border-bottom: 1px dotted white;
text-align: left;
}
#saved {
color: white;
position: fixed;
background-color: rgba(0, 0, 0, 0.5);
width: 400px;
height: 600px;
display: none;
flex-direction: column;
text-align: center;
}
#close {
position: fixed;
border-radius: 5px;
width: 24px;
height: 24px;
background-color: grey;
color: white;
margin-top: 10px;
margin-left: 165px;
font-size: 16px;
}
.display {
padding-top: 10px;
text-align: center;
}
#display {
height: 60px;
width: 95%;
font-size: 2em;
color: black;
}
button {
background-color: green;
color: white;
border: black 1px solid;
width: 77px;
height: 77px;
cursor: pointer;
font-size: 24px;
border-radius: 5px;
}
.grid {
display: grid;
grid-template-columns: 77px 239.77px 77px;
}
button:hover, button:focus {
background-color: #090;
}
button:active {
background-color: #070;
}
.buttons {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.number-buttons {
width: 240px;
text-align: center;
}
.operator-buttons {
width: 77px;
text-align: right;
}
.right-align {
text-align: right;
}
.stacked {
width: 77px;
}