-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
106 lines (95 loc) · 1.65 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
* {
margin: 0;
padding: 0;
}
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
}
.calculator {
width: 320px;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
background-color: #fff;
}
.display-box {
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 10px;
}
.display {
width: 100%;
height: 40px;
font-size: 24px;
text-align: right;
border: none;
border-radius: 5px;
padding: 5px;
}
.button-row {
display: flex;
}
.button {
flex: 1;
margin: 5px;
font-size: 18px;
border: none;
border-radius: 5px;
cursor: pointer;
background-color: #f0f0f0;
}
.button:hover {
background-color: #e0e0e0;
}
.function-button {
background-color: #f9c3c6;
}
.arithmetic-button {
background-color: #bbe3c2;
}
.scientific-button {
background-color: #aedcf7;
}
.history {
position: absolute;
top: 0px;
right: 0px;
width: 250px;
text-align: center;
display: flex;
flex-direction: column;
height: 100vh;
}
.history h2 {
margin: 0px;
background-color: salmon;
padding: 10px;
}
#historyData {
height: 100%;
background-color: #daebf4;
padding-top: 10px;
}
#historyData p {
margin: 20px;
padding: 10px;
font-size: 20px;
display: flex;
font-weight: bold;
border-bottom: 2px black solid;
cursor: pointer;
}
#historyData p span {
position: relative;
font-size: 10px;
top: -20px;
color: rebeccapurple;
font-weight: bold;
text-align: right;
}