Free_Web_LLM_Tester / style.css
studycode129's picture
Update style.css
e94e47c verified
raw
history blame
2.91 kB
* {
box-sizing: border-box;
}
body {
font-family: 'Inter', sans-serif;
background: linear-gradient(to right, #ede9fe, #f3e8ff);
color: #374151;
margin: 0;
padding: 20px;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
}
.container {
background: #faf5ff;
padding: 32px;
border-radius: 24px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
width: 100%;
max-width: 800px;
border: 2px solid #c4b5fd;
}
h1 {
text-align: center;
margin-bottom: 24px;
font-size: 28px;
font-weight: 600;
color: #6b21a8;
}
label {
display: block;
margin: 14px 0 6px;
font-weight: 600;
color: #6b21a8;
}
input[type="text"], select, textarea {
width: 100%;
padding: 12px;
margin-bottom: 16px;
border-radius: 10px;
border: 1px solid #ddd6fe;
font-size: 16px;
font-family: inherit;
background: #fff;
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
input[type="text"]:focus, textarea:focus, select:focus {
outline: none;
border-color: #a78bfa;
box-shadow: 0 0 0 2px #ddd6fe;
}
input[type="file"] {
display: none;
}
.custom-file-upload {
display: inline-block;
padding: 12px 24px;
background-color: #8b5cf6;
color: white;
font-weight: 600;
border-radius: 10px;
cursor: pointer;
margin-bottom: 16px;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.custom-file-upload:hover {
background-color: #7c3aed;
transform: scale(1.02);
}
textarea {
min-height: 120px;
resize: vertical;
}
button {
background-color: #8b5cf6;
color: white;
font-weight: 600;
border: none;
padding: 14px;
border-radius: 10px;
font-size: 16px;
cursor: pointer;
width: 100%;
transition: background-color 0.3s ease, transform 0.2s ease;
}
button:hover {
background-color: #7c3aed;
transform: scale(1.02);
}
#loading {
color: #6b21a8;
font-style: italic;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.4; }
}
.hidden { display: none; }
pre {
background: #f5f3ff;
border: 1px solid #e9d5ff;
padding: 16px;
border-radius: 10px;
white-space: pre-wrap;
margin-top: 10px;
}
.download {
text-align: center;
margin-top: 20px;
}
@media (max-width: 768px) {
body {
padding: 10px;
}
.container {
padding: 20px;
}
h1 {
font-size: 24px;
}
button {
font-size: 15px;
padding: 12px;
}
}