-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
91 lines (72 loc) · 1.46 KB
/
styles.css
File metadata and controls
91 lines (72 loc) · 1.46 KB
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
body {
margin: 0;
height: 100vh; /*expand body to fill out the webpage*/
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
background-color: #22252D;
}
#container {
padding: 24px 20px;
width: 315px;
height: 445px;
display: flex;
flex-direction: column;
gap: 8px;
background-color: #2A2D36;
border-radius: 40px;
box-shadow: 0px 10px 20px 0px;
}
#textBox {
padding: 10px;
height: 80px;
width: 290px;
background-color: #1B1E26;
color: white;
/* Assume when there's text inside */
font-size: 36px;
font-weight: 500;
border-radius: 20px;
text-align: right;
/* add overflow */
overflow-x: auto;
}
.buttonsRow {
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
gap: 15px;
}
.buttonsRow button {
font-size: 20px;
padding: 0;
border: 0;
display: inline-block;
width: 67px;
height: 67px;
border-radius: 50%;
cursor: pointer;
}
.numberButtons {
background-color: #4E505F;
color: white;
}
/* Exception for the +/- button in order not to mess more with the logic */
#changeSign {
background-color: #4E505F;
color: white;
}
.topRowFunctions_buttons {
background-color: #656879;
color: #4FC3F7;
}
.operators {
background-color: #FF9F43;
color: #22252D;
}
#equalButton {
background-color: #4ADE86;
color: white;
}