From 3c535a053404b4740d4923c28537c444a57dbd8d Mon Sep 17 00:00:00 2001 From: Kien Nguyen Date: Fri, 30 Aug 2024 14:55:59 +0700 Subject: [PATCH] format --- assets/css/site.css | 105 ++++++++++++++++++++++---------------------- 1 file changed, 53 insertions(+), 52 deletions(-) diff --git a/assets/css/site.css b/assets/css/site.css index 74d3389..439e3c4 100644 --- a/assets/css/site.css +++ b/assets/css/site.css @@ -232,68 +232,69 @@ figure { content: "]"; } -/* ##################### */ -/* # Links # */ -/* ##################### */ -.content a { - @apply italic p-1 font-medium; -} - -.content a::before, -a::after { - @apply text-muted inline-block no-underline; -} +.content { + /* ##################### */ + /* # Links # */ + /* ##################### */ + & a { + @apply italic p-1 font-medium; + } -.content a::before { - content: "{"; - @apply pr-1; -} + a::before, + a::after { + @apply text-muted inline-block no-underline; + } -.content a::after { - content: "}"; - @apply pl-1; -} + a::before { + content: "{"; + @apply pr-1; + } -.content a:hover { - @apply underline decoration-muted underline-offset-2; -} + a::after { + content: "}"; + @apply pl-1; + } -.content a:visited { - @apply text-muted; -} + a:hover { + @apply underline decoration-muted underline-offset-2; + } -.content ul { - @apply list-disc ml-6; -} + a:visited { + @apply text-muted; + } -.content ol { - @apply list-decimal ml-6; -} + /* ##################### */ + /* Table */ + /* ##################### */ + table { + @apply overflow-auto block my-4 min-w-full divide-y-2 text-sm; + } -/* ##################### */ -/* Table */ -/* ##################### */ -.content table { - @apply overflow-auto block my-4 min-w-full divide-y-2 text-sm; -} + table thead { + @apply ltr:text-left rtl:text-right; + } + table tbody { + @apply divide-y; + } -.content table thead { - @apply ltr:text-left rtl:text-right; -} + tr th { + @apply font-medium; + } -.content table tbody { - @apply divide-y; -} + tr th, + tr td { + @apply px-4 py-2; + } -.content tr th { - @apply font-medium; -} + img { + @apply my-4; + } -.content tr th, -.content tr td { - @apply px-4 py-2; -} + ul { + @apply list-disc ml-6; + } -.content img { - @apply my-4; + ol { + @apply list-decimal ml-6; + } }