-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
77 lines (65 loc) · 1.21 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
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
background: #4B79A1;
background: -webkit-linear-gradient(45deg, #283E51, #4B79A1);
background: linear-gradient(45deg, #283E51, #4B79A1);
}
p {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
max-width: 245px;
}
#result {
height: 100px;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-size: 34px;
}
.calculator {
position: absolute;
background: rgba(0,0,0,0.5);
box-shadow: 1px 10px 45px #1f1f2b;
backdrop-filter: blur(1px);
}
button {
background: #082032;
width: 60px;
height: 60px;
color: #fff;
border: none;
outline: none;
font-size: 17px;
padding: 0.1px;
cursor: pointer;
}
button:hover {
background: #87AAAA;
}
button:active {
background: #87AAAA;
transform: scale(0.7)
}
#equal {
height: 122px;
background: #87AAAA;
color: #000;
font-weight: 700;
}
#clear {
background: #87AAAA;
color: #000;
font-weight: 700;
}