35331-vm/assets/css/custom.css
Flatlogic Bot c7a0ec6c94 0.0000001
2025-10-29 15:05:49 +00:00

122 lines
2.5 KiB
CSS

/* LiberMania Custom Styles */
:root {
--primary-color: #5A67D8;
--secondary-color: #FBBF24;
--background-color: #F7FAFC;
--surface-color: #FFFFFF;
--text-color: #2D3748;
--heading-font: 'Georgia', 'Times New Roman', serif;
--body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
body {
background-color: var(--background-color);
color: var(--text-color);
font-family: var(--body-font);
}
h1, h2, h3, h4, h5, h6 {
font-family: var(--heading-font);
color: var(--primary-color);
}
.navbar {
background-color: var(--surface-color);
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.hero {
color: white;
padding: 6rem 1rem;
text-align: center;
background: linear-gradient(rgba(90, 103, 216, 0.8), rgba(90, 103, 216, 0.8)), url('https://images.pexels.com/photos/34076/pexels-photo.jpg?auto=compress&cs=tinysrgb&w=1260&h=750&dpr=1') no-repeat center center;
background-size: cover;
}
.hero h1 {
color: white;
font-size: 3.5rem;
font-weight: bold;
}
.hero p {
font-size: 1.25rem;
margin-bottom: 2rem;
}
.btn-primary {
background-color: var(--primary-color);
border-color: var(--primary-color);
border-radius: 0.5rem;
padding: 0.75rem 1.5rem;
font-weight: bold;
}
.btn-primary:hover {
background-color: #434190;
border-color: #434190;
}
.btn-secondary {
background-color: var(--secondary-color);
border-color: var(--secondary-color);
color: var(--text-color);
border-radius: 0.5rem;
padding: 0.75rem 1.5rem;
font-weight: bold;
}
.btn-secondary:hover {
background-color: #fca510;
border-color: #fca510;
}
.book-card {
background-color: var(--surface-color);
border: none;
border-radius: 0.5rem;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
height: 100%;
}
.book-card:hover {
transform: translateY(-5px);
box-shadow: 0 12px 16px rgba(0,0,0,0.1);
}
.book-card img {
aspect-ratio: 2 / 3;
object-fit: cover;
}
.book-card .card-body {
display: flex;
flex-direction: column;
}
.book-card .card-title {
font-size: 1.1rem;
font-weight: bold;
font-family: var(--body-font);
color: var(--text-color);
}
.book-card .card-text {
color: #718096;
}
.credits {
font-weight: bold;
color: var(--primary-color);
margin-top: auto;
font-size: 1.1rem;
}
.footer {
background-color: #E2E8F0;
padding: 2rem 0;
margin-top: 4rem;
}