Add first post for monday, add external posts from other authors, add components for internal and external links
62 lines
No EOL
1 KiB
CSS
62 lines
No EOL
1 KiB
CSS
.BlogArticle {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2rem;
|
|
|
|
& .meta {
|
|
display: flex;
|
|
gap: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
& .article-content {
|
|
background: var(--color-black);
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
& .article-text {
|
|
padding: 2rem;
|
|
}
|
|
|
|
& header {
|
|
padding: 2rem 2rem 0;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
& small {
|
|
font-size: 1.2rem;
|
|
font-style: italic;
|
|
}
|
|
}
|
|
|
|
h2 {
|
|
font-size: 1.5rem;
|
|
font-weight: lighter;
|
|
margin-top: 2rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
& .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;
|
|
}
|
|
}
|
|
|
|
& p {
|
|
margin-bottom: .5rem;
|
|
}
|
|
} |