-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
77 lines (75 loc) · 1.62 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body{
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: #fff;
}
.container{
position: relative;
max-width: 300px;
width: 100%;
border-radius: 20px;
padding: 10px 20px 20px;
background: #080707f2;
box-shadow: 0 5px 10px rgba(0,0,0,0.05);
outline: #333 10px solid;
}
.display{
height: 90px;
width: 100%;
outline: none;
border: solid 0.3;
text-align: right;
margin: 50px 0;
font-size: 40px;
color: #000;
pointer-events: none;
}
input{
background: #a19c9c70;
border-radius: 12px;
}
.button{
display: grid;
grid-gap: 12px;
grid-template-columns: repeat(4, 1fr);
}
.button button{
padding: 10px;
border-radius: 45px;
border: none;
font-size: 18px;
font-weight: 600;
cursor: pointer;
background: linear-gradient(#272728 , #575658);
}
.button button:hover{
transition: .5s;
background: linear-gradient(#575658 , #272728 );
}
.button button:active{
transform: scale(0.99);
}
.operator{
color: #e1e1e1;
}
button.opo{
background: linear-gradient(rgb(36, 34, 34) ,rgb(56, 55, 55));
}
button.opo:hover{
background: linear-gradient(rgb(56,55,55) ,rgb(36,34,34))
}
button.eq{
background: linear-gradient(#b06803, #a35603);
}
button.eq:hover{
background:linear-gradient(#a35603, #b06803);
}