-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (73 loc) · 1.2 KB
/
style.css
File metadata and controls
84 lines (73 loc) · 1.2 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: flex-start;
gap: 30px;
height: 100vh;
padding: 30px;
background: #f4f4f4;
}
.calculator {
background: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
width: 260px;
}
#display {
width: 100%;
height: 50px;
font-size: 2rem;
text-align: right;
padding: 10px;
border: 2px solid #ccc;
border-radius: 5px;
margin-bottom: 20px;
background: #f5f5f5;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 10px;
}
button {
font-size: 1.5rem;
padding: 15px;
border: none;
background: #f0f0f0;
border-radius: 5px;
cursor: pointer;
transition: 0.2s;
}
button:hover {
background: #ddd;
}
button:active {
background: #bbb;
}
.history {
background: #fff;
padding: 15px;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
width: 200px;
max-height: 400px;
overflow-y: auto;
}
.history h2 {
margin-bottom: 10px;
}
.history ul {
list-style: none;
}
.history li {
padding: 5px 0;
font-size: 1rem;
border-bottom: 1px solid #eee;
}