forked from anisurrahmanlikhon/WolfreeAlpha
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylesheet.css
88 lines (73 loc) · 1.21 KB
/
stylesheet.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
body {
line-height: 1.6em;
font-family: sans-serif;
}
a {
text-decoration: none;
}
select {
padding: .5em
}
form {
display: flex;
}
#input {
width: 99%;
padding: 1em;
box-sizing: border-box;
}
pod {
display: block;
padding-bottom: 2em;
}
summary {
padding: 1em;
cursor: pointer;
border: solid thin;
margin-bottom: 1em;
}
/* animated loader icon */
.loading {
width: 0;
height: 0;
padding: 2em;
border-radius: 3em;
border: thick solid silver;
border-bottom-color: dimgray;
animation: rotate 3s infinite;
}
@keyframes rotate {
0% {
transform: rotate(2turn);
}
}
/* dark-theme toggle */
.dark-theme {
color: dimgray;
background: black;
filter: invert(1) hue-rotate(180deg);
}
.toggle {
width: 2.2em;
height: 1.2em;
margin: 1.2em;
background: gray;
border-radius: 1em;
display: inline-flex;
}
#checkbox {
width: 1em;
height: 1em;
margin: auto;
outline: none;
appearance: none;
border-radius: 1em;
transition: all .5s;
background-color: white;
}
#checkbox:checked {
transform: translate(.5em);
}
#checkbox:not(:checked) {
transform: translate(-.5em);
}