-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
82 lines (78 loc) · 1.67 KB
/
style.css
File metadata and controls
82 lines (78 loc) · 1.67 KB
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
body{
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
margin: 0;
padding: 0;
}
#vsr-wrapper{
margin-top: 50px;
padding: 50px;
}
.button{
background: blue;
padding: 0.5em 1em;
display: inline-block;
color: white;
text-decoration: none;
border-radius: 3px;
}
.button:hover{
cursor: pointer;
background-color: cadetblue;
}
#srToggle{display: none;}
#srToggle + label{
background: yellow;
z-index: 2;
padding: 1em;
display: flex;
top: 0;
box-sizing: border-box;
width: 100%;
justify-content: space-between;
text-align: left;
position: fixed;
}
#srToggle + label:after{
content: 'Off';
}
#srToggle:checked + label:after{
content: 'On';
}
#srToggle + label:hover{
background: orange;
cursor: pointer;
}
#srToggle + label:active{
background: black;
color: white;
}
#srToggle:checked ~ #vsr-wrapper *:focus{
background: black;
position: fixed;
height: 100%;
width: 100%;
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
color: white;
text-decoration: none;
font-size: 2rem;
}
#srToggle:checked ~ #vsr-wrapper *:focus:after,#srToggle:checked ~ #vsr-wrapper *:focus:before{
position: fixed;
bottom: 50px;
font-size: 1rem;
border: solid 1px white;
padding: 0.5rem 1rem;
opacity: 0.5;
}
#srToggle:checked ~ #vsr-wrapper *:focus:after{
content: 'Press tab to move forward';
right: 50px;
}
#srToggle:checked ~ #vsr-wrapper *:focus:before{
content: 'Press shift+tab to move back';
left: 50px;
}