-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
93 lines (81 loc) · 1.58 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
body {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#header {
font-family: sans-serif;
letter-spacing: 0.2px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#displayCase {
display: flex;
justify-content: center;
align-items: center;
width: 510px;
height: 120px;
padding: 10px;
border-radius: 10px;
background-color: silver;
border: 1px solid black;
}
#display {
width: 490px;
height: 100px;
background-color: whitesmoke;
border: 1px solid black;
border-radius: 10px;
font-family: "Jersey 15", serif;
font-weight: 300;
color: slategray;
font-size: 84px;
display: flex;
justify-content: right;
align-items: center;
gap: 4px;
padding-right: 10px;
}
#calcBod {
width: fit-content;
display: grid;
grid-template-columns: 120px 120px 120px 120px;
grid-template-rows: 120px 120px 120px 120px 120px;
gap: 10px;
background-color: silver;
padding: 10px;
border-radius: 10px;
}
.square {
border-radius: 10px;
color: slategray;
background-color: white;
font-size: 32px;
}
#digits {
grid-column: 1/4;
grid-row: 2/6;
display: grid;
grid-template-columns: 120px 120px 120px;
grid-template-rows: 120px 120px 120px 120px;
gap: 10px;
}
#backBut {
grid-column: 1;
grid-row: 4;
}
#zero {
grid-column: 2;
grid-row: 4;
}
#decimalButton {
grid-column: 3;
grid-row: 4;
}
#enter {
grid-column: 4;
grid-row: 4/6;
}