-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
76 lines (74 loc) · 1.78 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
*{
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #ecf0f3;
font-family: sans-serif;
outline: none;
}
.container{
height: 85vh;
display: flex;
justify-content: center;
align-items: center;
background-color: rgb(193, 198, 229);
}
.calculator{
background-color: #e3e6e9db;
padding: 15px;
border-radius: 30px;
box-shadow: inset 5px 5px 12px #ffffff,
5px 5px 12px rgba(0, 0, 0, .16);
display: grid;
grid-template-columns: repeat(4, 68px);
}
input{
grid-column: span 4;
height: 70px;
width: 260px;
background-color: #74837ed1;
box-shadow: inset -5px -5px 12px #495353,
inset 5px 5px 12px rgba(0, 0, 0, .16);
border: none;
border-radius: 8px;
color: rgb(70, 70, 70);
font-size: 50px;
text-align: end;
margin: auto;
margin-top: 40px;
margin-bottom: 30px;
padding: 20px;
pointer-events: none;
}
button{
height: 48px;
width: 48px;
background-color: #ecf0f3;
box-shadow: -5px -5px 8px #fffefe,
5px 5px 8px rgba(0, 0, 0, 0.16);
border : none;
border-radius: 12px;
margin: 8px;
font-size: 16px;
cursor: pointer;
}
.clearBtn{
background: linear-gradient(145deg, rgb(244, 67, 67), rgb(70, 0, 0));
color: rgb(255, 255, 255);
box-shadow: -5px -5px 8px #ffffff,
5px 5px 8px rgba(0, 0, 0, 0.16);
}
button:active{
box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}
.equal{
width: 115px;
border-radius: 12px;
background-color: #ecf0f3;
box-shadow: -5px -5px 8px #ffffff,
5px 5px 8px rgba(0, 0, 0, .16);
}
p{
text-align: center;
margin-top: 70px;
}