310 lines
5.2 KiB
CSS
310 lines
5.2 KiB
CSS
.main {
|
|
background-color: var(--color-dark);
|
|
color: var(--color-paragraph);
|
|
min-height: 100vh;
|
|
}
|
|
|
|
.hero {
|
|
padding: 200px 0px;
|
|
background-size: cover;
|
|
background-position: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.heroContent {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.heroTitle {
|
|
font-family: var(--font-playfair);
|
|
font-size: var(--hero-title-size);
|
|
color: #d3cab3;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.breadcrumb {
|
|
font-size: 1.1rem;
|
|
color: var(--color-paragraph);
|
|
font-family: var(--font-lato);
|
|
}
|
|
|
|
.breadcrumb a {
|
|
color: #d3cab3;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.breadcrumb a:hover {
|
|
color: var(--color-gold);
|
|
}
|
|
|
|
.article {
|
|
background-color: #F5E6D3;
|
|
padding: 80px 20px;
|
|
}
|
|
|
|
.contentContainer {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
background: #fff;
|
|
padding: 3rem;
|
|
border: 2px solid #b07c4b
|
|
}
|
|
|
|
.meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
flex-wrap: wrap;
|
|
font-family: var(--font-lato);
|
|
}
|
|
|
|
.category {
|
|
background: #c49c5c;
|
|
color: #fff;
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 4px;
|
|
font-size: 0.9rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.date,
|
|
.comments {
|
|
color: var(--color-paragraph);
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
.separator {
|
|
color: #d4c5b0;
|
|
}
|
|
|
|
.featuredImage {
|
|
width: 100%;
|
|
height: 500px;
|
|
position: relative;
|
|
margin-bottom: 2.5rem;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
border: 3px solid #c49c5c;
|
|
}
|
|
|
|
.featuredImage img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.content {
|
|
font-family: var(--font-lato);
|
|
font-size: 16px;
|
|
line-height: 1.8;
|
|
/* color: #5d4037; */
|
|
}
|
|
|
|
.content h2 {
|
|
font-family: var(--font-playfair);
|
|
font-size: 2rem;
|
|
color: #5d4037;
|
|
margin: 2rem 0 1rem;
|
|
padding-bottom: 0.5rem;
|
|
border-bottom: 2px solid #c49c5c;
|
|
}
|
|
|
|
.content h3 {
|
|
font-family: var(--font-playfair);
|
|
font-size: 1.6rem;
|
|
color: #5d4037;
|
|
margin: 1.5rem 0 1rem;
|
|
}
|
|
|
|
.content h4 {
|
|
font-family: var(--font-playfair);
|
|
font-size: 1.3rem;
|
|
color: #5d4037;
|
|
margin: 1.2rem 0 0.8rem;
|
|
}
|
|
|
|
.content p {
|
|
margin-bottom: 1.2rem;
|
|
}
|
|
|
|
.content ul {
|
|
margin: 1.5rem 0;
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
.content li {
|
|
margin-bottom: 0.8rem;
|
|
color: var(--color-paragraph);
|
|
}
|
|
|
|
.content strong {
|
|
color: #3e2723;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.content a {
|
|
color: var(--color-paragraph);
|
|
text-decoration: underline;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.content a:hover {
|
|
color: #b08f4a;
|
|
}
|
|
|
|
.content .sec-title {
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.content .mt-4 {
|
|
margin-top: 1.5rem;
|
|
}
|
|
|
|
.content .list-style-two {
|
|
list-style: none;
|
|
padding-left: 0;
|
|
}
|
|
|
|
.content .list-style-two li {
|
|
position: relative;
|
|
padding-left: 2rem;
|
|
}
|
|
|
|
.content .list-style-two li:before {
|
|
content: "✓";
|
|
position: absolute;
|
|
left: 0;
|
|
color: var(--color-paragraph);
|
|
font-weight: bold;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
/* Impressive Blockquote Styling */
|
|
.content blockquote {
|
|
text-align: center;
|
|
background: linear-gradient(135deg, #faf6f0 0%, #f5ede0 100%);
|
|
border-left: 6px solid #c49c5c;
|
|
/* border-right: 6px solid #c49c5c; */
|
|
/* max-width: 800px; */
|
|
margin: 3rem 0px;
|
|
padding: 10px 20px 10px 20px;
|
|
position: relative;
|
|
box-shadow: 0 8px 24px #c49c5c26;
|
|
}
|
|
|
|
.content blockquote p {
|
|
font-family: var(--font-playfair);
|
|
font-size: 1.4rem;
|
|
font-style: italic;
|
|
/* color: #5d4037; */
|
|
line-height: 1.8;
|
|
margin: 0;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.content blockquote cite {
|
|
display: block;
|
|
margin-top: 1.5rem;
|
|
font-family: var(--font-lato);
|
|
font-size: 1rem;
|
|
font-style: normal;
|
|
color: var(--color-paragraph);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.content blockquote cite:before {
|
|
content: "— ";
|
|
}
|
|
|
|
.navigation {
|
|
margin-top: 3rem;
|
|
padding-top: 2rem;
|
|
border-top: 2px solid #e0d5c7;
|
|
}
|
|
|
|
.backButton {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
background: transparent;
|
|
border: 2px solid #b07c4b;
|
|
color: var(--color-paragraph);
|
|
font-family: var(--font-lato);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.3s;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
.backButton:hover {
|
|
background: #c49c5c;
|
|
color: #d3cab3;
|
|
}
|
|
|
|
.errorContainer {
|
|
min-height: 60vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 4rem 2rem;
|
|
}
|
|
|
|
.errorTitle {
|
|
font-family: var(--font-playfair);
|
|
font-size: 3rem;
|
|
color: var(--color-paragraph);
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.backLink {
|
|
color: var(--color-paragraph);
|
|
font-size: 1.2rem;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.heroTitle {
|
|
font-size: 2.5rem;
|
|
}
|
|
|
|
.contentContainer {
|
|
padding: 2rem 1.5rem;
|
|
}
|
|
|
|
.featuredImage {
|
|
height: 300px;
|
|
}
|
|
|
|
.content {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.content h2 {
|
|
font-size: 1.6rem;
|
|
}
|
|
|
|
.content h3 {
|
|
font-size: 1.3rem;
|
|
}
|
|
|
|
.content blockquote {
|
|
padding: 2rem 2rem;
|
|
margin: 2rem auto;
|
|
}
|
|
|
|
.content blockquote p {
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.meta {
|
|
font-size: 0.85rem;
|
|
}
|
|
} |