forked from wasi-master/13ft
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
26ea406
commit a941346
Showing
2 changed files
with
108 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,76 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<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"> | ||
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet" async> | ||
<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; | ||
body { | ||
font-family: 'Open Sans', sans-serif; | ||
background-color: #FFF; | ||
margin: 0; | ||
padding: 0; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
} | ||
|
||
h1 { | ||
font-size: 1.5rem; | ||
margin-bottom: 20px; | ||
text-align: center; | ||
color: #333; | ||
} | ||
label { | ||
display: block; | ||
margin-bottom: 10px; | ||
font-weight: bold; | ||
} | ||
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; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
width: 100%; | ||
font-size: 1rem; | ||
box-sizing: border-box; | ||
} | ||
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%; | ||
padding: 10px; | ||
background-color: #6a0dad; | ||
color: #fff; | ||
border: none; | ||
border-radius: 5px; | ||
width: 100%; | ||
text-transform: uppercase; | ||
font-family: 'Product Sans', 'Open Sans', sans-serif; | ||
font-size: 1rem; | ||
text-rendering: optimizeLegibility; | ||
font-weight: 600; | ||
cursor: pointer; | ||
transition: background-color 0.3s ease; | ||
} | ||
input[type="submit"]:hover { | ||
background-color: #4e0875; | ||
} | ||
input[type="submit"]:active { | ||
scale: 1.02; | ||
|
||
/* Responsive adjustments */ | ||
@media only screen and (max-width: 600px) { | ||
form { | ||
padding: 10px; | ||
} | ||
h1 { | ||
font-size: 1.2rem; | ||
} | ||
} | ||
</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 | ||
> | ||
<input type="submit" value="submit"> | ||
</form> | ||
</div> | ||
<form action="/article" method="post"> | ||
<h1>Enter Website Link</h1> | ||
<label for="link">Link of the website you want to remove paywall for:</label> | ||
<input type="text" id="link" name="link" required> | ||
<input type="submit" value="Submit"> | ||
</form> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters