-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
104 lines (98 loc) · 2.09 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
* {
padding: 0;
margin: 0;
}
html {
font-family: sans-serif;
text-align: center;
}
.main {
display: flex;
justify-content: center;
align-items: center;
align-content: center;
background-color: beige;
min-height: 95vh;
overflow: hidden;
height: 100vh;
}
.container {
width: 25rem;
height: 30rem;
max-width: 500px;
background-color: #1c1c1c;
border-radius: 10px;
display: grid;
justify-content: center;
grid-template-columns: repeat(4, 1fr);
grid-template-rows: repeat(6, 1fr);
gap: 5px;
padding: 2rem;
transform: perspective(55em) rotateX(58deg) rotateY(0deg) rotateZ(-40deg);
transform-style: preserve-3d;
border-radius: 33px;
box-shadow: -4px 4px 0 1px #f9f9fb, 1px 0 30px 0 rgba(34, 33, 81, 0.01),
-30px 28px 28px 0 rgba(34, 33, 81, 0.25);
}
.container:hover {
transform: perspective(75em) rotateX(0);
box-shadow: 0 0 0 0 #f9f9fb, 1px 0 30px 0 rgba(34, 33, 81, 0.01),
-1px 1px 12px 0 rgba(34, 33, 81, 0.25);
}
.displayArea {
grid-column-start: 1;
grid-column-end: 5;
background-color: inherit;
/* border: 3px solid black; */
margin: 2px 0;
padding-right: 1rem;
font-size: 4rem;
text-align: right;
color: #fff;
max-width: 400px;
min-height: 3rem;
overflow: hidden;
text-overflow: ellipsis;
}
.btn-double {
grid-column-end: 3;
grid-column-start: 1;
}
.btn {
margin: 1.5px;
justify-content: center;
border-radius: 8px;
font-size: 2rem;
border: none;
cursor: pointer;
}
.btn-orange {
color: #fff;
font-size: 3rem;
background: linear-gradient(to right, #ff9500, #fa960a);
}
.btn-orange:active {
background-color: #f0a132;
}
.btn-orange:hover {
background: linear-gradient(to right, #f9960c, #f6ae4a);
}
.btn-gray {
background: linear-gradient(to right, #c8c8c7, #999999);
}
.btn-gray:active {
background-color: #f0f0ee;
}
.btn-gray:hover {
background: linear-gradient(to right, #dadad9, #aeaeae);
}
.btn-dark {
background: linear-gradient(to right, #5d5d5d, #505050);
color: #fff;
}
.btn-dark:active {
background-color: #6c6c6c;
}
.btn-dark:hover {
background: linear-gradient(to right, #707070, #646464);
}