-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
92 lines (81 loc) · 1.52 KB
/
Copy pathstyles.css
File metadata and controls
92 lines (81 loc) · 1.52 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
body,
html {
margin: 0;
padding: 0;
height: 100%;
background-color: #1a1a1a;
font-family: Arial, sans-serif;
overflow: hidden;
}
.background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #3498db;
z-index: -1;
}
.calculator {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 320px;
padding: 20px;
border: 2px solid #3498db;
border-radius: 10px;
background-color: #ecf0f1;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
text-align: center;
}
#result {
width: calc(100% - 10px);
margin-bottom: 10px;
padding: 10px;
border: 2px solid #3498db;
border-radius: 5px;
font-size: 24px;
}
.button-row {
display: flex;
justify-content: center;
margin-bottom: 10px;
}
.button {
width: 60px;
height: 60px;
margin: 5px;
border: none;
border-radius: 10px;
cursor: pointer;
outline: none;
font-size: 24px;
background-color: #d1d8e0;
color: #333;
transition: background-color 0.3s, color 0.3s, transform 0.2s;
}
.button:hover {
background-color: #3498db;
color: white;
transform: scale(1.1);
}
.button:active {
transform: scale(0.9);
}
.button.primary {
background-color: #3498db;
color: white;
}
.button.warning {
background-color: #e67e22;
color: white;
}
.button.danger {
background-color: #d24229;
color: white;
}
.button.equal {
background-color: #333;
color: white;
}