diff --git a/app/assets/css/blog/article.css b/app/assets/css/blog/article.css new file mode 100644 index 0000000..c58326e --- /dev/null +++ b/app/assets/css/blog/article.css @@ -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; + } + } +} \ No newline at end of file diff --git a/app/assets/css/blog/excerpt.css b/app/assets/css/blog/excerpt.css new file mode 100644 index 0000000..38ecff1 --- /dev/null +++ b/app/assets/css/blog/excerpt.css @@ -0,0 +1,4 @@ +.Excerpt { + font-size: 1.5rem; + font-style: italic; +} \ No newline at end of file diff --git a/app/assets/css/blog/overview.css b/app/assets/css/blog/overview.css index 6556419..8bdda6b 100644 --- a/app/assets/css/blog/overview.css +++ b/app/assets/css/blog/overview.css @@ -1,6 +1,7 @@ .BlogOverview { & .category-list { display: flex; + justify-content: center; flex-wrap: wrap; gap: 1rem; list-style: none; diff --git a/app/components/Blog/Card.vue b/app/components/Blog/Card.vue index a0a8be5..8f1546d 100644 --- a/app/components/Blog/Card.vue +++ b/app/components/Blog/Card.vue @@ -1,22 +1,23 @@