-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
133 lines (125 loc) · 2.31 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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1.25rem;
font-weight: bold;
background-color: rgb(31, 22, 9);
}
.con {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.calGrid {
height: 50vh;
min-width: fit-content;
width: 100%;
display: grid;
grid-template-columns: repeat(4, 4rem);
background-color: black;
border-radius: 0 0 15px 15px;
border-collapse: collapse;
gap: 0.14em;
padding: 0;
}
.calc {
display: flex;
flex-direction: column;
height: fit-content;
width: fit-content;
box-sizing: border-box;
border: 4px solid darkgray;
border-radius: 15px;
padding: 0.15em;
border-collapse: collapse;
background-color: black;
}
.null {
grid-column-start: 1;
grid-column-end: 3;
}
.display {
height: 4em;
width: 100%;
max-width: 12.375em;
border: 4px solid rgba(255, 255, 255, 0.918);
margin-bottom: 0.18rem;
grid-column: 1/5;
display: flex;
align-items: flex-end;
justify-content: flex-end;
flex-direction: column;
padding: 0.3rem;
padding-top: 0%;
background-color: black;
color: white;
border-radius: 10px;
overflow: hidden;
}
.history {
display: flex;
width: 100%;
max-width: 100%;
height: 100%;
overflow: hidden;
flex-direction: row;
justify-content: left;
color: white;
}
.displayVal {
display: block;
max-width: auto;
}
.grid {
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
}
button {
display: block;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
font-size: 1.25rem;
font-weight: bold;
border: none;
width: 100%;
border-radius: 50%;
margin: 0px;
cursor: pointer;
}
button:hover {
background-color: wheat;
color: black;
}
button:active {
background-color: #84817a;
color: whitesmoke;
}
.zero {
width: 100%;
}
[data-opr] {
background-color: #ffb142;
color: white;
}
.equals {
background-color: #ffb142;
color: white;
}
.num {
background-color: #2d2d2a;
color: white;
}
#point {
background-color: #2d2d2a;
color: white;
}
#point:hover {
background-color: wheat;
color: black;
}
.upbtns {
background-color: #d1ccc0;
}