plaster/public/index.html
2024-12-19 19:13:56 -05:00

65 lines
1.9 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>plaster</title>
<style>
/* Default Light Mode */
:root {
--bg-color: #ffffff;
--text-color: #000000;
--link-color: #0066cc;
--border-color: #ddd;
}
/* Dark Mode */
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #1e1e1e;
--text-color: #ffffff;
--link-color: #4db8ff;
--border-color: #444;
}
}
body {
font-family: 'Nimbus Mono PS', 'Courier New', monospace;
margin: 0px;
background-color: var(--bg-color);
text-align:center;
color: var(--text-color);
}
.main {
text-align:center;
width:75%;
}
input, button {
margin: 5px 0;
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 5px;
}
a {
color: var(--link-color);
}
</style>
</head>
<body> <div class="main">
<h1>plaster 📋</h1>
<p>Alternative frontend for Pastebin.</p>
<p>All issues regarding paste content should be reported to <a href="https://pastebin.com">Pastebin</a>. In addition, if you want a real alternative to Pastebin, <a href="https://privatebin.info">check out Privatebin!</a></p>
<input type="text" id="pasteUrl" placeholder="Enter Pastebin URL">
<button id="fetchBtn">go!</button>
<label>
<input type="checkbox" id="autoCopyCheckbox">
auto-copy paste contents?
</label>
<script src="client.js" defer></script>
<p><a href="https://github.com/gigirassy/plaster">source code</a> is licensed under the public domain</p></div>
</body>
</html>