-
Notifications
You must be signed in to change notification settings - Fork 0
/
style-black.css
102 lines (90 loc) · 2.01 KB
/
style-black.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
* {
margin: 0;
padding: 0;
box-sizing: inherit;
}
body{
font-family: sans-serif;
background-color: rgb(73, 73, 73);
line-height: 1.5;
height: 100vh;
position: relative;
display: flex;
align-items: flex-start;
justify-content: center;
}
.container{
border: 2px solid rgb(198, 176, 199);
border-radius: 5px;
width: 60%;
margin-top: 3rem;
padding: 1rem 2rem;
}
.app-title{
text-align: center;
color: rgb(45, 173, 126);
}
.add-task{
border: 2px solid rgb(194, 183, 183);
border-radius: 5px;
margin: 1em 0;
padding: 10px 15px;
}
.task-list{
border: 2px solid rgb(240, 236, 236);
border-radius: 5px;
margin: 1rem 0;
padding: 10px 15px;
}
.task-content{
display: inline-block;
}
.theme-switch-wrapper {
display: flex;
align-items: center;
em {
margin-left: 10px;
font-size: 1rem;
}
}
.theme-switch {
display: inline-block;
height: 34px;
position: relative;
width: 60px;
}
.theme-switch input {
display:none;
}
.slider {
background-color: #ccc;
bottom: 0;
cursor: pointer;
left: 0;
position: absolute;
right: 0;
top: 0;
transition: .4s;
}
.slider:before {
background-color: #fff;
bottom: 4px;
content: "";
height: 26px;
left: 4px;
position: absolute;
transition: .4s;
width: 26px;
}
input:checked + .slider {
background-color: #66bb6a;
}
input:checked + .slider:before {
transform: translateX(26px);
}
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}