-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.css
88 lines (88 loc) · 1.67 KB
/
index.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
body{
margin: 0;
}
#main-container {
/* display: flex; */
margin: auto;
height: 80%;
min-height: 420px;
width: 70%;
min-width: 300px;
padding: 02%;
border-radius: 4%;
background-color: rgb(44, 44, 43);
}
#heading{
font-size: 150%;
font-family: 'Gill Sans', 'Gill Sans MT';
margin: 2% 0 8%;
text-align: center;
color: rgb(212, 157, 16);
}
#display{
display: flex;
flex-wrap: wrap;
flex-direction: column;
justify-content: end;
align-items: end;
margin: auto;
margin-bottom: 2%;
height: 5.4em;
max-width: 17em;
background-color: white;
border-radius: 4px;
box-shadow: inset 0 0 5px black;
overflow: auto;
}
/* hide scrollbar */
#display::-webkit-scrollbar{
display: none;
}
/* hide scrollbar for Edge, Internet Explorer and firefox*/
#display {
-ms-overflow-style: none;
scrollbar-width: none;
}
#main-display{
font-size: 40px;
margin: 2% 0 0;
}
#sub-display{
margin: 0% 1% 5%;
color: yellowgreen;
font-size: 15px;
}
#function-div{
display: flex;
flex-wrap: wrap;
margin: 5% 0;
justify-content: center;
}
.button {
height: 1.5em;
width: 3.5em;
font-size: 16px;
font-weight: 600;
padding-top: 0.5em;
text-align: center;
align-items: center;
border: 0.1em solid gray;
border-radius: 4px;
margin: 0.4em;
background-color: white;
box-shadow: 0.1px 2px gray;
}
#equal {
width: 8em;
color: white;
border-color: darkgreen;
background-color: green;
}
#ac {
color: white;
border-color: darkred;
background-color: red;
}
.button:hover {
box-shadow: 0.1px 2px rgb(44, 44, 43);
}