-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
104 lines (94 loc) · 2.32 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
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!DOCTYPE html>
<html>
<head>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Nunito+Sans:opsz,[email protected],200;6..12,600&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="reset.css" />
<style>
/* Why are you reading the CSS? Go write some tests. */
html {
font-size: 12px;
}
body {
height: 100%;
min-height: 100vh;
background: linear-gradient(-45deg, #470c55, #122850, #232323);
background-size: 350% 350%;
animation: gradient 15s ease infinite;
height: 100vh;
color: #fff;
font-family: 'Nunito Sans', sans-serif;
}
@keyframes gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
h1,
h2 {
text-shadow: 2px 2px 12px rgb(0, 0, 0, 0.15);
}
h1 {
font-size: 13rem;
font-weight: 200;
text-transform: uppercase;
}
h2 {
font-size: 4rem;
font-weight: 200;
}
.wrapper {
align-items: center;
display: flex;
height: 100vh;
justify-content: center;
}
.wrapper > .container {
text-align: center;
}
footer {
position: absolute;
bottom: 25px;
left: calc(50% - 72px);
text-align: center;
background-color: #fff;
border-radius: 8px;
padding: 4px 10px;
display: flex;
justify-content: center;
align-items: center;
}
footer a {
text-decoration: none;
color: #000;
font-size: 1.25rem;
font-weight: 600;
}
</style>
<title>Should you write tests? Yes.</title>
</head>
<body>
<!-- Why are you reading the source? Go write some tests. -->
<div class="wrapper">
<div class="container">
<h1>Yes</h1>
<h2>Don't be weird</h2>
</div>
</div>
<footer>
<a rel="noopener" href="https://twitter.com/dandigangi" target="_blank"
>Made by @dandigangi</a
>
</footer>
</body>
</html>