-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
62 lines (56 loc) · 1.16 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
body {
margin: 20vh 1rem 20vh 1rem;
text-align: center;
}
#calculator {
background-color: darkslategray;
height: 100%;
display: inline-grid;
border-radius: 20px;
padding: 40px 15px 25px 15px;
justify-content: center;
align-self: center;
grid-gap: 0.5rem;
grid-template-columns: 40px 40px 40px 40px 40px;
grid-template-rows: 40px 40px 40px 40px 40px;
grid-template-areas:
"header header header header header"
". . . . ."
". . . . ."
"eq . . . ."
"eq . . . .";
}
#display {
grid-area: header;
background-color: darkseagreen;
font-size: 30px;
font-family: consolas;
text-align: left;
white-space: nowrap;
align-self: center;
overflow-x: auto;
scroll-behavior: auto;
padding: 5px 10px 5px 10px;
margin-bottom: 50px;
border-radius: 5px;
box-shadow: inset 1px 1px 1px 1px #000;
}
button {
font-size: 24px;
font-family: consolas;
border-radius: 3px;
outline: none;
}
.operator {
background-color: silver;
}
#C {
background-color: lightcoral;
}
#CE {
background-color: lightcoral;
}
#eq {
grid-area: eq;
background-color: skyblue;
}