wf4/app/assets/css/blog/article.css
webfussel fa44185781 fix: correct filtering numbers, text additions, css adaptions
Fix a lot of problems with CSS, Text and filter overview
2025-08-19 08:24:56 +02:00

90 lines
No EOL
1.5 KiB
CSS

.BlogArticle {
display: flex;
flex-direction: column;
align-items: center;
gap: 2rem;
& .meta {
display: flex;
gap: 1rem;
align-items: center;
}
& .article-content {
background: var(--color-black);
border-radius: 1rem;
max-width: 1000px;
}
& .article-text {
padding: 2rem;
}
& header {
padding: 2rem 2rem 0;
}
& h1 {
font-size: 3rem;
display: flex;
flex-direction: column;
& small {
font-size: 1.5rem;
font-style: italic;
}
}
& h2 {
font-size: 2rem;
font-weight: lighter;
margin-top: 2rem;
margin-bottom: 1rem;
padding-top: 1rem;
padding-bottom: 1rem;
border-top: 1px solid var(--color-white-transparent);
border-bottom: 1px solid var(--color-white-transparent);
}
& .image {
width: 100%;
height: 450px;
border-radius: 1rem 1rem 0 0;
overflow: hidden;
background: #000;
& img {
width: 100%;
height: 100%;
opacity: .8;
object-fit: cover;
object-position: center;
}
}
& ul, & ol,
& p {
font-size: 1.2rem;
margin-bottom: .5rem;
}
}
@media (width <= 500px) {
.BlogArticle {
& h1 {
font-size: 2rem;
& small {
font-size: 1.2rem;
}
}
& h2 {
font-size: 1.5rem;
}
& p {
font-size: 1rem;
}
}
}