-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathstyle.css
More file actions
84 lines (81 loc) · 1.74 KB
/
style.css
File metadata and controls
84 lines (81 loc) · 1.74 KB
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
body{
display: flex;
justify-content: center;
align-items: center;
height: 95vh;
background-color: whitesmoke;
}
.calculator{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 25vw;
height: 40vw;
text-align: center;
background-image: linear-gradient(176deg,rgb(70,70,70),rgb(36,36,36));
border-radius: 15px;
box-shadow: inset -5px -5px 10px 0px rgb(167,152,152 / 41%),inset -4px 19px 9px rgb(46,41,41 / 46%);
}
#display {
display: flex;
width: 20vw;
margin-top: -20px;
margin-bottom: 10px;
height: 5%;
padding: 10px;
background-color: rgb(212,217,229);
color: black;
border: none;
border-radius: 5px;
font-size: 18px;
text-align: right;
outline: none;
box-shadow: inset -1px -3px 10px 0px rgba(255,255,255,0.41),inset 5px 5px 10px 0px rgb(0 0 0 / 49%);
font-family: digital;
font-size: 24px;
}
.buttons {
display: flex;
justify-content: center;
flex-wrap: wrap;
width: 25vw;
height: 65%;
}
.buttons button {
display: flex;
width: 17%;
height: 17%;
margin: 3%;
cursor: pointer;
justify-content: center;
align-items: center;
font-size: 18px;
line-height: 1;
text-decoration: none;
border-radius: 50%;
font-weight: bold;
transition: 0.1s;
box-shadow: 0px 2px 4px 0px rgba(0,0,0,0.5);
background-image: linear-gradient(180deg,rgba(0,0,0,0.45),rgba(0,0,0,1));
}
.number-button {
color:whitesmoke
}
.special-button {
color:#ff0b92;
}
.operation-button {
color:#16d7a3;
}
#equal{
width: 40%;
border-radius: 10px;
background-image: linear-gradient(180deg,rgb(22 124 54 / 45%),rgb(8 122 86));
border: 1px solid #176a17;
color:whitesmoke;
}
.buttons button:hover {
transform: translateY(2px);
box-shadow: 0 0 rgba(0,0,0,0);
}