62 lines
1.5 KiB
CSS
Raw Normal View History

2025-08-01 00:44:04 -04:00
/* Main layout container */
body {
margin: 0;
padding: 0;
display: flex;
min-height: 100vh;
2025-08-02 19:07:01 -04:00
overflow: hidden; /* Prevent body scrolling */
font-family: Garamond, Baskerville, "Baskerville Old Face", "Hoefler Text", "Times New Roman", serif;
2025-08-01 00:44:04 -04:00
}
2025-08-02 19:07:01 -04:00
/* Side banners - FIXED (non-scrollable) */
.banner-left, .banner-right {
width: calc((100% - 1000px) / 2); /* Matches content width */
2025-08-01 00:44:04 -04:00
background-image: url('./banner-left.jpg');
background-size: cover;
2025-08-02 19:07:01 -04:00
background-position: center;
background-attachment: fixed; /* Keeps image fixed during scroll */
background-repeat: no-repeat;
position: fixed;
top: 0;
bottom: 0;
2025-08-01 00:44:04 -04:00
}
.banner-right {
background-image: url('./banner-right.jpg');
2025-08-02 19:07:01 -04:00
right: 0; /* Position on right side */
2025-08-01 00:44:04 -04:00
}
2025-08-02 19:07:01 -04:00
/* Centered content box - SCROLLABLE */
2025-08-01 00:44:04 -04:00
.content-wrapper {
2025-08-02 19:07:01 -04:00
width: 1000px;
min-height: 100vh;
2025-08-01 00:44:04 -04:00
padding: 20px;
background: #ffffff;
box-shadow: 0 0 30px rgba(0,0,0,0.9);
2025-08-02 19:07:01 -04:00
margin: 0 auto; /* Center horizontally */
overflow-y: auto; /* Enable scrolling */
position: relative;
z-index: 1; /* Ensure content appears above banners */
2025-08-01 00:44:04 -04:00
}
/* Language switcher */
.language-switcher {
2025-08-02 19:07:01 -04:00
margin-top: auto;
2025-08-01 00:44:04 -04:00
text-align: center;
2025-08-02 19:07:01 -04:00
padding: 40px 0;
background: rgba(255, 255, 255, 0.97);
border-top: 1px solid #eee;
position: sticky;
bottom: 0;
2025-08-01 00:44:04 -04:00
}
2025-08-02 19:07:01 -04:00
/* Mobile responsiveness */
@media (max-width: 1100px) {
.banner-left, .banner-right {
display: none;
}
.content-wrapper {
width: 100%;
}
}