113 lines
2.5 KiB
Cheetah
113 lines
2.5 KiB
Cheetah
|
<!DOCTYPE html>
|
||
|
<html lang="gz">
|
||
|
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>Xenerador de contrasinais</title>
|
||
|
<style>
|
||
|
body {
|
||
|
font-family: 'Poppins', sans-serif;
|
||
|
background: linear-gradient(135deg, #121212, #1e1e1e);
|
||
|
color: #d1d1d1;
|
||
|
display: flex;
|
||
|
flex-direction: column;
|
||
|
justify-content: center;
|
||
|
align-items: center;
|
||
|
min-height: 100vh;
|
||
|
margin: 0;
|
||
|
}
|
||
|
.container {
|
||
|
background: #242424;
|
||
|
padding: 20px;
|
||
|
border-radius: 10px;
|
||
|
box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.3);
|
||
|
text-align: center;
|
||
|
max-width: 420px;
|
||
|
width: 100%;
|
||
|
margin-top: 25px;
|
||
|
border: 1px solid #3a3a3a;
|
||
|
}
|
||
|
h1 {
|
||
|
font-size: 1.8rem;
|
||
|
margin-bottom: 15px;
|
||
|
color: #00bcd4;
|
||
|
text-shadow: 0px 0px 5px rgba(0, 188, 212, 0.5);
|
||
|
font-weight: 600;
|
||
|
}
|
||
|
.password-box {
|
||
|
background: #333;
|
||
|
padding: 12px;
|
||
|
border-radius: 6px;
|
||
|
font-size: 1.4rem;
|
||
|
font-weight: bold;
|
||
|
color: #ffffff;
|
||
|
word-break: break-all;
|
||
|
text-align: center;
|
||
|
margin-bottom: 15px;
|
||
|
border: 1px solid #00bcd4;
|
||
|
}
|
||
|
.button {
|
||
|
background: #00bcd4;
|
||
|
color: #ffffff;
|
||
|
border: none;
|
||
|
padding: 10px 16px;
|
||
|
border-radius: 6px;
|
||
|
cursor: pointer;
|
||
|
font-size: 1rem;
|
||
|
transition: background 0.3s, box-shadow 0.3s;
|
||
|
font-weight: 500;
|
||
|
}
|
||
|
.button:hover {
|
||
|
background: #008ba3;
|
||
|
box-shadow: 0px 2px 8px rgba(0, 188, 212, 0.5);
|
||
|
}
|
||
|
a {
|
||
|
color: #00bcd4;
|
||
|
text-decoration: none;
|
||
|
font-weight: 500;
|
||
|
transition: color 0.3s;
|
||
|
}
|
||
|
a:hover {
|
||
|
color: #008ba3;
|
||
|
text-decoration: underline;
|
||
|
}
|
||
|
footer {
|
||
|
margin-top: auto;
|
||
|
padding: 10px;
|
||
|
text-align: center;
|
||
|
font-size: 0.9rem;
|
||
|
color: #a1a1a1;
|
||
|
font-weight: 400;
|
||
|
}
|
||
|
</style>
|
||
|
</head>
|
||
|
|
||
|
<body>
|
||
|
<div class="container">
|
||
|
<h1>
|
||
|
Xenerador de contrasinais
|
||
|
</h1>
|
||
|
<p>
|
||
|
Xenera frases en galego para usar como contrasinais do estilo:
|
||
|
<a href="https://xkcd.com/936/">correct horse battery staple</a>.
|
||
|
</p>
|
||
|
|
||
|
<div class="password-box">
|
||
|
{{ .password }}
|
||
|
</div>
|
||
|
|
||
|
<form>
|
||
|
<label>Cantidade de palabras:</label><br>
|
||
|
<input type="text" id="num" name="num" value="4"><br>
|
||
|
<label>Separador:</label><br>
|
||
|
<input type="text" id="sep" name="sep" value=""><br><br>
|
||
|
<input class="button" type="submit" value="xenerar">
|
||
|
</form>
|
||
|
</div>
|
||
|
</body>
|
||
|
<footer>
|
||
|
Feito con ❤️ por <a href="https://tr4ck.net/~sergio">serxoz</a> no 2025.
|
||
|
</footer>
|
||
|
</html>
|