-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
68 lines (58 loc) · 1.39 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
@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
body {
background: #c79691;
background: linear-gradient(#f34e64f1, #c74859f1, #f34e64f1);
font-family: 'Montserrat', sans-serif;
}
.container {
background: #EEEEEE;
width: 320px;
height: 550px;
border-radius: .5em;
box-shadow: 4px 4px 10px 0 #0000024d;
margin: 0 auto;
padding: 32px 16px;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.container .result {
width: 100%;
height: 150px;
}
.container .result p {
font-size: 45pt;
overflow-y: auto;
text-align: right;
}
.container .buttons {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 1em;
}
.container .buttons .button,
.container .buttons .num-button {
cursor: grab;
text-align: center;
width: 60px;
height: 60px;
display: grid;
place-content: center;
/* border-radius: 50%; */
box-shadow: 6px 6px 16px 0 #463b2b80, -6px -6px 16px 0 rgba(255, 255, 255, 0.5);
}
/* UTILITIES*/
.container .buttons .zero {
grid-column: 1/ 3;
width: 100%;
border-radius: 10px;
box-shadow: 6px 6px 16px 0 #d1cdc780, -6px -6px 16px 0 #ffffff80;
}
.action-btn {
color: grey;
font-weight: bold;
}
.calc-action-btn {
color: orange;
font-weight: bold;
}