t5-translator / style.css
boazchung's picture
Update style.css
c4ed2fe verified
raw
history blame
691 Bytes
body {
padding: 2rem;
font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
text-align: center;
}
h1 {
font-size: 16px;
margin-top: 0;
}
/* Add styles for centering the form */
#hf-form {
width: 100%;
max-width: 400px; /* Adjust this value as per your design needs */
margin: auto; /* Centers the form */
padding: 20px; /* Optional: for some spacing inside the form */
box-sizing: border-box;
}
p {
color: rgb(107, 114, 128);
font-size: 15px;
margin-bottom: 10px;
margin-top: 5px;
}
.card {
max-width: 620px;
margin: 0 auto;
padding: 16px;
border: 1px solid lightgray;
border-radius: 16px;
}
.card p:last-child {
margin-bottom: 0;
}