add: article view
View for blog articles
This commit is contained in:
parent
579491f216
commit
4104477533
15 changed files with 121 additions and 33 deletions
20
app/assets/css/blog/article.css
Normal file
20
app/assets/css/blog/article.css
Normal file
|
@ -0,0 +1,20 @@
|
|||
.BlogArticle {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2rem;
|
||||
|
||||
& .image {
|
||||
width: 100%;
|
||||
height: 450px;
|
||||
border-radius: 1rem;
|
||||
overflow: hidden;
|
||||
background: #000;
|
||||
|
||||
& img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: .8;
|
||||
object-fit: cover;
|
||||
}
|
||||
}
|
||||
}
|
4
app/assets/css/blog/excerpt.css
Normal file
4
app/assets/css/blog/excerpt.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
.Excerpt {
|
||||
font-size: 1.5rem;
|
||||
font-style: italic;
|
||||
}
|
|
@ -1,6 +1,7 @@
|
|||
.BlogOverview {
|
||||
& .category-list {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
list-style: none;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue