-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
85 lines (70 loc) · 1.23 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
* {
margin: 0;
box-sizing: border-box;
}
/* Make body full screen for centering */
html,
body {
height: 100%;
}
body {
display: flex;
align-items: center;
justify-content: center;
}
.main {
border: 2px solid white;
background-color: black;
border-radius: 0px 0px 20px 0px;
height: 700px;
width: 500px;
padding: 5px;
display: flex;
flex-direction: column;
align-items: stretch;
}
.display {
background-color: #11e3eb;
box-sizing: content-box;
padding: 20px;
border: 10px solid black;
flex: 1;
display: flex;
justify-content: flex-end;
align-content: flex-end;
}
#display-txt {
font-weight: 400;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.buttons {
flex: 2;
display: flex;
flex-direction: column;
justify-content: stretch;
}
.button-row {
flex: 1;
display: flex;
}
button {
flex: 1;
font-size: 28px;
border: 2px solid black;
border-radius: 4px;
cursor: pointer;
}
button:hover {
filter: brightness(90%);
}
button:active {
filter: brightness(70%);
}
button.specialButton {
background-color: #eb662f;
}
button.operatorButton {
background-color: #413b38;
color: white;
}