Spaces:
Runtime error
Runtime error
body { | |
font-family: Arial, sans-serif; | |
background-color: #f4f4f4; | |
margin: 0; | |
padding: 0; | |
} | |
main { | |
max-width: 800px; | |
margin: 50px auto; | |
background: #fff; | |
padding: 20px; | |
border-radius: 8px; | |
box-shadow: 0 2px 5px rgba(0,0,0,0.1); | |
} | |
h2 { | |
color: #333; | |
text-align: center; | |
} | |
p { | |
color: #666; | |
text-align: center; | |
} | |
form { | |
display: flex; | |
flex-direction: column; | |
/*gap: 15px;*/ | |
} | |
label { | |
color: #333; | |
font-weight: bold; | |
} | |
input[type="text"], | |
input[type="range"], | |
textarea { | |
width: 100%; | |
padding: 10px; | |
border: 1px solid #ccc; | |
border-radius: 4px; | |
font-size: 16px; | |
} | |
input[type="range"] { | |
width: 90% ; | |
padding: 10px 0px ; | |
} | |
output { | |
font-size: 16px; | |
padding: 10px; | |
} | |
.range-container { | |
display: flex; | |
align-items: center; | |
} | |
select { | |
width: 100%; | |
padding: 10px; | |
border: 1px solid #ccc; | |
border-radius: 4px; | |
font-size: 16px; | |
background: #fff; | |
} | |
input[type="file"] { | |
padding: 10px; | |
font-size: 16px; | |
} | |
#text-gen-submit { | |
padding: 10px 15px; | |
background-color: #28a745; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
font-size: 16px; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
} | |
#text-gen-submit:hover { | |
background-color: #218838; | |
} | |
#toggle-settings-btn { | |
padding: 10px 15px; | |
background-color: #a72828; | |
color: white; | |
border: none; | |
border-radius: 4px; | |
font-size: 16px; | |
cursor: pointer; | |
transition: background-color 0.3s; | |
margin-bottom: 15px; | |
} | |
#toggle-settings-btn:hover { | |
background-color: #882121; | |
} | |
.text-gen-output { | |
padding: 15px; | |
background: #f9f9f9; | |
border: 1px solid #eee; | |
border-radius: 4px; | |
min-height: 50px; | |
text-align: center; | |
color: #333; | |
} | |
.advanced-settings { | |
display: none; | |
/* | |
margin-top: 20px; | |
padding: 15px; | |
background: #f0f0f0; | |
border: 1px solid #ccc; | |
border-radius: 4px; | |
*/ | |
transition: display 1.5s ease-in-out; | |
} | |
.toggle-settings-btn { | |
display: block; | |
margin-top: 10px; | |
text-align: center; | |
cursor: pointer; | |
color: #007bff; | |
text-decoration: underline; | |
} | |
.mode-fields{ | |
padding-bottom: 15px; | |
} | |
#loading-overlay { | |
position: fixed; | |
top: 0; | |
left: 0; | |
width: 100%; | |
height: 100%; | |
background: rgba(0, 0, 0, 0.5); | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
z-index: 1000; | |
display: none; /* Hide by default */ | |
} | |
.loader { | |
width: 50px; | |
aspect-ratio: 1; | |
border-radius: 50%; | |
border: 8px solid lightblue; | |
border-right-color: orange; | |
animation: l2 1s infinite linear; | |
} | |
@keyframes l2 {to{transform: rotate(1turn)}} |