From d3ec7211d3320a3b5d233b47c022e92e06887be9 Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Fri, 28 Jul 2023 09:19:43 +0700 Subject: [PATCH] tweaking --- assets/css/site.css | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/assets/css/site.css b/assets/css/site.css index 79c5bdd..29a087c 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -100,7 +100,7 @@ section h6 { /* Code block */ code { /* Inline code style */ - @apply rounded p-1 bg-muted text-base font-mono text-sm; + @apply rounded-lg p-1 bg-muted text-base font-mono text-sm drop-shadow-lg; } code > pre { @@ -108,7 +108,7 @@ code > pre { } pre { - @apply overflow-auto p-4 my-5 rounded-lg; + @apply overflow-auto p-4 my-5 rounded-lg drop-shadow-lg;; } pre > code { @@ -159,9 +159,14 @@ pre > code { /* ###################### */ /* # Figure # */ /* ###################### */ -figure, -img { - @apply block mx-auto; +figure { + img { + @apply block mx-auto rounded-lg drop-shadow-lg; + } + + figcaption { + @apply px-5 py-3 text-center text-muted italic; + } } /* ################### */