2024-12-17 05:20:42 +00:00
|
|
|
/* Base Styles */
|
2024-12-16 07:14:39 +00:00
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
font-family: 'Georgia', serif;
|
|
|
|
background-color: #121212;
|
|
|
|
color: #f5f5f5;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
2024-12-17 05:20:42 +00:00
|
|
|
width: 90%; /* Make it responsive and fit within the screen */
|
|
|
|
max-width: 950px; /* Set a max width */
|
2024-12-16 07:14:39 +00:00
|
|
|
margin: auto;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
height: 100vh;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
2024-12-17 05:20:42 +00:00
|
|
|
padding: 1rem; /* Add breathing room for small screens */
|
|
|
|
box-sizing: border-box;
|
2024-12-16 07:14:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.background-image {
|
|
|
|
position: absolute;
|
|
|
|
top: 50%;
|
|
|
|
left: 50%;
|
|
|
|
transform: translate(-50%, -50%);
|
|
|
|
width: 100%;
|
2024-12-17 05:20:42 +00:00
|
|
|
max-width: 600px; /* Limit size */
|
2024-12-16 07:14:39 +00:00
|
|
|
height: auto;
|
2024-12-17 05:20:42 +00:00
|
|
|
opacity: 0.15; /* Light transparency for clarity */
|
2024-12-16 07:14:39 +00:00
|
|
|
z-index: 0;
|
2024-12-17 05:20:42 +00:00
|
|
|
pointer-events: none;
|
2024-12-16 07:14:39 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
blockquote {
|
2024-12-17 05:20:42 +00:00
|
|
|
font-size: clamp(1.2rem, 2vw, 1.8rem); /* Responsive font size */
|
2024-12-16 07:14:39 +00:00
|
|
|
font-style: italic;
|
|
|
|
margin: 0;
|
|
|
|
line-height: 1.5;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.author {
|
2024-12-17 05:20:42 +00:00
|
|
|
margin-top: 1rem;
|
|
|
|
font-size: clamp(1rem, 1.5vw, 1.2rem); /* Responsive font size */
|
2024-12-16 07:14:39 +00:00
|
|
|
font-style: italic;
|
|
|
|
color: #bbbbbb;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.source {
|
2024-12-17 05:20:42 +00:00
|
|
|
margin-top: 0.5rem;
|
|
|
|
font-size: clamp(0.9rem, 1.2vw, 1rem);
|
2024-12-16 07:14:39 +00:00
|
|
|
color: #999999;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.source a {
|
|
|
|
color: #f5f5f5;
|
|
|
|
text-decoration: none;
|
|
|
|
font-weight: bold;
|
|
|
|
border-bottom: 2px solid #f5f5f5;
|
|
|
|
transition: color 0.3s, border-color 0.3s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.source a:hover {
|
|
|
|
color: #d1d1d1;
|
|
|
|
border-color: #d1d1d1;
|
|
|
|
}
|
2024-12-17 05:20:42 +00:00
|
|
|
|
|
|
|
/* Mobile Responsive Styles */
|
|
|
|
@media (max-width: 768px) {
|
|
|
|
.container {
|
|
|
|
width: 95%;
|
|
|
|
height: auto; /* Allow the container to grow naturally */
|
|
|
|
padding: 2rem 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.background-image {
|
|
|
|
max-width: 400px;
|
|
|
|
opacity: 0.1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
.background-image {
|
|
|
|
max-width: 300px;
|
|
|
|
opacity: 0.08;
|
|
|
|
}
|
|
|
|
}
|