-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
70 lines (62 loc) · 1.31 KB
/
Copy pathstyle.css
File metadata and controls
70 lines (62 loc) · 1.31 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
body {
text-align: center;
margin: 0;
background: rgb(0, 0, 25);
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
#calculator {
max-width: 360px;
background-color: #0d1b2a;
border-radius: 10px;
padding: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
}
#display {
width: 100%;
height: 56px;
font-size: 20px;
text-align: right;
margin-bottom: 10px;
padding: 20px;
border-radius: 5px;
color: #e0e1dd;
background-color: rgba(13, 27, 42, 0.3);
border-color: white;
box-sizing: border-box;
}
.operator {
color: white;
background-color: darkorange;
}
.toprow {
width: calc(25% - 10px);
color: white;
background-color: dimgrey;
}
button {
width: calc(25% - 10px);
height: 50px;
font-weight: bold;
font-size: 20px;
margin: 10px 5px;
border-color: black;
border-radius: 5px;
float: left;
background-color: darkgrey;
color: white;
-webkit-box-shadow: -1px 1px 30px -5px rgba(0, 0, 0, 0.2);
-moz-box-shadow: -1px 1px 30px -5px rgba(0, 0, 0, 0.2);
box-shadow: -1px 1px 30px -5px rgba(0, 0, 0, 0.2);
}
button:hover {
cursor: pointer;
filter: brightness(85%);
}
button:active {
transform: scale(1.05);
box-shadow: 0 2px 4px 1px rgba(0, 0, 0, 0.19),
0 1.5px 1.5px rgba(0, 0, 0, 0.23);
}