36583-vm/static/css/custom.css
Flatlogic Bot 2778aa5fbf v1
2025-12-03 09:24:51 +00:00

146 lines
2.8 KiB
CSS

/* Custom styles for the application */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Inter:wght@400;600;700&display=swap');
body {
font-family: 'Inter', sans-serif;
background-color: #f8f9fa;
color: #343a40;
overflow-x: hidden;
}
.hero-shapes {
position: relative;
background: linear-gradient(135deg, #f8f9fa, #e0e7ff);
overflow: hidden;
padding: 100px 0;
animation: gradient-animation 10s ease infinite;
}
@keyframes gradient-animation {
0% { background: linear-gradient(135deg, #f8f9fa, #e0e7ff); }
50% { background: linear-gradient(135deg, #e0e7ff, #f8f9fa); }
100% { background: linear-gradient(135deg, #f8f9fa, #e0e7ff); }
}
.shape {
position: absolute;
border-radius: 50%;
background-color: rgba(0, 123, 255, 0.1);
animation: shape-animation 20s infinite linear;
}
.shape-1 {
width: 200px;
height: 200px;
top: 10%;
left: 10%;
}
.shape-2 {
width: 100px;
height: 100px;
top: 60%;
right: 20%;
animation-delay: 5s;
}
.shape-3 {
width: 150px;
height: 150px;
bottom: 10%;
left: 30%;
animation-delay: 10s;
}
@keyframes shape-animation {
0% { transform: translateY(0) rotate(0deg); }
100% { transform: translateY(-100px) rotate(360deg); }
}
.container {
max-width: 1200px;
position: relative;
z-index: 1;
animation: fade-in 1.5s ease;
}
@keyframes fade-in {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
h1.display-4.fw-bold {
font-family: 'Playfair Display', serif;
font-weight: 700;
color: #212529;
}
.lead {
color: #6c757d;
}
.btn-primary {
background-color: #007bff;
border-color: #007bff;
border-radius: 50px;
font-weight: 600;
padding: 15px 30px;
font-size: 1.2rem;
transition: background-color 0.2s, transform 0.2s;
}
.btn-primary:hover {
background-color: #0056b3;
transform: translateY(-2px);
}
/* Story writer specific styles */
.card {
border: none;
border-radius: 15px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.2s;
}
.card:hover {
transform: translateY(-5px);
}
.card-body {
padding: 2rem;
}
.card-title {
font-weight: 600;
margin-bottom: 1.5rem;
}
#editor, #suggestion {
border-radius: 10px;
border: 1px solid #dee2e6;
padding: 15px;
font-size: 1rem;
line-height: 1.6;
background-color: #fff;
}
#editor:focus, #suggestion:focus {
outline: none;
border-color: #80bdff;
box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}
.spinner-border {
width: 3rem;
height: 3rem;
color: #007bff;
}
.center-spinner {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}