-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
54 lines (50 loc) · 809 Bytes
/
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
body {
margin: 0;
padding: 0;
font-family: arial;
}
.toggle {
position: absolute;
top: 40px;
right: 50px;
background: #fff;
border: 2px solid #262626;
width: 45px;
height: 20px;
cursor: pointer;
transition: 0.5s;
border-radius: 20px;
}
.toggle:before {
content: '';
position: absolute;
top: 2px;
left: 2px;
width: 16px;
height: 16px;
background: #262626;
border-radius: 50%;
transition: 0.5s;
}
.toggle.active:before{
left: 25px;
}
body.dark {
background: #262626;
transition: 0.8s;
}
.content {
margin: 100px auto;
}
h2 {
text-align: center;
font-size:10vw;
color: #000;
font-family: arial;
font-weight: bold;
transition: .5s;
text-transform: uppercase;
}
h2.dark {
color: #f0c420;
}