-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcalculetor.css
More file actions
84 lines (72 loc) · 1.26 KB
/
calculetor.css
File metadata and controls
84 lines (72 loc) · 1.26 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
html, body {
height: 100%;
margin: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background: linear-gradient(135deg, #74ebd5, #9face6);
display: flex;
align-items: center;
justify-content: center;
}
#calculator {
background: #2c3e50;
width: 280px;
padding: 20px;
border-radius: 15px;
box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}
#display {
width: 100%;
height: 60px;
background: #02182d;
color: #fff;
font-size: 24px;
border: none;
border-radius: 10px;
margin-bottom: 15px;
padding: 10px;
text-align: right;
box-shadow: inset 0 2px 5px rgba(0,0,0,0.5);
}
.row {
display: flex;
justify-content: space-between;
}
.keys {
flex: 1;
margin: 5px;
height: 50px;
font-size: 18px;
font-weight: bold;
border: none;
border-radius: 10px;
background: #ecf0f1;
color: #2c3e50;
cursor: pointer;
transition: 0.2s;
}
.keys:hover {
background: #bdc3c7;
}
.op {
background: #3498db;
color: white;
}
.op:hover {
background: #2980b9;
}
.func {
background: #f39c12;
color: white;
}
.func:hover {
background: #d35400;
}
.clear {
background: #e74c3c;
color: white;
}
.clear:hover {
background: #c0392b;
}