-
Notifications
You must be signed in to change notification settings - Fork 0
/
greenscreen.html
66 lines (58 loc) · 1.68 KB
/
greenscreen.html
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
<!doctype html>
<html>
<head>
<title>Greenscreen</title>
<link rel="icon" href="eye-icon.png">
<style>
html,
body {
width: 100%;
height: 100%;
margin: 0;
background-color: green;
display: flex;
justify-content: flex-end;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-size: 14px;
font-weight: 400;
line-height: 1;
}
html:-webkit-full-screen div:not(#exit) {
opacity: 0;
}
html:-webkit-full-screen #exit {
display: block;
}
div {
background-color: rgba(255, 255, 255, 0.3);
border-top-left-radius: 10px;
padding: 10px;
align-self: flex-end;
opacity: 0.2;
transition: opacity 1s;
}
div:hover {
opacity: 1;
}
a {
color: #0275d8;
text-decoration: none;
text-decoration-skip: ink;
}
#exit {
display: none;
}
</style>
</head>
<body>
<div>
<p>Staring at an object at a close range for too long can cause damages to your eyes and cause fatigue and some really nasty syndromes.</p>
<p>A green screen tends to help your eyes and ease the fatigue after working on your computer for 20 mintues.</p>
<p>For the best experience, click F11 (<a href="#" id="fullscreen">fullscreen</a>).<sup>(Source: Exxxpers)</sup></p>
</div>
<div id="exit">
<a href="#" id="exit-fullscreen">Exit fullscreen</a>
</div>
<script src="greenscreen.js" defer></script>
</body>
</html>