-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
123 lines (106 loc) · 2.02 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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
body {
margin: 0;
padding: 0;
background: #e5effd;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
color: #1C2335;
}
.header {
text-align: center;
padding: 3vh 0;
font-size: 30px;
font-weight: bold;
width: 100%;
background: #80acd7;
}
.container {
margin-top: 10vh;
border: 2px solid #1C2335;
border-radius: 20px;
overflow: hidden;
}
#screen {
border-radius: 20px;
border-bottom: 1px solid #1C2335;
height: 15vh;
background: #dee3f3;
font-size: 30px;
display: flex;
align-items: flex-end;
justify-content: space-around;
flex-direction: column;
padding: 20px;
box-sizing: border-box;
}
.buttons-container {
background: #ebedf0;
display: flex;
flex-direction: column;
gap: 20px;
padding: 20px;
}
.btn-row {
display: flex;
justify-content: space-between;
align-items: center;
gap: 20px;
}
.btn {
border-radius: 100%;
background-color: #e1e2eb;
font-size: 40px;
width: 8vh;
aspect-ratio: 1/1;
display: flex;
justify-content: center;
align-items: center;
font-weight: 500;
cursor: pointer;
border: none;
transition-property: border, background-color, color;
transition-duration: 0.3s;
transition-timing-function: ease;
}
.btn:hover {
background-color: #565775;
color: #e1e2eb;
}
.btn:active {
background-color: #393960;
color: white;
}
.operator, #calculateBtn {
background: #c5d0ef;
}
.operator:hover, #calculateBtn:hover {
background-color: #3D4760;
color: #c5d0ef;
}
.operator:active, #calculateBtn:active {
color: white;
background-color: #151c2d;
}
.btn-wide {
width: 18vh;
aspect-ratio: 2/1;
border-radius: 80px;
}
.btn-red {
background-color: #FFCEFD;
}
.btn-red:hover {
background-color: #9f429b;
}
.btn-red:active {
color: white;
background-color: #60135c;
}
#liveResult {
font-size: 16px;
}
.multiply-operator {
padding-top: 15px;
}