manimator / static /styles.css
theminji's picture
Upload 7 files
0ea56ae verified
raw
history blame
3.14 kB
/* Base resets */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: 'Roboto', sans-serif;
background-color: #0d1117; /* GitHub dark background */
color: #c9d1d9; /* Light text color */
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
}
/* Header */
header {
text-align: center;
margin-top: 20px;
margin-bottom: 30px;
}
header h1 {
font-size: 2.5rem;
font-weight: 700;
margin-bottom: 5px;
}
header p {
font-size: 1.1rem;
color: #8b949e;
}
/* Container Card */
.container {
background: #161b22; /* dark card background */
padding: 2rem;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
width: 100%;
max-width: 600px;
margin-bottom: 30px;
}
/* Form Styles */
form label {
display: block;
margin-bottom: 0.5rem;
font-size: 1.1rem;
font-weight: 500;
}
form input[type="text"] {
width: 100%;
padding: 0.75rem;
border: 1px solid #30363d;
border-radius: 4px;
background: #0d1117;
color: #c9d1d9;
margin-bottom: 1rem;
font-size: 1rem;
}
form input[type="text"]::placeholder {
color: #8b949e;
}
form button {
width: 100%;
padding: 0.75rem;
background-color: #238636; /* GitHub accent green */
color: #ffffff;
border: none;
border-radius: 4px;
font-size: 1.1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.3s ease;
}
form button:hover {
background-color: #2ea043;
}
/* Button Link on Result Page */
a.btn {
display: block; /* Make it block level */
width: fit-content; /* Shrink wrap the button */
padding: 0.75rem 1rem;
background-color: #238636;
color: #ffffff;
border-radius: 4px;
text-decoration: none;
font-size: 1.1rem;
font-weight: 600;
transition: background 0.3s ease;
margin: 20px auto 0 auto; /* Center the button and add top margin */
}
a.btn:hover {
background-color: #2ea043;
}
/* Error Message */
.error {
color: #f85149;
font-size: 1.1rem;
margin-bottom: 1rem;
}
/* Loading Overlay Styles */
.loading-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(13, 17, 23, 0.95);
z-index: 9999;
display: none; /* Hidden by default */
flex-direction: column;
align-items: center;
justify-content: center;
}
.loading-overlay p {
margin-top: 1rem;
font-size: 1.2rem;
color: #c9d1d9;
}
/* Spinner Animation */
.spinner {
border: 8px solid rgba(255, 255, 255, 0.2);
border-top: 8px solid #58a6ff;
border-radius: 50%;
width: 60px;
height: 60px;
animation: spin 1.5s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}