Athenaeum/static/css/styles.css
2025-05-24 16:47:32 +02:00

195 lines
3.2 KiB
CSS

:root {
--bg-dark: #072C24;
--text-gold: #E3CB9A;
--accent-blue: #78DBFF;
--footer-text: #93B8B1;
}
.dark-theme {
background-color: var(--bg-dark);
color: var(--text-gold);
}
.navbar-brand {
font-family: 'Lobster', cursive;
font-size: 2.2rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.nav-link {
font-family: 'Inter', sans-serif;
font-weight: 500;
transition: all 0.3s ease;
}
.auth-container a {
color: var(--accent-blue) !important;
text-decoration: none;
}
footer {
background-color: #09342b;
padding: 2rem 0;
margin-top: 4rem;
font-family: 'Inter', sans-serif;
color: var(--footer-text);
}
.card {
background: linear-gradient(145deg, #08352c 0%, #062a23 100%);
border: 1px solid #1c4d42;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.btn-gothic {
background-color: #1c4d42;
color: var(--text-gold);
border: 1px solid #2a6b5e;
}
.btn-gothic:hover {
background-color: #2a6b5e;
color: #fff;
}
.auth-container {
background: rgba(7, 44, 36, 0.9);
border: 2px solid #2a6b5e;
backdrop-filter: blur(5px);
}
.auth-container h2 {
font-family: 'Lobster', cursive;
text-align: center;
font-size: 2.5rem;
margin-bottom: 2rem;
}
#books-container {
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.book-card {
max-width: none;
width: 100%;
}
.book-cover {
height: 360px;
}
.book-cover img {
object-fit: contain;
padding: 15px;
}
.book-overlay {
background: linear-gradient(0deg, rgba(7,44,36,0.9) 0%, rgba(7,44,36,0.7) 100%);
padding: 20px;
}
.book-title {
font-size: 1.2rem;
line-height: 1.4;
}
.book-cover:hover .book-overlay {
opacity: 1;
}
.book-info {
color: var(--text-gold);
text-align: center;
padding: 1rem;
}
/* Dodaj do istniejących styli */
.lobster-font {
font-family: 'Lobster', cursive;
}
.inter-font {
font-family: 'Inter', sans-serif;
}
footer a {
color: var(--accent-blue) !important;
text-decoration: none;
}
footer a:hover {
text-decoration: underline;
}
.text-accent {
color: var(--accent-blue) !important;
}
.dark-card {
background: #09342b;
border: 1px solid #1c4d42;
transition: transform 0.3s ease;
}
.dark-card:hover {
transform: translateY(-5px);
}
.text-accent {
color: #78DBFF;
}
#book-description {
line-height: 1.8;
font-size: 1.1rem;
}
#searchInput {
height: 50px;
font-size: 1.2rem;
}
/* W pliku styles.css */
.navbar-nav {
gap: 1.5rem !important; /* Odstępy między linkami */
}
footer a {
padding: 0.5rem 1rem; /* Większy obszar klikalny */
display: inline-block; /* Lepsze wyrównanie */
}
.card-img-top {
height: 350px;
object-fit: cover;
object-position: center top;
}
.bg-dark {
background-color: #072C24 !important;
}
.text-gold {
color: #E3CB9A;
text-decoration: none;
font-family: 'Inter', sans-serif;
font-weight: 500;
transition: opacity 0.3s ease;
}
.text-gold:hover {
color: #E3CB9A;
opacity: 0.8;
}
#searchInput {
min-width: 300px;
background-color: #1a322d;
color: #E3CB9A;
border: 1px solid #3d5a53;
}
#searchInput::placeholder {
color: #93B8B1;
opacity: 0.7;
}