diff --git a/assets/css/styles.css b/assets/css/styles.css index b411dbd..6ff3dc7 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -1772,6 +1772,11 @@ body:is(.dark *) { color: rgb(255 255 255 / var(--tw-text-opacity)); } +.text-hacking-royal-darker { + --tw-text-opacity: 1; + color: rgb(36 3 101 / var(--tw-text-opacity)); +} + .opacity-20 { opacity: 0.2; } @@ -1976,6 +1981,11 @@ body:is(.dark *) { color: rgb(255 255 255 / var(--tw-text-opacity)); } +.dark\:text-hacking-royal-darker:is(.dark *) { + --tw-text-opacity: 1; + color: rgb(36 3 101 / var(--tw-text-opacity)); +} + .dark\:hover\:text-hacking-violet-lighter:hover:is(.dark *) { --tw-text-opacity: 1; color: rgb(143 110 217 / var(--tw-text-opacity)); diff --git a/layouts/partials/components/post-card.html b/layouts/partials/components/post-card.html new file mode 100644 index 0000000..93f65e8 --- /dev/null +++ b/layouts/partials/components/post-card.html @@ -0,0 +1,56 @@ +{{ $showFeaturedImage := and site.Params.show_featured_image_in_list .Params.featured_image }} +
+ {{ $content | truncate 120 }} +
+ + + +- {{ $content | truncate 120 }} -
- - - -- {{ $content | truncate 120 }} -
- - - -