-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
110 lines (94 loc) · 1.57 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
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: Verdana, Geneva, Tahoma, sans-serif;
}
body {
background-color: #181725;
display: flex;
justify-content: center;
align-items: center;
height: 80vh;
}
.h1-calc {
text-align: center;
color: #00b0a4ff;
user-select: none;
margin: 5px 0 24px;
}
.calculator {
background-color: #353d4dff;
border-radius: 12px;
width: 240px;
margin: 14px auto;
padding: 12px;
}
.display {
display: flex;
justify-content: end;
align-items: center;
color: #00b0a4;
height: 80px;
border-top-left-radius: 12px;
border-top-right-radius: 12px;
border-bottom: 2px solid #00b0a4ff;
padding: 10px;
font-size: 28px;
}
.keypad {
user-select: none;
}
.row {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
.keys-btns {
display: flex;
justify-content: center;
align-items: center;
width: 50px;
height: 50px;
background-color: inherit;
cursor: pointer;
font-size: 20px;
border: none;
}
.operator {
color: #00b0a4ff;
background-color: #21424c;
transition: 300ms background-color;
}
.operator:hover,
.delete:hover {
background-color: #00b0a4ff;
color: #f8fdfdff;
}
.delete {
color: #00b0a4ff;
transition: 300ms background-color;
}
.number {
color: #f8fdfdff;
transition: 300ms color;
}
.number:hover {
color: #00b0a4ff;
}
.row-width {
display: flex;
}
.row-width > .operator {
flex-basis: 150px;
}
.deaf {
cursor: default;
}
.deaf:hover {
background-color: inherit;
}
#equal {
border-bottom-right-radius: 12px;
}