-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
109 lines (95 loc) · 1.89 KB
/
style.css
File metadata and controls
109 lines (95 loc) · 1.89 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
body {
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
font-family: 'Share Tech Mono', monospace;
font-size: 30px;
}
.calculator {
background-color: #333;
padding: 10px;
border-radius: 8px;
box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.5);
background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
}
.answer-screen {
display: flex;
align-items: center;
justify-content: flex-end;
width: 220px;
height: 60px;
border: solid 2px black;
margin: 0 auto 5px auto;
padding-right: 10px;
background-color: #c8f5c8;
text-align: right;
box-shadow: inset 0px 3px 8px rgba(0,0,0,0.4);
border-radius: 4px;
border-radius: 8px 8px 0 0;
transform: perspective(300px) rotateX(5deg);
transform-origin: bottom;
}
button {
color: white;
background-color: #0e0e0e;
border: none;
border-bottom: 4px solid #999;
border-right: 4px solid #999;
border-radius: 4px;
height: 40px;
width: 40px;
transition: opacity 0.1s ease;
}
button:active {
border-bottom: 1px solid #999;
border-right: 1px solid #999;
transform: translateY(2px);
}
button:hover {
opacity: 0.8;
}
.key-pad button{
margin: 3px;
}
.back-button {
width: 60px;
}
.clear-button {
width: 145px;
}
#speak-button {
width: 224px;
height: 48px;
margin-top: 3px;
background-color: red;
display: flex;
align-items: center;
justify-content: center;
}
#speak-button svg {
width: 24px;
height: 24px;
stroke: white;
}
button.operator {
background-color: orange;
color: white;
}
button.equal {
background-color: blue;
color: white;
}
button.operator, button.equal {
font-size: 18px;
}
button.pressed {
transform: scale(0.95);
opacity: 0.7;
}
.sixth-row {
display: flex;
justify-content: center;
}