-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
96 lines (85 loc) · 1.6 KB
/
style.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
body {
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background: #f0f0f3;
font-family:'Times New Roman', Times, serif;
}
.calculator {
width: 320px;
background: #000000;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.b
{
background: #A5A5A5;
color: #000000;
font-size: 2rem;
border: none;
outline: none;
padding: 20px;
cursor: pointer;
transition: background 0.2s;
border-radius: 100px;
border-spacing: 2px;
font-size: 20px;
}
.display {
background: #000000;
color: #fff;
font-size: 2.5rem;
text-align: right;
padding: 20px;
box-sizing: border-box;
}
.buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 6px;
padding: 10px;
}
.btn {
background: #333333;
color: #fff;
border: none;
outline: none;
padding: 22px;
cursor: pointer;
transition: background 0.2s;
border-radius: 100px;
border-spacing: 2px;
font-size: 25px;
}
.zero
{
background: #333333;
color: #fff;
font-size: 1.7rem;
border: none;
outline: none;
padding: 20px;
cursor: pointer;
transition: background 0.2s;
border-radius: 50px;
border-spacing: 2px;
}
.b:hover
{
background: #f0f0f3;
}
.btn:hover,.zero:hover {
background: #646464;
}
.operator {
background: #f29925;
}
.operator:hover {
background: #fbb94e;
}
.zero {
grid-column: span 2;
}