forked from vrachieru/go-fucking-work
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
48 lines (45 loc) · 1.19 KB
/
index.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
<!DOCTYPE html>
<html>
<head>
<title>GO FUCKING WORK</title>
<style type="text/css">
body {
font-family: sans-serif;
overflow-y: scroll;
overflow-x: hidden;
}
#quote {
font-size: 90px;
font-weight: 800;
text-align: center;
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
</style>
</head>
<body>
<div id="quote"></div>
<script type="text/javascript">
var quotes = [
"GO FUCKING WORK.",
"TICK TOCK. FUCKING WORK.",
"REMEMBER WORK? FUCKING DO IT.",
"FUCKING WORK. NOW.",
"WHAT THE FUCK? GO WORK.",
"WORK YOU FUCKITY FUCK.",
"GO LOOK AT THE FUCKING SKY IF YOU NEED A BREAK.",
"STOP WASTING TIME AND WORK."
];
function getQuote () {
return quotes[Math.floor(Math.random() * (quotes.length-1))];
}
function setQuote() {
document.querySelector("#quote").textContent = getQuote();
}
window.onload = setQuote;
</script>
</body>
</html>