-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.css
101 lines (85 loc) · 1.45 KB
/
calculator.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
*{
margin: 0;
padding: 0;
box-sizing: border-box; /**/
}
body{
min-height: 100vh; /**/
background: #efeff2;
display: flex;
justify-content: center;
align-items: center;
}
.calcul{
width: 300px;
height: 550px;
box-shadow: 4px 4px 30px rgba(0,0,0,0.3);
border: 1px solid #fff;
border-radius: 12px;
background-color: #22252D;
overflow: hidden; /**/
}
form input{
width : 100%;
height: 150px;
border : 1px solid #fff;
border-radius: 12px;
font-size: 2rem;
padding: 1rem;
color: #fff;
background: #000;
text-align: right;
pointer-events: none; /**/
}
.buttons{
display: flex;
flex-wrap: wrap; /**/
justify-content: space-between;
padding: 20px;
}
button{
flex: 0 0 22%; /**/
margin: 5px 0;
width: 60px;
height: 52px;
font-size: 22px;
font-weight: 600;
border: 1px solid #fff;
border-radius: 50px;
cursor: pointer; /**/
}
.btn-yellow{
background: grey;
color: #fff;
}
.btn-yellow:hover{
background-color: #fff;
color: #000;
}
.btn-grey{
background: rgb(224, 224, 224);
}
.btn-grey:hover{
background-color: grey;
color: #fff;
}
.btn-equal{
background: blue;
color: #fff;
}
.btn-clear{
background: grey;
color: #fff;
}
.op{
background: grey;
color: #fff;
}
.op:hover{
background-color: #fff;
color: #000;;
}
.op-3:hover{
background-color: #fff;
color: #000;
}