-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
75 lines (64 loc) · 980 Bytes
/
styles.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
*{
box-sizing: border-box;
}
html, body{
font-family:'Helvetica Neue', Helvetica, sans-serif;
height: 100%;
width: 100%;
margin: 0;
}
body{
padding: 1em;
}
label{
border: 1px solid #ccc;
padding: .25em .5em;
display: inline-block;
border-radius: 3px;
cursor: pointer;
}
h1{
text-align: center;
margin: 0;
padding: 0 1em;
font-size: 3em;
letter-spacing: -.025em;
position: absolute;
left: 0;
top: 50%;
width: 100%;
transform: translateY(-50%);
}
input[type="checkbox"]{
display: none;
}
:checked + label{
background: #000;
color: #fff;
border: 1px solid #000;
}
.inline-block{
display: inline-block;
margin: .25em;
}
.bottom-right{
position: absolute;
bottom: 1em;
right: 1em;
font-weight: bold;
}
.dark {
background: #000;
color: #fff;
}
.bulb{
position: absolute;
bottom: 1em;
left: 1em;
cursor: pointer;
}
:checked + label{
color: #fff;
background: #0073e6;
border: 1px solid #0073e6;
}