plaster/public/index.html

66 lines
2.0 KiB
HTML
Raw Normal View History

2024-12-18 21:21:07 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2024-12-18 21:49:10 +00:00
<title>plaster</title>
2024-12-18 21:21:07 +00:00
<style>
2024-12-18 21:34:54 +00:00
/* 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;
}
}
2024-12-18 21:21:07 +00:00
body {
2024-12-19 00:16:11 +00:00
font-family: 'Nimbus Mono PS', 'Courier New', monospace;
2024-12-19 15:55:48 +00:00
margin: 0px;
2024-12-18 21:34:54 +00:00
background-color: var(--bg-color);
2024-12-18 21:37:54 +00:00
text-align:center;
2024-12-18 21:34:54 +00:00
color: var(--text-color);
2024-12-19 01:51:39 +00:00
}
.main {
text-align:center;
2024-12-19 15:55:48 +00:00
width:75%;
2024-12-18 21:34:54 +00:00
}
input, button {
margin: 5px 0;
padding: 10px;
border: 1px solid var(--border-color);
border-radius: 5px;
2024-12-18 21:21:07 +00:00
}
2024-12-18 21:34:54 +00:00
a {
color: var(--link-color);
}
2024-12-18 21:21:07 +00:00
</style>
</head>
2024-12-19 01:51:39 +00:00
<body> <div class="main">
2024-12-19 00:16:11 +00:00
<h1>plaster 📋</h1>
2024-12-18 21:34:54 +00:00
<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>
2024-12-18 21:21:07 +00:00
<input type="text" id="pasteUrl" placeholder="Enter Pastebin URL">
2024-12-19 01:45:08 +00:00
<button id="fetchBtn">go!</button>
2024-12-20 00:13:56 +00:00
<label>
<input type="checkbox" id="autoCopyCheckbox">
auto-copy paste contents?
</label>
2024-12-18 22:00:46 +00:00
<script src="client.js" defer></script>
2024-12-20 04:45:46 +00:00
<div id="asciiArtContainer" aria-hidden="true" style="position: fixed; bottom: 0; right: 0; padding: 10px; font-family: monospace; white-space: pre;"></div>
2024-12-19 01:51:39 +00:00
<p><a href="https://github.com/gigirassy/plaster">source code</a> is licensed under the public domain</p></div>
2024-12-18 21:21:07 +00:00
</body>
</html>