-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
67 lines (67 loc) · 1.29 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
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
display: flex;
justify-content: center;
align-items: center;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #d6d6d6;
font-family: monospace;
}
.calculator{
width: 300px;
padding: 20px;
border-radius: 15px;
background-color: #C0C0C0;
box-shadow: 5px 5px 10px #b6a9a9, -5px -5px 10px #ffffff;
}
.display{
width: 100%;
border: none;
outline: none;
padding: 20px;
margin: 20px 0 20px 0;
text-align: right;
font-size: 20px;
font-weight: bold;
border-radius: 10px;
box-shadow: inset 2px 2px 5px #babecc, inset -5px -5px 10px #ffffff;
}
.keys{
margin: 20px 0 20px 0;
}
.row{
display: flex;
justify-content: space-between;
}
.num{
height: 45px;
width: 50px;
border: none;
outline: none;
margin: 10px 0 5px 5px;
font-size: 20px;
font-weight: bold;
border-radius: 20%;
background: rgb(200, 200, 200);
box-shadow: 5px 5px 8px #b6acac, -5px -5px 8px #faf4f4;
}
button:hover {
cursor: pointer;
}
button:active {
box-shadow: inset 1px 1px 2px #babeec, inset -1px -1px 2px #ffffff;
}
.operator{
background: grey;
color: #ffffff;
}
#result{
width: 120px;
border-radius: 20px;
}