91 lines
1.9 KiB
HTML
91 lines
1.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="it">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Generatore di Acronimi</title>
|
|
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap" rel="stylesheet">
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Montserrat', sans-serif;
|
|
background: #f0f4f8;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 100vh;
|
|
-webkit-user-select: none;
|
|
-webkit-touch-callout: none;
|
|
-moz-user-select: none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.container {
|
|
background: #ffffff;
|
|
padding: 30px 40px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
|
|
max-width: 600px;
|
|
width: 100%;
|
|
}
|
|
|
|
h1 {
|
|
text-align: center;
|
|
color: #333;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
height: 100px;
|
|
padding: 10px;
|
|
border: 2px solid #dce3ea;
|
|
border-radius: 10px;
|
|
resize: none;
|
|
font-size: 16px;
|
|
font-family: 'Montserrat', sans-serif;
|
|
}
|
|
|
|
button {
|
|
background-color: #4f9da6;
|
|
color: white;
|
|
padding: 12px 20px;
|
|
margin-top: 20px;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
transition: background-color 0.3s ease;
|
|
width: 100%;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #3d7f86;
|
|
}
|
|
|
|
#acronym {
|
|
margin-top: 20px;
|
|
font-size: 1.5em;
|
|
font-weight: 600;
|
|
color: #2e5e68;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Generatore di Acronimi</h1>
|
|
<textarea id="inputText" placeholder="Es: Self Contained Underwater Breathing Apparatus"></textarea>
|
|
<button onclick="esercizio3()">Genera Acronimo</button>
|
|
<div id="acronym"></div>
|
|
</div>
|
|
|
|
<script src="esercizi.js"></script>
|
|
</body>
|
|
</html>
|