-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
126 lines (111 loc) · 2.18 KB
/
style.css
File metadata and controls
126 lines (111 loc) · 2.18 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
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
body{
font-family: Arial, Helvetica, sans-serif;
margin: 0px;
display: flex;
justify-content: center;
align-items: center;
}
.calculator {
height: auto;
width: auto;
background-color: black;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding-bottom: 40px;
}
#display {
color: white;
font-weight: bolder;
padding: 25px;
margin-bottom: 30px;
width: auto;
overflow: hidden;
font-size: 3rem;
border: none;
background-color: rgb(60, 60, 60);
text-align: right;
}
.keypad {
display: grid;
grid-template-columns: repeat(4, 1fr);
}
button {
font-weight: bolder;
color: white;
font-size: 2em;
height: 100px;
width: 100px;
border: none;
margin: 15px;
background-color: #d8863b;
border-radius: 25%;
cursor: pointer;
}
button:hover {
background-color: #f3b479;
}
.numkeys {
background-color: rgb(80, 78, 78);
}
.numkeys:hover {
background-color: rgb(151, 145, 145);
}
button:active {
background-color: white;
color: black;
}
#history {
margin-top: 50px;
height: inherit;
width: auto;
border-radius: 15px;
padding: 20px;
font-size: 2em;
}
#history-display {
background-color: whitesmoke;
display: flex;
flex-direction: column;
position: fixed;
right: 0px;
top: 0px;
display: none;
z-index: 1;
height: 100%;
width: 40%;
}
#cross {
color: black;
background-color: whitesmoke;
right: 0px;
}
#history-list {
margin: 15px;
display: flex;
flex-direction: column;
width: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
#history-tab {
padding: 15px;
padding-left: 40px;
padding-right: 40px;
width: 80%;
background-color: lightblue;
display: flex;
font-size: 3em;
justify-content: space-between;
align-items: center;
border-radius: 25px;
margin: 15px;
}
#history-add{
font-size: 0.5em;
height: auto;
width: auto;
padding: 10px;
border-radius: 10px;
}