forked from wasi-master/13ft
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
80 lines (73 loc) · 2.48 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
<html lang="en">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>13ft Ladder</title>
<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=Open+Sans&display=swap" rel="stylesheet">
<style>
div.centered {
position: absolute;
left: 50%;
top: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
h1{
font-family: 'Product Sans', 'Open Sans', sans-serif;
text-rendering: optimizeLegibility;
margin: 0;
text-align: center;
}
input[type=text] {
padding: 10px;
margin-bottom: 10px;
border: 0;
box-shadow: 0 0 15px 4px rgba(0,0,0,0.3);
border-radius: 10px;
width:100%;
font-family: 'Product Sans', 'Open Sans', sans-serif;
font-size: inherit;
text-rendering: optimizeLegibility;
}
input[type="submit"] {
/* remove default behavior */
-webkit-appearance:none;
appearance:none;
/* usual styles */
padding:10px;
border:none;
background-color:#6a0dad;
color:#fff;
font-weight:600;
border-radius:5px;
width:100%;
text-transform: uppercase;
font-family: 'Product Sans', 'Open Sans', sans-serif;
font-size: 1rem;
text-rendering: optimizeLegibility;
}
</style>
</head>
<body>
<div class="centered">
<form action="/article" method="post">
<h1>
<label for="link">Enter Website Link</label>
</h1>
<br>
<input
title="Link of the website you want to remove paywall for"
type="text"
name="link"
required
pattern="https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)"
oninvalid="this.setCustomValidity('Invalid Link')"
oninput="this.setCustomValidity('')"
>
<input type="submit" value="submit">
</form>
</div>
</body>
</html>