-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
91 lines (79 loc) · 1.68 KB
/
style.css
File metadata and controls
91 lines (79 loc) · 1.68 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Montserrat", sans-serif;
transition: all 0.3s;
}
.container {
background-color: #006bbb;
width: 100%;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.calculator {
background-color: #ebeaea;
padding: 15px;
border-radius: 20px;
width: 250px;
height: 500px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
position: relative;
}
.calculator .display {
display: flex;
justify-content: flex-end;
margin: 20px 0;
width: 100%;
height: 120px;
}
.calculator input[type="text"] {
flex: 1;
width: 100%;
border: none;
outline: none;
background: transparent;
font-size: 45px;
color: #243443;
text-align: right;
}
input[type="button"] {
width: 47.5px;
height: 47.5px;
margin-top: 10px;
border-radius: 10px;
border: none;
outline: none;
cursor: pointer;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
background-color: transparent;
color: #888;
}
input[type="button"]:hover {
/* background-color: #e3e2e3; */
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}
input[type="button"]:not(.material-symbols-outlined) {
font-size: 16px;
}
.calculator div:not(.operators) {
display: flex;
align-items: center;
gap: 10px;
}
.calculator input.equal {
width: 105px;
background-color: #006bbb;
color: #ebeaea;
}
.calculator .equal:hover {
background-color: #006abbe6;
}
.mode {
position: absolute;
color: #006bbb;
font-size: 35px;
cursor: pointer;
}