-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcal.css
More file actions
99 lines (84 loc) · 1.75 KB
/
cal.css
File metadata and controls
99 lines (84 loc) · 1.75 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
body{
height: 100vh;
background: violet;
display: flex;
justify-content: center;
align-items: center !important;
}
.change {
height: 20px;
width: 20px;
border-radius: 20px;
background: #000 !important;
position: absolute;
right: 6px;
}
.top {
height: 60px;
width: auto;
background: rgb(232, 220, 220) !important;
margin: 20px;
color: black !important;
display: flex;
align-items: flex-end;
justify-content: end;
}
.calculator {
padding: 10px;
background: white;
position: relative;
border-radius: 5%;
box-shadow: 0 0 30px black;
}
button{
height: 40px;
width: 40px;
border-radius: 50%;
border: none;
}
#equal {
height: 80px;
}
button:hover{
transform: scale(.9);
}
/* light theme */
.calculator button#clear{
color: darkorchid;
background: rgb(136, 109, 90);
}
.calculator button.btn-number{
background: rgb(150, 92, 5);
color: black;
}
.calculator button.btn-operator{
background: rgb(26, 161, 148);
color: rgb(28, 91, 209);
}
/* Dark theme */
.change.dark{
background: white;
}
.calculator.dark{
background: black;
box-shadow: 0 0 30px white;
}
.calculator.dark button#clear{
color: brown;
background: rgb(72, 3, 17);
}
.calculator.dark button.btn-number{
background: darkslategrey;
color: white;
}
.calculator.dark button.btn-operator{
background: rgb(76, 70, 8);
color: yellow;
}
.calculator.dark .change{
background: #fff !important;
}
.calculator.dark .top{
background:rgb(74, 73, 73) !important;
color: white !important;
}