-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (62 loc) · 1.29 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
body {
background-color: #222;
color: whitesmoke;
}
#targetKanaDisplay {
position: relative;
font-size: 100px;
font-weight: bolder;
text-align: center;
justify-content: center;
text-shadow: #555 5px 5px;
}
#buttons {
margin: auto;
width: 500px;
display: flex;
flex-direction: row;
justify-content: center;
}
.container {
position: relative;
padding: 5px;
cursor: pointer;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
/* Hide the default checkbox */
.container input {
position: absolute;
opacity: 0;
cursor: pointer;
height: 0;
width: 0;
}
/* Create a custom button */
.button {
height: 40px;
width: 25px;
border: 3px solid whitesmoke;
font-size: 30pt;
justify-content: center;
cursor: pointer;
text-shadow: #555 2px 2px;
box-shadow: #555 4px 4px;
}
/* When container is hovered, change button's styling */
.container:hover .button {
background-color: #666;
}
/* When checkbox is checked, change button's styling */
.container input:checked + .button {
position: relative;
top: -10px;
color: #90ee90
}
#volume {
display: flex;
justify-content: center;
align-items: center;
}