-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (77 loc) · 1.54 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
.content{
width:400px;
height:600px;
background: white;
margin-left:400px ;
border-color: grey;
border-style: inset;
border-radius: 66px;
}
.output{
margin-bottom: 78px;
display: flex;
justify-content: space-evenly;
}
#screen{
width:93%;
margin-left:0px;
height: 73px;
margin-top:89px;
pointer-events:none;
margin-bottom: -39px;
border: none;
background:rgba(253, 253, 253, 0.836);
font-size: 24px;
font-weight: 545;
text-align: right;
border-radius: 57px;
}
.btn{
width:60px;
height:45px;
margin-left: 30px;
margin-top: 30px;
background:rgb(228, 223, 223);
border: none;
border-radius: 30px;
font-size: 24px;
font-weight: 545;
text-align: revert;
}
.btn:hover{
background-color:rgb(216, 141, 141);
}
.row1{
display: flex;
justify-content: space-between;
margin-right: 28px;
}
.mode{
position: absolute;
}
/* dark mode */
:root {
--background-color: white;
--text-color: black;
}
.dark-mode-switch {
position: relative;
display: inline-block;
}
.dark-mode-switch input[type="checkbox"] {
display: none;
}
.dark-mode-switch label {
display: block;
margin-bottom: 8px;
}
.content {
background-color: var(--background-color);
color: var(--text-color);
padding: 16px;
transition: background-color 0.3s ease, color 0.3s ease;
}
.dark-mode-switch input[type="checkbox"]:checked ~ .content {
--background-color: black;
--text-color: white;
}