From daa596fa61198853bc1e39c0028c87fd8197389e Mon Sep 17 00:00:00 2001 From: Antoine Date: Mon, 12 May 2025 16:49:29 +0200 Subject: [PATCH] STYLE Introducing styles --- resources/css/components/content-meta.css | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 resources/css/components/content-meta.css diff --git a/resources/css/components/content-meta.css b/resources/css/components/content-meta.css new file mode 100644 index 0000000..ec9c0b6 --- /dev/null +++ b/resources/css/components/content-meta.css @@ -0,0 +1,22 @@ +.content-meta { + @apply flex items-end gap-6 mb-10; + + &__type { + @apply font-bold text-xl; + + &:before { + @apply content-[''] mr-2 h-3 w-3 inline-block; + } + &--revue:before { + @apply rounded-full bg-carhop-orange-400; + } + &--article:before { + @apply w-6 bg-carhop-purple-300 -rotate-45; + } + } + + &__reading-time { + line-height: 27px; + /* @apply text-sm text-gray-500; */ + } +}