91 lines
1.6 KiB
CSS
91 lines
1.6 KiB
CSS
body {
|
|
font-family: 'Segoe UI', sans-serif;
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
.card-generator {
|
|
background: white;
|
|
padding: 40px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
|
|
width: 350px;
|
|
text-align: center;
|
|
}
|
|
|
|
.input-group {
|
|
text-align: left;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 0.9rem;
|
|
color: #666;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 10px;
|
|
border: 2px solid #eee;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
box-sizing: border-box;
|
|
transition: 0.3s;
|
|
}
|
|
|
|
input:focus {
|
|
border-color: #6c5ce7;
|
|
outline: none;
|
|
}
|
|
|
|
button {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #6c5ce7;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-weight: bold;
|
|
margin-top: 10px;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
button:hover {
|
|
background-color: #5649c0;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.hidden {
|
|
display: none;
|
|
}
|
|
|
|
#box-risultato {
|
|
margin-top: 25px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
animation: fadeIn 0.5s;
|
|
}
|
|
|
|
.username-box {
|
|
background: #f0f3f4;
|
|
color: #2d3436;
|
|
font-family: 'Courier New', monospace;
|
|
font-size: 1.4rem;
|
|
font-weight: bold;
|
|
padding: 10px;
|
|
border-radius: 8px;
|
|
letter-spacing: 1px;
|
|
border: 1px dashed #b2bec3;
|
|
}
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
} |