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